[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build failure on sparc64-sun-solaris2.9
From: |
Aleksandar Milivojevic |
Subject: |
build failure on sparc64-sun-solaris2.9 |
Date: |
Thu, 05 Jan 2006 15:30:12 -0600 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.3) |
Hi,
I was attempting to build 64-bit coreutils on Solaris 2.9 system using gcc
4.0.2. I got this compilation error:
if gcc -DHAVE_CONFIG_H -DLIBDIR=\"/opt/pbl/lib/sparcv9\" -I. -I../../lib -I..
-I.. -I../../lib -g -O2 -MT canon-host.o -MD -MP -MF ".deps/canon-host.Tpo"
-c -o canon-host.o ../../lib/canon-host.c; \
then mv -f ".deps/canon-host.Tpo" ".deps/canon-host.Po"; else rm -f
".deps/canon-host.Tpo"; exit 1; fi
In file included from ../../lib/getaddrinfo.h:28,
from ../../lib/canon-host.c:27:
/usr/include/sys/socket.h:61: error: two or more data types in declaration
specifiers
Looking at the sys/socket.h, the line 61 reads:
typedef uint32_t socklen_t;
Looking at the sys/int_types.h (which is included by sys/socket.h via
sys/types.h), the uint32_t seems to be defined correctly:
typedef unsigned int uint32_t;
(both in system one, and the "fixincludes" one).
Hmph... Strange. The uint32_t should be available on Solaris as soon as
sys/socet.h is included (wrote short test program to confirm this). Any idea
what is going on here?
Regards,
Alex
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
- build failure on sparc64-sun-solaris2.9,
Aleksandar Milivojevic <=