Error building statically linked named
Dr. Dorothea Muecke-Herzberg
muecke at majestix.geo.uni-koeln.de
Wed Jul 21 14:20:29 UTC 1999
Hi there,
I would like to build a statically linked named on a Compaq Proliant
1600R, running SuSE 6.1 Linux. To do so I changed in
src/port/linux/Makefile.set the following line:
'CDEBUG=-O -g'
to
'CDEBUG=-O -static'
In src I did a:
make dep
make
what resulted after some compiling time in the following error
message:
gcc -D_GNU_SOURCE -O -static -I../../port/linux/include
-I../../include -D_PATH
_HELPFILE=\"/usr/lib/nslookup.help\" -c commands.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-2.0.7/resolv/res_init.c:651: multiple
definition of `__r
es_randomid'
../../lib/libbind.a(res_init.o)(.text+0x9d0): first defined here
ld: Warning: size of symbol `__res_randomid' changed from 39 to 41 in
res_init.o
make[2]: *** [nslookup] Error 1
make[2]: Leaving directory `/data/src/bind/src/bin/nslookup'
make[1]: *** [nslookup] Error 2
make[1]: Leaving directory `/data/src/bind/src/bin'
make: *** [all] Error 2
There seems to be some conflict between glibc and libbind functions.
Is some kind soul able to tell me what to do to get it compiled?
thanx in advance
Dorothea
More information about the bind-users
mailing list