4.1.2p1 Client Compile Problems on HP-UX 11.0
Adam Scheblein
adam.scheblein at marquette.edu
Fri Nov 11 18:22:56 CET 2005
Greetings,
When compiling the newest snapshot on HP-UX 11.0 with gcc, i get the
following error:
CC="/usr/local/bin/gcc" CFLAGS="-g -O -D_REENTRANT -DHPUX -I.
-I`pwd`/include -DCLIENTONLY=1" OSDEF="-DHPUX" RPATHOPT="" PCREINCDIR=""
SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lnsl"
BBTOPDIR="/home/hobbit" BBLOGDIR="" BBHOSTNAME=""
BBHOSTIP="134.48.22.240" BBHOSTOS="" LOCALCLIENT="no"
/usr/local/bin/gmake -C lib client
gmake[1]: Entering directory `/home/hobbit/uploaded/snapshot/lib'
/usr/local/bin/gcc -g -O -D_REENTRANT -DHPUX -I.
-I/home/hobbit/uploaded/snapshot/include -DCLIENTONLY=1 -I.
-I../include -c -o osdefs.o osdefs.c
In file included from osdefs.c:16:
osdefs.h:25: error: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2/include/stdio.h:493:
error: previous declaration of `snprintf'
gmake[1]: *** [osdefs.o] Error 1
gmake[1]: Leaving directory `/home/hobbit/uploaded/snapshot/lib'
gmake: *** [lib-client] Error 2
Any ideas?
thanks,
Adam
More information about the Xymon
mailing list