[Xastir] Compile error on OS X
Jeff Wigal
jeffw at wigaldesign.com
Sun Jan 16 15:07:10 EST 2005
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 ?
> -----Original Message-----
> From: Derrick Brashear [mailto:shadow at dementia.org]
> Sent: Sunday, January 16, 2005 11:27 AM
> To: Jeff Wigal
> Cc: Xastir Mailing List
> Subject: Re: [Xastir] Compile error on OS X
>
>
> You omitted the list on the reply.
>
> On Jan 15, 2005, at 5:22 PM, Jeff Wigal wrote:
>
> > Sorry about the delay. Here's what I got:
> >
> > [Eleanor-Ois-Computer:~] jeff% grep -i socklen_t /usr/include/sys/*
> > /usr/include/machine/*
> > /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_
> >
> Very special. find /usr/include -type f -print|xargs grep
> BSD_SOCKLEN_T
>
> if you find another match, you probably need to include that
> file (for
> me it's in machine/ansi.h)
>
> Otherwise,
> CFLAGS="-D_BSD_SOCKLEN_T=int" ./configure ......
> before you build.
>
More information about the Xastir
mailing list