Re: New Gnome-libs compile error



On Mon, 8 Feb 1999, Jeroen Ruigrok/Asmodai wrote:

> On 07-Feb-99 Vladimir Kushnir wrote:
> > On 7 Feb 1999, Miguel de Icaza wrote:
> 
> >> > Where should dat.* be defined? Some preliminary scans haven't reveiled
> >> > to me where dat.* should come from.
> >> 
> >> The I_RECVFD hinted me to think that the configure process is not
> >> detecting sendmsg on BSD.  Can you look in your config.log and see the 
> >> configure output to figure out why the test for sendmsg is failing?
> 
> > That's true (and is fixed in FreeBSD ports collection). FreeBSD needs
> > different order of some headers:
> 
> >   #include <stdio.h>
> > - #include <sys/socket.h>
> >   #include <sys/types.h>
> 
> >   #include <stdio.h>
> >   #include <sys/types.h>
> > + #include <sys/socket.h>
> 
> OK, I'll test this and let ye know how it went.
> 
> But that's the answer to Miguel's question as well Vladimir?
> 

Yes, of cource: that test on sendmsg fails with:

In file included from configure:6253:
/usr/include/sys/socket.h:139: parse error before `u_char'
/usr/include/sys/socket.h:139: warning: no semicolon at end of struct or
union
/usr/include/sys/socket.h:140: warning: data definition has no type or
storage c
lass
/usr/include/sys/socket.h:142: parse error before `}'...

and so on (and passes when headers rearranged).

BTW (a bit off topic, but still...), wouldn't it make sence include
LIBS='-L/usr/local/lib' 
flag someplace early in configuration scripts?  Under FreeBSD, for
one, /usr/local/lib isn't on the compiler's default search path.

> ---
> Jeroen Ruigrok van der Werven        join #FreeBSD on Undernet
> asmodai(at)wxs.nl       Time is merely a residue of Reality...
> Network/Security Specialist      <http://home.wxs.nl/~asmodai>
> *BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>
> 
> 

Regards,
Vladimir

===========================|=======================
 Vladimir Kushnir   	   |	
 kushn@mail.kar.net, 	   |	Powered by FreeBSD
 kushnir@ap3.bitp.kiev.ua  |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]