building bro in linux

Ruoming Pang rpang at
Tue Dec 3 22:02:59 PST 2002


I wonder anyone has experience in building Bro in linux and, especially,
in resolving the following problem:

nb_dns.o: In function `nb_dns_activity':
nb_dns.o(.text+0x678): undefined reference to `__ns_initparse'
nb_dns.o(.text+0x742): undefined reference to `_ns_flagdata'
nb_dns.o(.text+0x748): undefined reference to `_ns_flagdata'
nb_dns.o(.text+0x9bc): undefined reference to `__ns_parserr'
collect2: ld returned 1 exit status
make: *** [bro] Error 1

I am using linux 2.4.18-3 (Redhat 7.3). I nm'ed libresolv.a and did find
__ns_initparse in it:

/usr/lib/libresolv.a:ns_parse.o:00000000 T __ns_initparse

Thanks a lot,

More information about the Bro mailing list