[hobbit] Today's snapshot failed to compile on aix 5.3
Henrik Stoerner
henrik at hswn.dk
Thu Mar 6 14:43:52 CET 2008
On Thu, Mar 06, 2008 at 11:09:30AM -0000, Morris, Chris (NPMID) wrote:
> gmake[1]: Entering directory `/usr/local/snapshot/web'
> gcc -O -D_REENTRANT -DAIX -I. -I/usr/local/snapshot/include
> -I/usr/local/include -o hobbit-perfdata.cgi hobbit-perfdata.o
> ../lib/libhobbit.a -L/usr/lib -lz -L/usr/lib -lpcre
> -L/usr/local/rrdtool-1.2.26/lib -lrrd -L/usr/lib -lpng
> ld: 0711-317 ERROR: Undefined symbol: ._isnan
Could You try changing snapshot/web/Makefile ? Some way into the file
you'll find this bit:
hobbit-perfdata.cgi: $(PERFDATAOBJS) $(LIBOBJS)
$(CC) $(CFLAGS) -o $@ $(RPATHOPT) $(PERFDATAOBJS) $(LIBOBJS) $(HOBBITZLIB) $(PCRELIBS) $(RRDLIBS) $(NETLIBS)
Add "-lm" after the "$(NETLIBS)" and let me know if that helps:
hobbit-perfdata.cgi: $(PERFDATAOBJS) $(LIBOBJS)
$(CC) $(CFLAGS) -o $@ $(RPATHOPT) $(PERFDATAOBJS) $(LIBOBJS) $(HOBBITZLIB) $(PCRELIBS) $(RRDLIBS) $(NETLIBS) -lm
Regards,
Henrik
More information about the Xymon
mailing list