[Click] apple

Frederic Van Quickenborne Frederic.VanQuickenborne at intec.ugent.be
Sat Jul 9 08:20:31 EDT 2005


Hi,

I removed the __APPLE__-specific part (#ifdef ...) and initialized the
sa_len variable as a socklen_t, what solved the problem.

But now a new problem occurs:
../elements/userlevel/todevice.cc: In member function `virtual int
ToDevice::initialize(ErrorHandler*)':
../elements/userlevel/todevice.cc:104: error: 'BIOCSETIF' was not declared
in this scope

A little more difficult to solve I think.

Many regards,
Frederic.

> Hi,
>
> in chattersocket.cc I found the following code:
>
> #ifdef __APPLE__ /* macos x ??? */
>     int sa_len;
> #else
>     socklen_t sa_len;
> #endif
>
> It seems that on OSX the sa_len is of type socklen_t instead of the int
> type. So are we just looking for the correct replacement for "__APPLE__"
> in chattersocket.cc?
>
> Kindly regards,
> Frederic.
>
>> Does click work on an apple pc with OS X?
>> I suppose not kernel level. But what about user level?
>>
>> greetz
>> --
>>
>> Koen Segers
>>
>> <koensegers at scarlet.be>
>> <http://eddyvite.dyndns.org>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>
>
> ==================================================================
> Frederic Van Quickenborne
> Department of Information Technology (INTEC)
> Ghent University - IBBT - IMEC
> Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
> tel.: +32 (0)9-33 14974; tel. secr.: +32 (0)9-33 14975
> fax: +32 (0)9-33 14980
> Frederic.VanQuickenborne at intec.ugent.be
> http://www.ibcn.intec.ugent.be
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


==================================================================
Frederic Van Quickenborne
Department of Information Technology (INTEC)
Ghent University - IBBT - IMEC
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel.: +32 (0)9-33 14974; tel. secr.: +32 (0)9-33 14975
fax: +32 (0)9-33 14980
Frederic.VanQuickenborne at intec.ugent.be
http://www.ibcn.intec.ugent.be




More information about the click mailing list