[collectd] compile problems on freebsd

Ventsislav Velkov veno<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>evrocom.net
Tue Apr 10 15:30:43 CEST 2007


Hello I have problems compiling collectd 3.11.3 on FreeBSD 6.2 STABLE.

I get  the following error:

 

 

Making all in liboping

if /usr/local/bin/bash ../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H  -I. -I. -I.     -Wall -Werror -I/usr/local/include -MT
utils_dns.lo -MD -MP -MF ".deps/utils_dns.Tpo" -c -o utils_dns.lo
utils_dns.c;  then mv -f ".deps/utils_dns.Tpo" ".deps/utils_dns.Plo"; else
rm -f ".deps/utils_dns.Tpo"; exit 1; fi

 gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -I/usr/local/include -MT
utils_dns.lo -MD -MP -MF .deps/utils_dns.Tpo -c utils_dns.c  -fPIC -DPIC -o
.libs/utils_dns.o

In file included from utils_dns.c:58:

/usr/include/net/if_arp.h:88: error: field `arp_pa' has incomplete type

/usr/include/net/if_arp.h:89: error: field `arp_ha' has incomplete type

In file included from utils_dns.c:61:

/usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type

/usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type

/usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type

/usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type

/usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type

/usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type

/usr/include/net/if.h:368: error: field `addr' has incomplete type

/usr/include/net/if.h:369: error: field `dstaddr' has incomplete type

*** Error code 1

 

Stop in /root/collectd-3.11.3/src.

*** Error code 1

 

Stop in /root/collectd-3.11.3/src.

*** Error code 1

 

Stop in /root/collectd-3.11.3/src.

*** Error code 1

 

Stop in /root/collectd-3.11.3.

 

 

Will appreciate any advice! Thanks!

 

 

Best regards,

Veno

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20070410/8bb4de28/attachment.htm


More information about the collectd mailing list