[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Today's snapshot failed to compile on aix 5.3
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Today's snapshot failed to compile on aix 5.3
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Thu, 6 Mar 2008 14:43:52 +0100
- References: <5D9CB2D13D0B004FA00E70149B166A916A9CC4 (at) trn2622.natpower.co.uk>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
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