[collectd] collectd 4.6.1 make fails on FreeBSD

Doug MacEachern doug.maceachern at hyperic.com
Fri Apr 24 21:50:05 CEST 2009


Hi Florian,

On Apr 20, 2009, at 1:10 PM, Florian Forster wrote:
>
>
>>>> client.c: In function 'lcc_putval':
>>>> client.c:752: warning: implicit declaration of function 'isnanf'
>>>> client.c:752: warning: incompatible implicit declaration of built- 
>>>> in
>>> function 'isnanf'
> [...]
>> isnanf is only defined if __BSD_VISIBLE is set (from /usr/include/ 
>> math.h).
>>
>> With collectd 4.6.2 I had to add "#define __BSD_VISIBLE 1" on
>> src/libcollectdclient/client.c and src/bind.c
>
> This sounds like a bug to me: `isnan' is defined in the ANSI C  
> standard
> and should be exported if _ISOC99_SOURCE is set.

Just added 7.2-RC1 to the mix, still has the same issue:
http://hudson.hyperic.com/job/collectd-master-amd64-freebsd-7.2/2/console



More information about the collectd mailing list