[Xastir] Compile error on OS X

Derrick J Brashear shadow at dementia.org
Sun Jan 16 23:24:23 EST 2005


On Sun, 16 Jan 2005, Jeff Wigal wrote:

> OK, so
>
> [Eleanor-Ois-Computer:~] jeff% find /usr/include -type f -print|xargs
> grep BSD_SOCKLEN_T
> Binary file /usr/include/libc-gcc3.p matches
> /usr/include/sys/socket.h:#ifdef        _BSD_SOCKLEN_T_
> /usr/include/sys/socket.h:typedef       _BSD_SOCKLEN_T_ socklen_t;
> /usr/include/sys/socket.h:#undef        _BSD_SOCKLEN_T_
> [Eleanor-Ois-Computer:~] jeff%
>
> means I need to include /usr/include/sys/socket.h ?

no, you'd include <sys/socket.h>, which already was included, and didn't 
work.

instead, do what i said:

>> Otherwise,
>> CFLAGS="-D_BSD_SOCKLEN_T=int" ./configure ......
>> before you build.




More information about the Xastir mailing list