[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error compiling on AIX 5.2
- To: <hobbit (at) hswn.dk>
- Subject: Error compiling on AIX 5.2
- From: "Hubbard, Greg L" <greg.hubbard (at) eds.com>
- Date: Fri, 10 Feb 2006 12:43:15 -0600
- Thread-index: AcYucdo3dOuheO2dTP2Ulz0NyGrBdA==
- Thread-topic: Error compiling on AIX 5.2
Hobbit folk:
I am trying to compile the client on AIX 5.2 and I get this...
# make
CC="/usr/local/bin/gcc" CFLAGS="-O -D_REENTRANT -DAIX -I.
-I`pwd`/include -DCLIENTONLY=1" OSDEF="-DAIX" RPATHOPT="" PCREINCDIR=""
SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/opt/hobbit"
BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="199.228.93.24" BBHOSTOS="" make -C
lib client
make[1]: Entering directory `/opt/hobbit/source/hobbit-4.1.2p1/lib'
/usr/local/bin/gcc -O -D_REENTRANT -DAIX -I.
-I/opt/hobbit/source/hobbit-4.1.2p1/include -DCLIENTONLY=1 -I.
-I../include -c -o sendmsg.o sendmsg.c
In file included from
/opt/hobbit/source/hobbit-4.1.2p1/include/libbbgen.h:24,
from sendmsg.c:35:
/opt/hobbit/source/hobbit-4.1.2p1/lib/osdefs.h:21: error: conflicting
types for `socklen_t'
/usr/include/sys/socket.h:80: error: previous declaration of `socklen_t'
sendmsg.c: In function `sendtobbd':
sendmsg.c:322: warning: passing arg 5 of `getsockopt' from incompatible
pointer type
make[1]: *** [sendmsg.o] Error 1
make[1]: Leaving directory `/opt/hobbit/source/hobbit-4.1.2p1/lib'
make: *** [lib-client] Error 2
Is there a "cheap fix" for this?
GLH