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.


_______________________________________________
Bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to