Compile failure on bind-9.11.5
Hello ISC,
I'm trying to build Bind 9.11.5 here on an older system and I'm seeing a compile failure:
colorgcc -I/usr/src/archive/dns/bind -I../.. -I. -I../../lib/dns -Iinclude -I/usr/src/archive/dns/bind/lib/dns/include -I../../lib/dns/include -I/usr/src/archive/dns/bind/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include -D_REENTRANT -DUSE_MD5 -D_GNU_SOURCE -g -O2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c zt.c
In file included from /usr/include/string.h:346,
from /usr/src/archive/dns/bind/lib/isc/include/isc/string.h:26,
from zt.c:23:
/usr/include/bits/string2.h: In function `__mempcpy_small':
/usr/include/bits/string2.h:238: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:242: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:246: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:248: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:252: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:256: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:258: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:262: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:264: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:268: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:270: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:272: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:276: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:278: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:419: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:427: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:432: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:437: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:439: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:444: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h: In function `__stpcpy_small':
/usr/include/bits/string2.h:576: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:580: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:585: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:589: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:594: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:596: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:600: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:602: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:607: warning: pointer of type `void *' used in arithmetic
/usr/include/bits/string2.h:609: warning: pointer of type `void *' used in arithmetic
zt.c: In function `dns_zt_asyncload2':
zt.c:291: parse error before `int'
zt.c:300: `pending' undeclared (first use in this function)
zt.c:300: (Each undeclared identifier is reported only once
zt.c:300: for each function it appears in.)
make[2]: *** [zt.o] Error 1
make[2]: Leaving directory `/usr/src/archive/dns/bind-9.11.5/lib/dns'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/archive/dns/bind-9.11.5/lib'
make: *** [subdirs] Error 1
Please note that I had a different Bind 9.11.2-P1 issue on this machine as described in ISC-Bugs #47015. Maybe this is related?
--David
Edited by Mark Andrews