Hello there !
I'm trying to compile inetutils 1.5 on AIX 5.3.0.0 using gcc. Configure
run ok, but when I try to compile I'm getting these errors:
# make
make all-recursive
Making all in lib
make all-am
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -D_THREAD_SAFE
-g -O2 -c poll.c
In file included from poll.c:30:
/usr/include/sys/socket.h:87: error: expected identifier or '(' before
numeric constant
/usr/include/sys/socket.h:293: error: two or more data types in
declaration specifiers
/usr/include/sys/socket.h:293: error: two or more data types in
declaration specifiers
/usr/include/sys/socket.h:433: error: expected
specifier-qualifier-list before numeric constant
/usr/include/sys/socket.h:463: error: expected
specifier-qualifier-list before numeric constant
/usr/include/sys/socket.h:534: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:535: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:536: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:537: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:543: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:544: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:545: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:549: error: expected declaration specifiers
or '...' before numeric constant
/usr/include/sys/socket.h:550: error: expected declaration specifiers
or '...' before numeric constant
poll.c: In function 'rpl_poll':
poll.c:108: warning: incompatible implicit declaration of built-in
function 'memset'
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
#
The gcc version is:
# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../gcc-4.2.3/configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++,fortran
--prefix=/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --disable-nls
--enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.2.3
ld:
# ld -V
ld: LD 1.65 (04/06/2005)
Will inetutils compile with gcc on AIX ?
Any information is welcome.
Thanks in advance,
Ronald