[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Solaris 10 Install error during Make
On Fri, 23 May 2008, Paul Stephens wrote:
[sol10, gcc 3.4.6, and]
os-ip.c:522: error: `AF_INET' undeclared (first use in this function)
Based off my Sol9 systems, it looks like you're missing sys/socket.h. Did
autoconf properly pick up HAVE_SYS_SOCKET_H?
My gut feeling is that autoconf is OK, but the gcc header conversion
process is somehow wrong (perhaps it was performed on an incompatible
system, for example--did you build gcc locally?) With that in mind my
first move would be to use a different toolchain -- either a different gcc
or you can get Sun Studio from sun.com.