Compilation problem on Solaris 8 SPARC

[email protected] Wed, 28 Dec 2005 18:56:23 +0100
Newsgroups gmane.linux.suse.proxy-suite
Message-ID <[email protected]>
Hello,

I've problems during compilation on Solaris 8 (Sparc Station).

Doing 'gmake' always gives me the following error messages :

--------------------------------------------------------
gcc -g -O2 -W -Wall -Dlint -I. -I.. -c com-socket.c
com-socket.c:97: warning: `FIONREAD' redefined
/usr/include/sys/filio.h:49: warning: this is the location of the previous
definition
In file included from /usr/include/netinet/ip_compat.h:102,
                 from com-socket.c:112:
/usr/include/inet/ip.h:1286: parse error before `ip6_hbh_t'
/usr/include/inet/ip.h:1286: warning: no semicolon at end of struct or union
/usr/include/inet/ip.h:1287: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1288: parse error before `*'
/usr/include/inet/ip.h:1288: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1289: parse error before `*'
/usr/include/inet/ip.h:1289: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1291: parse error before `}'
gmake[1]: *** [libcommon.a(com-socket.o)] Error 1
gmake[1]: Leaving directory `/usr/share/src/proxy-suite-1.9.2.4.FredB-V4/common'
gmake: *** [all] Error 1
-----------------------------------------------------------


Doing "./configure --enable-warnings" gives me the following warnings messages :
------------------------------------------------------------
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h:     check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h:     section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
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
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING: netinet/ip_fil.h: present but cannot be compiled
configure: WARNING: netinet/ip_fil.h:     check for missing prerequisite
headers?
configure: WARNING: netinet/ip_fil.h: see the Autoconf documentation
configure: WARNING: netinet/ip_fil.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: netinet/ip_fil.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip_fil.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING: netinet/ip_nat.h: present but cannot be compiled
configure: WARNING: netinet/ip_nat.h:     check for missing prerequisite
headers?
configure: WARNING: netinet/ip_nat.h: see the Autoconf documentation
configure: WARNING: netinet/ip_nat.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: netinet/ip_nat.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip_nat.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING: netinet/ip_compat.h: present but cannot be compiled
configure: WARNING: netinet/ip_compat.h:     check for missing prerequisite
headers?
configure: WARNING: netinet/ip_compat.h: see the Autoconf documentation
configure: WARNING: netinet/ip_compat.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: netinet/ip_compat.h: proceeding with the preprocessor's
result
configure: WARNING: netinet/ip_compat.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
------------------------------------------------------------------------

Any idea how I can fix this?

regards,

Frank.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]