
schneecrash+spf at gmail
Jul 28, 2007, 5:33 PM
Post #1 of 1
(1432 views)
Permalink
|
|
libspf2 make fails at "'NXDOMAIN' undeclared"
|
|
hi, i'm building libspf2 v125 on osx 10.4.10. if i, cd libspf2-1.2.5 glibtoolize -f -c autoreconf -f -i ./configure --prefix=/usr/local/spf2-test make it fails @, ... gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src -g -O2 -Wall -MT spf_dns_rr.lo -MD -MP -MF .deps/spf_dns_rr.Tpo -c spf_dns_rr.c -fno-common -DPIC -o .libs/spf_dns_rr.o spf_dns_rr.c: In function 'SPF_dns_rr_new_nxdomain': spf_dns_rr.c:48: error: 'NXDOMAIN' undeclared (first use in this function) spf_dns_rr.c:48: error: (Each undeclared identifier is reported only once spf_dns_rr.c:48: error: for each function it appears in.) make[4]: *** [spf_dns_rr.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 checking in the os' files, grep NXDOMAIN /usr/include/arpa/* | grep define /usr/include/arpa/nameser8_compat.h:#define NXDOMAIN 3 /* non existent domain */ /usr/include/arpa/nameser_compat.h:#define NXDOMAIN ns_r_nxdomain & assuming you want the default bind9, rather than bind8-compatibility, headers, then adding to > vi configure.ac #ifdef HAVE_ARPA_NAMESER_H # include <arpa/nameser.h> /* DNS HEADER struct */ +++ # include <arpa/nameser_compat.h> #endif ensuring, grep HAVE_ARPA_NAMESER_H config.h #define HAVE_ARPA_NAMESER_H 1 and repeating all, 'make' still fails at, ... gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src -g -O2 -Wall -MT spf_dns_rr.lo -MD -MP -MF .deps/spf_dns_rr.Tpo -c spf_dns_rr.c -fno-common -DPIC -o .libs/spf_dns_rr.o spf_dns_rr.c: In function 'SPF_dns_rr_new_nxdomain': spf_dns_rr.c:48: error: 'NXDOMAIN' undeclared (first use in this function) spf_dns_rr.c:48: error: (Each undeclared identifier is reported only once spf_dns_rr.c:48: error: for each function it appears in.) make[4]: *** [spf_dns_rr.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 clearly, not as simple as i thought. fwiw, on my osx there are three resolver/header options, 1) default installed bind9 2) default installed bind8-compat 3) a standalone bind9 install in /usr/local/bind9 any thoughts/suggestions? thanks! ------------------------------------------- ----------------------------------------------------------------------- To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?member_id=1311533&id_secret=26314407-5585c9 Powered by Listbox: http://www.listbox.com
|