bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Compile problems on Solaris


From: Johannes Fleischer
Subject: [bug-inetutils] Compile problems on Solaris
Date: Thu, 01 Dec 2005 12:05:26 +0100

Hello,

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).

When i run configure, the following messages appear:

[ ... ]
checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h:     check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: see the Autoconf documentation
configure: WARNING: netinet/ip.h:     section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip.h: in the future, the compiler will take preceden
ce
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/ip.h... yes
checking netinet/ip_icmp.h usability... no
checking netinet/ip_icmp.h presence... yes
configure: WARNING: netinet/ip_icmp.h: present but cannot be compiled
configure: WARNING: netinet/ip_icmp.h:     check for missing prerequisite header
s?
configure: WARNING: netinet/ip_icmp.h: see the Autoconf documentation
configure: WARNING: netinet/ip_icmp.h:     section "Present But Cannot Be Compil
ed"
configure: WARNING: netinet/ip_icmp.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip_icmp.h: in the future, the compiler will take pre
cedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/ip_icmp.h... yes
checking netinet/ip_var.h usability... no
checking netinet/ip_var.h presence... yes
configure: WARNING: netinet/ip_var.h: present but cannot be compiled
configure: WARNING: netinet/ip_var.h:     check for missing prerequisite headers
?
configure: WARNING: netinet/ip_var.h: see the Autoconf documentation
configure: WARNING: netinet/ip_var.h:     section "Present But Cannot Be Compile
d"
configure: WARNING: netinet/ip_var.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip_var.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/ip_var.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/tty.h usability... yes
checking sys/tty.h presence... yes
checking for sys/tty.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/ptyvar.h usability... no
checking sys/ptyvar.h presence... yes
configure: WARNING: sys/ptyvar.h: present but cannot be compiled
configure: WARNING: sys/ptyvar.h:     check for missing prerequisite headers?
configure: WARNING: sys/ptyvar.h: see the Autoconf documentation
configure: WARNING: sys/ptyvar.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/ptyvar.h: proceeding with the preprocessor's result
configure: WARNING: sys/ptyvar.h: in the future, the compiler will take preceden
ce
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/ptyvar.h... yes
checking sys/msgbuf.h usability... no
checking sys/msgbuf.h presence... no
checking for sys/msgbuf.h... no
checking sys/filio.h usability... yes
[ ... ]

then, when i run make, it exits with the following errors:

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
gmake[2]: *** [localhost.o] Error 1
gmake[2]: Leaving directory `/tmp/inetutils/libinetutils'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/inetutils'
gmake: *** [all] Error 2


Thanks,

Johannes Fleischer





reply via email to

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