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
In <f6baa8f60812110833oc33efa2v90e08a533fd6599c at mail.gmail.com> "The Rising Sun" <diwakar211 at gmail.com> writes:
Hi even i too got the same error message ""Undefined symbol: ._isnan"" [snip]
I have chaged it to
LIBS= -lm -lrscg -lscg $(LIB_VOLMGT) -lparanoia -ldeflt -lschily $(SCSILIB) $(EXTRALIB) $(LIB_SOCKET)
Try adding the "-lm" to the RRDLIBS setting in the top-level Makefile.
Regards, Henrik
participants (2)
-
diwakar211@gmail.com
-
henrik@hswn.dk