[collectd] collectd 5.1.0/error: implicit declaration of function 'isnan'

giovanni.v iax at keybits.org
Wed Jun 27 11:56:49 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 --------------
A non-text attachment was scrubbed...
Name: collectd-build-error.log.gz
Type: application/gzip
Size: 9277 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120627/d95ef39b/attachment.bin>


More information about the collectd mailing list