Re: New Gnome-libs compile error



On 7 Feb 1999, Miguel de Icaza wrote:

> 
> > Same here on FreeBSD 4.0-CURRENT...
> > 
> > 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?
> 
> Miguel.
> -- 
> miguel@gnu.org
> 
> 

That's true (and is fixed in FreeBSD ports collection). FreeBSD needs
different order of some headers:

*** configure.in.orig	Mon Feb  8 01:43:48 1999
--- configure.in	Mon Feb  8 01:44:10 1999
***************
*** 126,133 ****
  AC_MSG_CHECKING([for Unix98 sendmsg])
  AC_TRY_LINK([
  #include <stdio.h>
- #include <sys/socket.h>
  #include <sys/types.h>
  ],[
  struct msghdr hdr;
  hdr.msg_control = NULL;
--- 126,133 ----
  AC_MSG_CHECKING([for Unix98 sendmsg])
  AC_TRY_LINK([
  #include <stdio.h>
  #include <sys/types.h>
+ #include <sys/socket.h>
  ],[
  struct msghdr hdr;
  hdr.msg_control = NULL;


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]