[Bro] Problems Building Bro

Christian Kreibich christian at whoop.org
Sun Jun 18 05:11:57 PDT 2006


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.
-- 
________________________________________________________________________
                                          http://www.cl.cam.ac.uk/~cpk25
                                                    http://www.whoop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nbdns.diff
Type: text/x-patch
Size: 907 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20060618/c91e14f8/attachment.bin 


More information about the Bro mailing list