[collectd] collectd 5.1.0/error: implicit declaration of function 'isnan'
giovanni.v
iax at keybits.org
Tue Jun 26 11:53:24 CEST 2012
Hi,
I am trying to compile collectd 5.1.0 on T2 linux, target is x86 (i486)
for an embedded PIII board using uclibc.
Apart from a bunch of directives to disable things I don't need,
because configure fails some tests at cross-compilation stage I added:
--with-fp-layout=nothing
The above directive allowed configuration to exit normally but building
libcollectdclient fails:
cc1: warnings being treated as errors
client.c: In function 'lcc_putval':
client.c:826:7: error: implicit declaration of function 'isnan'
make[4]: *** [client.lo] Error 1
So I tried:
--with-nan-emulation=no
Also tried --with-nan-emulation, --with-nan-emulation=yes, zero... but
no luck.
Doing some research on the net I found some old messages on the bsd
mailing list also speaking about a configure option to disable compiling
the collectd client but I was actually unable to find that option.
Any clue?
Build log attached.
Regards, Giovanni.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: collectd-build-error.log
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120626/f78f3228/attachment-0001.ksh>
More information about the collectd
mailing list