bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] Compile problems on Solaris


From: ams
Subject: Re: [bug-inetutils] Compile problems on Solaris
Date: Thu, 01 Dec 2005 17:48:43 +0100

   i tried to compile the inetutils on Solaris 8 (i used the version
   from cvs, as the 1.4.2 package did not compile also).

Thank you for the bug report, you can ignore the warnings for now.  So
to the core of the problem:

   gcc -DHAVE_CONFIG_H -I. -I. -I..  -DPATH_TTY_PFX=\"/dev/\" 
-DPATH_DEVNULL=\"/dev
   /null\"  -I../headers -I../lib    -g -O2 -c localhost.c
   In file included from localhost.c:35:
   /usr/include/sys/socket.h:52: error: two or more data types in declaration 
speci
   fiers
   /usr/include/sys/socket.h:52: error: two or more data types in declaration 
speci
   fiers
   /usr/include/sys/socket.h:61: error: syntax error before numeric constant
   In file included from localhost.c:35:
   /usr/include/sys/socket.h:293: error: syntax error before numeric constant
   /usr/include/sys/socket.h:305: error: syntax error before '}' token
   /usr/include/sys/socket.h:371: error: syntax error before numeric constant
   /usr/include/sys/socket.h:374: error: syntax error before '}' token
   /usr/include/sys/socket.h:443: error: syntax error before numeric constant
   /usr/include/sys/socket.h:444: error: syntax error before numeric constant
   /usr/include/sys/socket.h:457: error: syntax error before numeric constant
   /usr/include/sys/socket.h:458: error: syntax error before numeric constant
   In file included from localhost.c:37:
   /usr/include/netdb.h:308: error: syntax error before numeric constant

Not knowing what socket.h looks like, it seems that socket.h is simply
broken on Solaris, maybe it uses non-standard C features.  What
version of gcc did you use?  Maybe it is due to a old version of gcc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]