[collectd] collectd-4.x on OpenBSD build problem

e f ef_cd at apa.at
Fri Jun 22 16:29:34 CEST 2007


hi

since version 3.10.4 i can't build a newer version of collectd for OpenBSD.

a build of the latest version-4.0.3 on OpenBSD-4.1 shows following error:

===
..
 gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Werror -g -O2 -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:67:
/usr/include/net/if_ppp.h:97: error: field `mode' has incomplete type
/usr/include/net/if_ppp.h:109: error: field `stats' has incomplete type
/usr/include/net/if_ppp.h:114: error: field `stats' has incomplete type
utils_dns.c: In function `handle_ppp':
utils_dns.c:541: error: `PPP_IP' undeclared (first use in this function)
utils_dns.c:541: error: (Each undeclared identifier is reported only once
utils_dns.c:541: error: for each function it appears in.)
utils_dns.c: In function `qtype_str':
utils_dns.c:700: error: `ns_t_a' undeclared (first use in this function)
utils_dns.c:701: error: `ns_t_ns' undeclared (first use in this function)
utils_dns.c:702: error: `ns_t_md' undeclared (first use in this function)
utils_dns.c:703: error: `ns_t_mf' undeclared (first use in this function)
utils_dns.c:704: error: `ns_t_cname' undeclared (first use in this 
function) ..
===


there are also some configure warnings,...

===
...
checking arpa/nameser.h usability... yes checking arpa/nameser.h 
presence... yes checking for arpa/nameser.h... yes checking 
arpa/nameser_compat.h usability... no checking arpa/nameser_compat.h 
presence... no checking for arpa/nameser_compat.h... no checking for 
net/if_arp.h... no checking net/if_ppp.h usability... no checking 
net/if_ppp.h presence... yes
configure: WARNING: net/if_ppp.h: present but cannot be compiled
configure: WARNING: net/if_ppp.h:     check for missing prerequisite 
headers?
configure: WARNING: net/if_ppp.h: see the Autoconf documentation
configure: WARNING: net/if_ppp.h:     section "Present But Cannot Be 
Compiled"
configure: WARNING: net/if_ppp.h: proceeding with the preprocessor's result
configure: WARNING: net/if_ppp.h: in the future, the compiler will take 
precedence checking for net/if_ppp.h... yes checking for 
netinet/if_ether.h... yes ...
===

does anyone have a hint ;)

best regards
eric



More information about the collectd mailing list