Bind 8.2.2-p5 Compilation Problems

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Tue Oct 24 21:52:49 UTC 2000


	Are you certain that you actually have BIND 8.2.2-P5 and not a
	earlier version (see src/Version).

	That you haven't mucked around with Makefile.set 
	(CC=-gcc -D_GNU_SOURCE).

	Mark

> I get these two errors in the 'make all' stage of compilation. The first
> deals with eventlib, the second deals with source code located in nslookup.
> In regards to the nslookup, it appears to me that there are ill-defined
> macros or libraries? or are these two errors related? Anyone have any ideas,
> comments, suggestions?
> 
> /usr/bin/gcc  -O -g -I../../port/linux/include -I../../include  -D_REENTRANT
>  -c eventlib.c\
>  -o threaded/eventlib.o
> eventlib.c: In function `__evGetNext':
> eventlib.c:296: structure has no member named `fds_bits'
> eventlib.c:297: structure has no member named `fds_bits'
> eventlib.c:298: structure has no member named `fds_bits'
> make[2]: *** [eventlib.o] Error 1
> make[2]: Leaving directory `/scate/home/esasim/bind8-p2/lib/isc'
> 
> ../../lib/libbind.a(res_send.o): In function `__res_nsend':
> /scate/home/esasim/bind8/lib/resolv/res_send.c:660: undefined reference to
> `__evNowTime'
> /scate/home/esasim/bind8/lib/resolv/res_send.c:661: undefined reference to
> `__evConsTime'
> /scate/home/esasim/bind8/lib/resolv/res_send.c:662: undefined reference to
> `__evAddTime'
> /scate/home/esasim/bind8/lib/resolv/res_send.c:679: undefined reference to
> `__evNowTime'
> /scate/home/esasim/bind8/lib/resolv/res_send.c:680: undefined reference to
> `__evCmpTime'
> /scate/home/esasim/bind8/lib/resolv/res_send.c:681: undefined reference to
> `__evSubTime'
> ../../lib/libbind.a(res_send.o): In function `pselect':
> /scate/home/esasim/bind8/lib/resolv/res_send.c:878: undefined reference to
> `__evTimeVal'
> /scate/home/esasim/bind8/lib/resolv/res_send.c:887: undefined reference to
> `__evTimeSpec'
> ../../lib/libbind.a(res_mkupdate.o): In function `__res_nmkupdate':
> /scate/home/esasim/bind8/lib/resolv/res_mkupdate.c:623: undefined reference
> to `__b64_pton'
> ../../lib/libbind.a(gethostent.o): In function `freehostent':
> /scate/home/esasim/bind8/lib/irs/gethostent.c:426: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:430: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:439: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:444: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:445: undefined reference to
> `__memput'
> ../../lib/libbind.a(gethostent.o):/scate/home/esasim/bind8/lib/irs/gethosten
> t.c:446: more undefined references to `__memput' follow
> ../../lib/libbind.a(gethostent.o): In function `scan_interfaces':
> /scate/home/esasim/bind8/lib/irs/gethostent.c:484: undefined reference to
> `__memget'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:517: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:582: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:587: undefined reference to
> `__memput'
> ../../lib/libbind.a(gethostent.o): In function `copyandmerge':
> /scate/home/esasim/bind8/lib/irs/gethostent.c:637: undefined reference to
> `__memget'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:641: undefined reference to
> `__memget'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:651: undefined reference to
> `__memget'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:672: undefined reference to
> `__memget'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:690: undefined reference to
> `__memget'
> ../../lib/libbind.a(gethostent.o):/scate/home/esasim/bind8/lib/irs/gethosten
> t.c:700: more undefined references to `__memget' follow
> ../../lib/libbind.a(gethostent.o): In function `copyandmerge':
> /scate/home/esasim/bind8/lib/irs/gethostent.c:723: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:726: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:731: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:735: undefined reference to
> `__memput'
> /scate/home/esasim/bind8/lib/irs/gethostent.c:738: undefined reference to
> `__memput'
> ../../lib/libbind.a(irs_data.o):/scate/home/esasim/bind8/lib/irs/irs_data.c:
> 102: more
> make[2]: *** [nslookup] Error 1
> make[2]: Leaving directory `/scate/home/esasim/bind8/bin/nslookup'
> make[1]: *** [nslookup] Error 2
make[1]: Leaving directory `/scate/home/esasim/bind8/bin'
> make: *** [all] Error 2
> 
> 
> --
> Erol Asim
> Computer Science Undergraduate
> University of Western Ontario
> 
> 
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com



More information about the bind-users mailing list