Hi,
I tried to compile ganglia for an HPUX, here is the errors I met :
cc: "gstat.c", line 71: warning 604: Pointers are not assignment-compatible.
cc: "gstat.c", line 71: warning 563: Argument #1 is not the correct type.
cc: "gstat.c", line 85: warning 604: Pointers are not assignment-compatible.
cc: "gstat.c", line 85: warning 563: Argument #1 is not the correct type.
source='cmdline.c' object='cmdline.o' libtool=no \
depfile='.deps/cmdline.Po' tmpdepfile='.deps/cmdline.TPo' \
depmode=hp /bin/sh ../../config/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -g -Wall
-D_HPUX_SOURCE -c `test -f 'cmdline.c' || echo './'`cmdline.c
/bin/sh ../../libtool --mode=link cc -I../../lib -g -Wall
-D_HPUX_SOURCE -o gstat gstat.o cmdline.o ../../lib/.libs/libganglia.a
../../lib/libgetopthelper.a -lpthread -lnsl
mkdir .libs
cc -I../../lib -g -Wall -D_HPUX_SOURCE -o gstat gstat.o cmdline.o
../../lib/.libs/libganglia.a ../../lib/libgetopthelper.a -lpthread -lnsl
source='gmond.c' object='gmond.o' libtool=no \
depfile='.deps/gmond.Po' tmpdepfile='.deps/gmond.TPo' \
depmode=hp /bin/sh ../config/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib/dnet -g -Wall
-D_HPUX_SOURCE -c `test -f 'gmond.c' || echo './'`gmond.c
cc: "../lib/dnet/ip.h", line 273: warning 42: The "PACK" pragma needs an
integer argument.
cc: "../lib/dnet/ip.h", line 352: warning 42: The "PACK" pragma needs an
integer argument.
cc: "../lib/dnet/tcp.h", line 120: warning 42: The "PACK" pragma needs an
integer argument.
cc: "../lib/dnet/tcp.h", line 142: warning 42: The "PACK" pragma needs an
integer argument.
source='monitor.c' object='monitor.o' libtool=no \
depfile='.deps/monitor.Po' tmpdepfile='.deps/monitor.TPo' \
depmode=hp /bin/sh ../config/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib/dnet -g -Wall
-D_HPUX_SOURCE -c `test -f 'monitor.c' || echo './'`monitor.c
source='server.c' object='server.o' libtool=no \
depfile='.deps/server.Po' tmpdepfile='.deps/server.TPo' \
depmode=hp /bin/sh ../config/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib/dnet -g -Wall
-D_HPUX_SOURCE -c `test -f 'server.c' || echo './'`server.c
cc: "server.c", line 31: error 1000: Unexpected symbol: "int".
cc: "server.c", line 145: warning 604: Pointers are not assignment-compatible.
cc: "server.c", line 145: warning 563: Argument #3 is not the correct type.
cc: "server.c", line 180: warning 604: Pointers are not assignment-compatible.
cc: "server.c", line 180: warning 563: Argument #3 is not the correct type.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Is anyone got an idea ?????
-----------------------------------------------
Yohann Desquerre
"Plateforme ANPE.FR"
Supervision
S/Direction de la production
Gestion des Ressources
01-49-31-82-03
-----------------------------------------------