Aleksandar Milivojevic <[EMAIL PROTECTED]> writes:

> 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

Shouldn't you be using "gcc -m64" if you want to build a 64-bit version?
(Or perhaps you have a special gcc that defaults to 64-bit?)

I tried to reproduce your problem with coreutils 5.93 on a Solaris 9
sparc host with GCC 4.0.2, using "configure CC='gcc -m64'", and didn't
have that problem.

Perhaps you're using an older coreutils release?  If so, please upgrade.


> Looking at the sys/socket.h, the line 61 reads:
>
> typedef uint32_t        socklen_t;

Most likely your "configure" went wrong, and put a "#define socklen_t
int" into config.h.  If so, you should investigate why.  But first,
upgrade to 5.93.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to