[Bro] Problems Building Bro

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Sun Jun 18 08:44:20 PDT 2006


On Sunday 18 Jun 2006 1:11 pm, Christian Kreibich wrote:
> Hi Dominic,
>
> On Sun, 2006-06-18 at 10:49 +0100, Dominic Steinitz wrote:
> > Christian,
> >
> > I'm not sure which outputs you want. Is it just configure.log (which I've
> > attached) or do you need other things as well?
>
> I actually only meant what you get to see at the console, but the .log
> is even better. Thanks. This is what I was after:
>
> configure:7934: checking for ns_msg
> configure:7981: result: yes
> configure:8007: checking for ns_inittab/res_mkquery with resolver 'none'
> configure:8128: result: no
> configure:8007: checking for ns_inittab/res_mkquery with resolver
> '-lresolv' configure:8128: result: no
> configure:8007: checking for ns_inittab/res_mkquery with resolver
> '/usr/lib/libresolv.a' configure:8128: result: no
> configure:8134: Nonblocking DNS disabled.
>
> Given this, you should not have seen the link error. I think the problem
> is that DNS_Mgr.cc's DNS_Mgr::AnswerAvailable() isn't correctly
> protected by #ifdef HAVE_NB_DNS. The attached diff might fix it but is
> untested.
>
> > I've dug around a bit and I think I've got as far as seeing that in
> > src/Makefile, dns_srcs is null.
>
> Yes, this is in line with the above, since configure has determined that
> it can't build with nbdns support.
>
> Cheers,
> Christian.

Christian,

That's improved things but I'm still getting one unresolved reference.

Dominic.

DNS_Mgr.o(.text+0x2e61): In function `DNS_Mgr::GetFds(int*, int*, int*)':
/home/dom/Desktop/bro-1.1/src/DNS_Mgr.cc:933: undefined reference to 
`nb_dns_fd'
collect2: ld returned 1 exit status





More information about the Bro mailing list