Hi problem with ERROR: Undefined symbol: ._isnan

The Rising Sun diwakar211 at gmail.com
Thu Dec 11 17:33:23 CET 2008


Hi even i too got the same error message ""Undefined symbol: ._isnan""

i saw below mail while googling, can help me out how to handle this error


http://www.hswn.dk/hobbiton/2008/03/msg00056.html


On Thu, Mar 06, 2008 at 13:44 Henrik wrote :
	>>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




my file contails the LIBS export line as like this

LIBS=		-lrscg -lscg $(LIB_VOLMGT) -lparanoia -ldeflt -lschily
$(SCSILIB) $(EXTRALIB) $(LIB_SOCKET)


I have chaged it to

LIBS= -lm -lrscg -lscg $(LIB_VOLMGT) -lparanoia -ldeflt -lschily $(SCSILIB)
$(EXTRALIB) $(LIB_SOCKET)


but still i canot rectify the problem

Thanks in advance
-- 
Thanks & Regards,

DIVAKAR ADARI,
IIT KHARAGPUR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20081211/5623dbcc/attachment.html>


More information about the Xymon mailing list