1 Jul 2007 10:16
Re: collectd-4.x on OpenBSD build problem
Hi Eric, On Mon, Jun 25, 2007 at 01:11:05PM +0200, eric fauser wrote: > if u like, i can give you an login to the build host running on > openbsd4.1 thanks for the login :) I was able to resolve almost all problems: > > > utils_dns.c:700: error: `ns_t_a' undeclared (first use in this > > > function) > > it looks like the same problem as above; openbsd does not have `enum > ns_type' in namser.h > it has an old structure like `T_foo` and only a few return_codes (rcode_str) Apparently the <arpa/nameser.h> file is somehow connected with BIND. There's a define that tells you about the `interface' that's implemented in the header file. On my workstation that's #define __NAMESER 19991006 which is accompanied by arpa/nameser_compat.h, which defines the ``(DEAD) interface version stamp.'' #define __BIND 19950621 On your OpenBSD 4.1 box the version is defined as #define __BIND 19960801 By the way: The version of Bind is 9.3.4 on both hosts, so this isn't related. Based on these versions I've written a version of src/utils_dns.c which(Continue reading)
RSS Feed