Subject: Problem applying Security Advisory 2007-003 fix
To: None <netbsd-help@netbsd.org>
From: Jeff_W <jgw@tx0.org>
List: netbsd-help
Date: 03/11/2007 10:03:14
Hello,
I'm having a problem with re-building bind per the recent Security Advisory.
The build fails with the following:
...
# compile libdns/resolver.o
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-trad
itional -Wno-uninitialized -Werror -I/usr/src/usr.sbin/bind/include -I/usr/src/dist/bind/lib
/dns/include -I/usr/src/dist/bind/lib/dns/unix/include -I/usr/src/dist/bind/lib/isc/include -I/u
sr/src/dist/bind/lib/isc/unix/include -I/usr/src/dist/bind/lib/bind9/include -I/usr/src/dist/bi
nd/lib/isccfg/include -I/usr/src/dist/bind/lib/isccc/include -I/usr/src/dist/bind/lib/lwres/inc
lude -I/usr/src/dist/bind/lib/lwres/unix/include -I/usr/src/dist/bind/lib/dns/sec/dst/include -DNS_LOCALSTATEDIR=\"/var\" -DNS_SYSCONFDIR=\"/etc\" -DVERSION=\"9.3.2nb1\" -DWANT_IPV6 -DLIBINT
ERFACE=20 -DLIBREVISION=0 -DLIBAGE=0 -DISC_PLATFORM_USETHREADS -I/usr/src/dist/bind/lib/isc/pthr
eads/include -I/usr/src/usr.sbin/bind/libdns/../include/dns -I/usr/src/dist/bind/lib/dns -c
/usr/src/dist/bind/lib/dns/resolver.c -o resolver.o.tmp
/usr/src/dist/bind/lib/dns/resolver.c: In function `fctx_create':/usr/src/dist/bind/lib/dns/resolver.c:2805: warning: implicit declaration of function `dns_fwdtable_find2'
*** Error code 1
Stop.
make: stopped in /usr/src/usr.sbin/bind/libdns
*** Error code 1
Stop.
make: stopped in /usr/src/usr.sbin/bind/libdns
*** Error code 1
Stop.
make: stopped in /usr/src/usr.sbin/bind
--
I'm using the 3-0 branch on i386. Not being much of a programmer I had to look up
what "warning: implicit declaration of function" means. Assuming it wasn't a typo
I searched for "dns_fwdtable_find2" in any header file under /usr/src/dist/bind/
but didn't find any matches, so maybe it is a typo? Anyone else having problems
with this?
Regards,
Jeff