compile error building 9.9.3-P2

Jack Tavares j.tavares at F5.com
Thu Sep 12 18:24:08 UTC 2013


I am attempting to build 9.9.3-P2 in a chroot-ed 32 bit build environment
and I get an redefinition error. 

Has anyone seen this and have a suggestion for how to fix this? 
my configure options are
./configure --with-openssl=<path> --enable-fixed-rrset --enable-shared --enable-threads --enable-ipv6 --with-libtool --with-libxml2=no --with-pic --with-gssapi=<path> STD_CDEFINES=-DDIG_SIGCHASE=1 


Error message:
In file included from code.h:70,
                 from rdata.c:334:
rdata/in_1/naptr_35.c:37: error: redefinition of 'txt_valid_regex'
rdata/generic/naptr_35.c:36: error: previous definition of 'txt_valid_regex' was here
rdata.c: In function 'dns_rdata_compare':
rdata.c:416: error: duplicate case value
rdata.c:416: error: previously used here
rdata.c: In function 'dns_rdata_casecompare':
rdata.c:447: error: duplicate case value
rdata.c:447: error: previously used here
rdata.c: In function 'dns_rdata_fromwire':
rdata.c:524: error: duplicate case value
rdata.c:524: error: previously used here
rdata.c: In function 'dns_rdata_towire':
rdata.c:586: error: duplicate case value
rdata.c:586: error: previously used here
rdata.c: In function 'dns_rdata_fromtext':
rdata.c:741: error: duplicate case value
rdata.c:741: error: previously used here
rdata.c: In function 'rdata_totext':
rdata.c:855: error: duplicate case value
rdata.c:855: error: previously used here
rdata.c: In function 'dns_rdata_fromstruct':
rdata.c:929: error: duplicate case value
rdata.c:929: error: previously used here
rdata.c: In function 'dns_rdata_tostruct':
rdata.c:956: error: duplicate case value
rdata.c:956: error: previously used here
rdata.c: In function 'dns_rdata_freestruct':
rdata.c:969: error: duplicate case value
rdata.c:969: error: previously used here
rdata.c: In function 'dns_rdata_additionaldata':
rdata.c:988: error: duplicate case value
rdata.c:988: error: previously used here
rdata.c: In function 'dns_rdata_digest':
rdata.c:1011: error: duplicate case value
rdata.c:1011: error: previously used here
rdata.c: In function 'dns_rdata_checkowner':
rdata.c:1027: error: duplicate case value
rdata.c:1027: error: previously used here
rdata.c: In function 'dns_rdata_checknames':
rdata.c:1036: error: duplicate case value
rdata.c:1036: error: previously used here
make[2]: *** [rdata.lo] Error 1
make[2]: Leaving directory `/local/tavares/perforce/tmos-dns-bugs-bind/ports/bind/build/lib/dns'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/local/tavares/perforce/tmos-dns-bugs-bind/ports/bind/build/lib'
make: *** [subdirs] Error 1



--
Jack Tavares


More information about the bind-users mailing list