Serious building problem with BIND 8 !!!

Quadri, Jay Jay.Quadri at gmk.cwplc.com
Fri Sep 8 18:44:06 UTC 2000


I installed bind 8.2.3 on my IBM laptop running redhat 6.2.
 To install, go into the src subdirectory (e.g. /usr/src/bind/src, assuming
it was all uncompressed into /usr/src/bind), 
% mkdir bind && cd bind
% tar xvzf ../bind-src.tar.gz
% tar xvzf ../bind-doc.tar.gz
% tar xvzf ../bind-contrib.tar.gz
make clean
make depend
make
#/usr/sbin/ndc stop
make install

to convert your old named.boot file to named.conf do:
named-bootconf < /etc/named.boot > /etc/named.conf

# /usr/sbin/ndc start 


if it still fails check your path:

'DESTBIN=/usr/bin'
'DESTSBIN=/usr/sbin'
'DESTEXEC=/usr/sbin'
'DESTMAN=/usr/share/man'
'DESTHELP=/usr/lib'
'DESTETC=/etc'
'DESTRUN=/etc'

if it still fails reinstall gcc.



-----Original Message-----
From: Greg [mailto:not at provided.net]
Sent: Friday, September 08, 2000 7:18 PM
To: comp-protocols-dns-bind at uunet.uu.net
Subject: Serious building problem with BIND 8 !!!


Hi. I really need help on a problem I have encountered while
compiling BIND 8 on RedHat Linux 6.2.

I created the dir /usr/src/bind, unpacked bind-src.tar.gz, bind-doc.tar.gz,
and bind-contrib.tar.gz into it.
Then I gave a: make -C src

Everything seems to go ok, until this happens:

make[2]: Entering directory `/usr/src/bind/src/lib/isc'
if test ! -d threaded ; then mkdir threaded ; fi
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 `/usr/src/bind/src/lib/isc'

Then everything gets back to normal, but after a while, this happens:

make[2]: Entering directory `/usr/src/bind/src/bin/nslookup'
gcc -O -g   -o nslookup main.o getinfo.o debug.o send.o skip.o list.o subr.o
commands.o \
        ../../lib/libbind.a -lfl
../../lib/libbind.a(res_send.o): In function `__res_nsend':
/usr/src/bind/src/lib/resolv/res_send.c:660: undefined reference to
`__evNowTime'
/usr/src/bind/src/lib/resolv/res_send.c:661: undefined reference to
`__evConsTime'
/usr/src/bind/src/lib/resolv/res_send.c:662: undefined reference to
`__evAddTime'
/usr/src/bind/src/lib/resolv/res_send.c:679: undefined reference to
`__evNowTime'
/usr/src/bind/src/lib/resolv/res_send.c:680: undefined reference to
`__evCmpTime'
/usr/src/bind/src/lib/resolv/res_send.c:681: undefined reference to
`__evSubTime'
../../lib/libbind.a(res_mkupdate.o): In function `__res_nmkupdate':
/usr/src/bind/src/lib/resolv/res_mkupdate.c:559: undefined reference to
`__b64_pton'
/usr/src/bind/src/lib/resolv/res_mkupdate.c:623: undefined reference to
`__b64_pton'

This leads to a series of errors related to undefined references to __memget
and __memput
which ends up on make failing with an error.

I have tried to find the reason for this.
It does not seem to depend on the kernel version, i tried it with 2.2.16
(patched with
Openwall) and then back to the 2.2.14 RedHat rpm, and nothing changed.
It does not seem to depend on system configuration settings... I even
reinstalled RedHat, and
nothing changed.
It does not seem to depend on packages installed: all RPM packages needed,
or related to,
compiling, are correctly installed.
It does not seem to depend on compiler flags... I tried it with no flags at
all, just the "-O -g"
provided by the source package itself, and nothing changed.
It does not seem to depend on the source package: I re-downloaded it, and
nothing changed.

So, what may it depend on?
Please, help me... I really have to get this job done as soon as possible!!!
Thanks a lot to anyone who helps!

Greg






More information about the bind-users mailing list