[Bro] Bro 1.5.1 compile error on FreeBSD AMD64

Kevin Lo kevlo at kevlo.org
Sun May 23 02:43:23 PDT 2010


CS Lee wrote:
> hi guys,
> 
> When I try to compile bro 1.5.1 on FreeBSD AMD64 platform, I hit this
> error -
> 
> building '_broccoli_intern' extension
> cc -shared -pthread
> -L/usr/home/cslee/bro-source/bro-1.5.1/aux/broccoli/src/.libs
> -I/usr/home/cslee/bro-source/bro-1.5.1/aux/broccoli/src /usr/home/cslee/bro-source/bro-1.5.1/aux/broctl/.python-build/temp.freebsd-8.0-RELEASE-amd64-2.6/broccoli_intern_wrap.o -L../../src/.libs -lbroccoli -o /usr/home/cslee/bro-source/bro-1.5.1/aux/broctl/.python-build/lib.freebsd-8.0-RELEASE-amd64-2.6/_broccoli_intern.so
> /usr/bin/ld: /usr/home/cslee/bro-source/bro-1.5.1/aux/broccoli/src/.libs/libbroccoli.a(bro.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
> /usr/home/cslee/bro-source/bro-1.5.1/aux/broccoli/src/.libs/libbroccoli.a: could not read symbols: Bad value
> error: command 'cc' failed with exit status 1
> *** Error code 1
> 
> Anyway thanks to robin for pointed stuffs on bro log archive stuffs.

Could you try attached patch? Thanks!
> 
> -- 
> Best Regards,
> 
> CS Lee<geek00L[at]gmail.com>
> 
> http://geek00l.blogspot.com
> http://defcraft.net

Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-aux_broctl_Makefile_in
Type: text/x-patch
Size: 482 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20100523/1a23e808/attachment.bin 


More information about the Bro mailing list