compiling bind-8.2.2-p5 with the 'cdebug= -O2 -static'
geoff at gnaa.net
geoff at gnaa.net
Mon Jan 10 06:51:35 UTC 2000
I am trying to compile bind with the static option. I would like to
chroot it. I know that Dave W. has a src.rpm available, but I am
wondering why it won't compile on my system.
I am running RH6.1, 2.2.13 kernel.
It compiles fine--if I don't use the '-static' setting.
this is some of my error output:
Thanks in advance,
geoff nordli
-------- error output --------------
make[2]: Leaving directory `/usr/src/bind/src/bin/addr'
/usr/src/bind/src/bin/nslookup
make[2]: Entering directory `/usr/src/bind/src/bin/nslookup'
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include -
I../../include -D_PATH_HELPFILE=\"/u
sr/lib/nslookup.help\" -c main.c
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include -
I../../include -D_PATH_HELPFILE=\"/u
sr/lib/nslookup.help\" -c getinfo.c
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include -
I../../include -D_PATH_HELPFILE=\"/u
sr/lib/nslookup.help\" -c debug.c
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include -
I../../include -D_PATH_HELPFILE=\"/u
sr/lib/nslookup.help\" -c send.c
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include -
I../../include -D_PATH_HELPFILE=\"/u
sr/lib/nslookup.help\" -c skip.c
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include -
I../../include -D_PATH_HELPFILE=\"/u
sr/lib/nslookup.help\" -c list.c
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include -
I../../include -D_PATH_HELPFILE=\"/u
sr/lib/nslookup.help\" -c subr.c
gcc -D_GNU_SOURCE -O -static -o nslookup main.o getinfo.o debug.o
send.o skip.o list.o subr.
o commands.o \
../../lib/libbind.a -lfl
/usr/lib/libc.a(res_init.o): In function `__res_randomid':
/usr/src/bs/BUILD/glibc/resolv/res_init.c:652: multiple definition of
`__res_randomid'
../../lib/libbind.a(res_init.o)(.text+0xa1c): first defined here
/usr/bin/ld: Warning: size of symbol `__res_randomid' changed from 39
to 43 in res_init.o
collect2: ld returned 1 exit status
make[2]: *** [nslookup] Error 1
make[2]: Leaving directory `/usr/src/bind/src/bin/nslookup'
make[1]: *** [nslookup] Error 2
make[1]: Leaving directory `/usr/src/bind/src/bin'
make: *** [all] Error 2
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the bind-users
mailing list