compile error building 9.9.3-P2

Mark Andrews marka at isc.org
Thu Sep 12 22:29:12 UTC 2013


In message <6134BB3286A31D4DB61E57114E8BA7C0C61120B6 at SEAEMBX01.olympus.F5Net.com>, Jack Tavares writes:
> 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 

Remove lib/dns/rdata/in_1/naptr_35.c.  I suspect you have untarred
over a existing source tree and in_1/naptr_35.c moved to
generic/naptr_35.c between the two releases.

Mark

> 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
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list