Bind 8.1 Compile Problem

Jafaruddin Lie jafaruddin.lie at gmail.com
Fri Apr 27 05:42:40 UTC 2007


Here's a little problem I have. :)
I am setting up an old box with Fedora Core 2 (yes, deprecated, I know) and
Bind 8.1. The idea is, I want to setup my own network so I can play with DNS
cache poisoning attack hence why I want to run old version of Bind.

Running gcc 3.3.3, flex, and Bison installed.
Here's the compile error I have:

gcc -g  -o nslookup main.o getinfo.o debug.o send.o skip.o list.o subr.o
commands.o \
        ../../lib/libbind.a ../../port/libport.a -lfl
../../lib/libbind.a(ns_print.o)(.text+0x1407): In function `__ns_sprintrrf':
/root/src/lib/nameser/ns_print.c:454: undefined reference to `__b64_ntop'
../../lib/libbind.a(ns_print.o)(.text+0x1802):/root/src/lib/nameser/ns_print
.c:515: undefined reference to `__b64_ntop'
../../lib/libbind.a(lcl_nw.o)(.text+0x17d): In function `nw_byaddr':
/root/src/lib/irs/lcl_nw.c:152: undefined reference to `__bitncmp'
collect2: ld returned 1 exit status
make[2]: *** [nslookup] Error 1
make[2]: Leaving directory `/root/src/bin/nslookup'
make[1]: *** [nslookup] Error 2
make[1]: Leaving directory `/root/src/bin'
make: *** [all] Error 2

I am stumped, and my Google-foo failed me :|
So, I am turning to my fellow listees to point me to the right direction
;)


-- 
Registered Linux user no. 384430




More information about the fedora-list mailing list