Error compiling on AIX 5.2
Hubbard, Greg L
greg.hubbard at eds.com
Fri Feb 10 19:43:15 CET 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060210/b8f2b027/attachment.html>
More information about the Xymon
mailing list