multiple definition of `res_send_setrhook' ???

Torstein Meyer torstein.meyer at
Wed Mar 29 07:36:50 UTC 2000

Bind version 8.2.2-P5
DEC Ultrix 4.5 with Y2000 patches applied

Does anyone have a clue what to do ???
It seems have something with the orginginally
installed libraries refering to res_??? resolv??? bind delivered with
DEC Ultrix.

A glue would be most welcome.
/usr/local/bin/gcc -g -O2   -o named db_dump.o db_load.o db_lookup.o
db_save.o db_update.o db_glue.o db_ixfr.o db_sec.o db_tsig.o ns_parser.o
ns_lexer.o ns_parseutil.o ns_ctl.o ns_forw.o ns_init.o ns_main.o
ns_maint.o ns_req.o ns_resp.o ns_stats.o ns_ncache.o ns_xfr.o ns_glue.o
ns_udp.o ns_config.o ns_update.o ns_ixfr.o ns_signal.o ns_sort.o
ns_notify.o \
        tmp_version.o ../../lib/libbind.a -ll
/lib/libc.a(res_send.o): In function `res_send_setqhook':
res_send.c:234: multiple definition of `res_send_setqhook'
../../lib/libbind.a(res_data.o):res_data.c:187: first defined here
/lib/libc.a(res_send.o): In function `res_send_setrhook':
res_send.c:242: multiple definition of `res_send_setrhook'
../../lib/libbind.a(res_data.o):res_data.c:192: first defined here
collect: ld returned 1 exit status
make[1]: *** [named] Error 1
make[1]: Leaving directory `/usr/bind.8/src/bin/named'
make: *** [named] Error 2
*** Error code 2

Torstein Meyer (Sys.Cons)	Phone: +47 77 62 94 24, Fax: +4777629401
N-9291 Tromsø, Norway		E-mail: Torstein.Meyer at Itek.Norut.No

More information about the bind-users mailing list