Bind 9.3.2 on BSDi 4.1
Mark Andrews
Mark_Andrews at isc.org
Fri Apr 7 01:39:06 UTC 2006
> Tryed to compile Bind 9.3.2 on BSDi 4.1.
> But got the following error
>
> <snip>
> gcc -g -O2 -o named aclconf.o builtin.o client.o config.o control.o
> controlconf.o interfacemgr.o listenlist.o log.o logconf.o main.o notify.o
> query.o server.o sortlist.o tkeyconf.o tsigconf.o update.o xfrout.o
> zoneconf.o lwaddr.o lwresd.o lwdclient.o lwderror.o lwdgabn.o lwdgnba.o
> lwdgrbn.o lwdnoop.o lwsearch.o unix/os.o ../../lib/lwres/liblwres.a
> ../../lib/dns/libdns.a ../../lib/bind9/libbind9.a
> ../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
> ../../lib/isc/libisc.a
> ../../lib/isc/libisc.a(interfaceiter.o): In function
> `isc_interfaceiter_create':
> /home/hans/bind-9.3.2/lib/isc/unix/ifiter_getifaddrs.c:85: undefined
> reference to `freeifaddrs'
> ../../lib/isc/libisc.a(interfaceiter.o): In function `internal_destroy':
> /home/hans/bind-9.3.2/lib/isc/unix/ifiter_getifaddrs.c:171: undefined
> reference to `freeifaddrs'
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> <snip>
>
> Any hints ?
--enable-getifaddrs=no
Your getifaddrs() implemention is not complete. freeifaddrs
frees the memory allocated by getifaddrs().
int
getifaddrs(struct ifaddrs **ifap);
void
freeifaddrs(struct ifaddrs *ifp);
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list