On Saturdayen den 23 February 2002 17.33, Oden Eriksson wrote:
> Hi list.
>
> I'm (still) trying to compile parts of bind 8.3.1 statically, but I keep
> hitting a brick wall... I get this error whatever I do.
>
> gcc -D_GNU_SOURCE -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro
> -march=i586 -ffast-math -fno-strength-reduce  -static  -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 -lfl
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libc.a(res_libc.o):
> In function `__res_init':
> /home/gb/rpm/BUILD/glibc-2.2.4/resolv/res_libc.c:43: multiple definition of
> `__res_init'
> ../../lib/libbind.a(res_data.o)(.text+0x120): first defined here
> /usr/bin/ld: Warning: size of symbol `__res_init' changed from 104 to 124
> in
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libc.a(res_libc.o)
>
>
> I hope someone could bring some light into this...

Forget about it... This seems to do the trick:

--- bind-chroot-8.3.1.old/src/include/resolv.h  Wed Dec 19 02:44:19 2001
+++ bind-chroot-8.3.1/src/include/resolv.h      Sat Feb 23 17:43:32 2002
@@ -285,7 +285,7 @@
 #define hostalias              __hostalias
 #define p_query                        __p_query
 #define res_close              __res_close
-#define res_init               __res_init
+/* #define res_init            __res_init */
 #define res_isourserver                __res_isourserver
 #define res_mkquery            __res_mkquery
 #define res_query              __res_query



Reply via email to