[Bro] Problems Building Bro

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Sun Jun 18 03:19:26 PDT 2006


On Sunday 18 Jun 2006 10:58 am, Dominic Steinitz wrote:
> On Sunday 18 Jun 2006 10:49 am, Dominic Steinitz wrote:
> > On Saturday 17 Jun 2006 2:17 pm, Christian Kreibich wrote:
> > > On Sat, 2006-06-17 at 09:17 +0100, Dominic Steinitz wrote:
> > > > Now configure completes without error but I get the following error
> > > > when I try to make. Any suggestions?
> > >
> > > Could you please post the full configure run output?
> > >
> > > Cheers,
> > > Christian.
> >
> > 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've dug around a bit and I think I've got as far as seeing that in
> > src/Makefile, dns_srcs is null.
> >
> > # this is better
> > #dns_srcs = nb_dns.c
> >
> > So this means no nb_dns.o gets built resulting in the error message. I'm
> > not clear what creates src/Makefile. I also see that
> >
> > NBDNS =
> >
> > Presumably this means that NBDNS is undefined so that nb_dns.c should be
> > built.
> >
> > I'll try building compiling nb_dns.c by hand and then see if make will
> > complete.

nd_dns.c compiled ok but the final link still fails but with different errors. 
Given that it compiles ok but doesn't link, I'm guessing it's looking for a 
library somewhere. I'll see if I can figure out which library and then point 
it in the right direction.

nb_dns.o(.text+0x2e0): In function `_nb_dns_mkquery':
/home/dom/Desktop/bro-1.1/src/nb_dns.c:293: undefined reference to 
`__res_mkquery'
nb_dns.o(.text+0x5f1): In function `nb_dns_activity':
/home/dom/Desktop/bro-1.1/src/nb_dns.c:476: undefined reference to 
`__ns_initparse'
nb_dns.o(.text+0x67c):/home/dom/Desktop/bro-1.1/src/nb_dns.c:519: undefined 
reference to `_ns_flagdata'
nb_dns.o(.text+0x684):/home/dom/Desktop/bro-1.1/src/nb_dns.c:519: undefined 
reference to `_ns_flagdata'
nb_dns.o(.text+0x866):/home/dom/Desktop/bro-1.1/src/nb_dns.c:561: undefined 
reference to `__ns_parserr'
nb_dns.o(.text+0x959):/home/dom/Desktop/bro-1.1/src/nb_dns.c:610: undefined 
reference to `__dn_expand'

> >
> > Dominic.
>
> I've resent this as a reply without the attachment otherwise the mailing
> list blocks it as being too big. If anyone wants a copy of the various
> config files, please let me know. Dominic.





More information about the Bro mailing list