[Bro] Trouble building Bro 2.2 on ARMv6 (Raspberry Pi / Wheezy)

anthony kasza anthony.kasza at gmail.com
Mon Sep 30 20:15:57 PDT 2013


Fresh install here, too. Command output below.

root at raspberrypi:/opt/bro_src# ./build/src/bifcl -s
src/probabilistic/top-k.bif
usage: bifcl [-p] *.bif
root at raspberrypi:/opt/bro_src# find ./ -iname top-k*
./src/probabilistic/top-k.bif

I checked the dependency versions from the RPi's repos and they are equal
to or newer than a vanilla Debian 6 system (which Bro builds fine on).

-AK


On Mon, Sep 30, 2013 at 10:59 AM, Jonathan Ness <jdness at mac.com> wrote:

> For me, it was a fresh checkout/build.  I will try that exact command when
> I get home tonight.  I remember trying a couple different combinations from
> the build/src directory and not being successful.  Not sure I tried exactly
> that one from exactly there though.
>
> On Sep 30, 2013, at 05:17 AM, Robin Sommer <robin at icir.org> wrote:
>
> Hmm ... No immediate idea. Does this work from the top-level
> directory?
>
> # ./build/src/bifcl -s src/probabilistic/top-k.bif
> # ls top-k*
> top-k.bif.bro top-k.bif.cc top-k.bif.h top-k.bif.init.cc
>
> (Note that bifcl's usage message isn't up to date, it does now in fact
> support an -s option.)
>
> Is this a fresh checkout/build, or on top of an older build/install?
>
> Robin
>
>
> On Sun, Sep 29, 2013 at 21:17 -0700, you wrote:
>
> Sorry for the bad formatting
>
> Linking CXX executable bifcl
>
> cd /opt/bro_src/build/src && /usr/bin/cmake -E cmake_link_script
>
> CMakeFiles/bifcl.dir/link.txt --verbose=1
>
> /usr/bin/c++ -Wall -Wno-unused -O2 -g
>
> CMakeFiles/bifcl.dir/bif_parse.cc.o CMakeFiles/bifcl.dir/bif_lex.cc.o
>
> CMakeFiles/bifcl.dir/bif_arg.cc.o CMakeFiles/bifcl.dir/module_util.cc.o -o
>
> bifcl -rdynamic
>
> make[3]: Leaving directory `/opt/bro_src/build'
>
> /usr/bin/cmake -E cmake_progress_report /opt/bro_src/build/CMakeFiles 8
>
> [ 8%] Built target bifcl
>
> make -f
>
> src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/build.make
>
> src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/depend
>
> make[3]: Entering directory `/opt/bro_src/build'
>
> cd /opt/bro_src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles"
>
> /opt/bro_src /opt/bro_src/src/probabilistic /opt/bro_src/build
>
> /opt/bro_src/build/src/probabilistic
>
>
> /opt/bro_src/build/src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/DependInfo.cmake
>
> --color=
>
> Dependee
>
>
> "/opt/bro_src/build/src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/DependInfo.cmake"
>
> is newer than depender
>
>
> "/opt/bro_src/build/src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/depend.internal".
>
> Dependee
>
>
> "/opt/bro_src/build/src/probabilistic/CMakeFiles/CMakeDirectoryInformation.cmake"
>
> is newer than depender
>
>
> "/opt/bro_src/build/src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/depend.internal".
>
> Scanning dependencies of target bif-alt-probabilistic-top-k.bif
>
> make[3]: Leaving directory `/opt/bro_src/build'
>
> make -f
>
> src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/build.make
>
> src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/build
>
> make[3]: Entering directory `/opt/bro_src/build'
>
> /usr/bin/cmake -E cmake_progress_report /opt/bro_src/build/CMakeFiles
>
> [ 8%] [BIFCL] Processing top-k.bif
>
> cd /opt/bro_src/build/src/probabilistic && ../bifcl -s
>
> /opt/bro_src/src/probabilistic/top-k.bif || ( rm -f
>
> /opt/bro_src/build/scripts/base/bif/top-k.bif.bro top-k.bif.h top-k.bif.cc
>
> top-k.bif.init.cc && exit 1 )
>
> usage: bifcl [-p] *.bif
>
> make[3]: *** [scripts/base/bif/top-k.bif.bro] Error 1
>
> make[3]: Leaving directory `/opt/bro_src/build'
>
> make[2]: ***
>
> [src/probabilistic/CMakeFiles/bif-alt-probabilistic-top-k.bif.dir/all]
>
> Error 2
>
> make[2]: Leaving directory `/opt/bro_src/build'
>
> make[1]: *** [all] Error 2
>
> make[1]: Leaving directory `/opt/bro_src/build'
>
> make: *** [all] Error 2
>
> On Sun, Sep 29, 2013 at 7:48 PM, Robin Sommer <robin at icir.org> wrote:
>
> >
>
> >
>
> > On Sun, Sep 29, 2013 at 04:51 +0000, you wrote:
>
> >
>
> > > [ 8%] [BIFCL] Processing top-k.bif
>
> > > usage: bifcl [-p] *.bif
>
> >
>
> > How does that part look like with "make VERBOSE=1"?
>
> >
>
> > Robin
>
> >
>
> > --
>
> > Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
>
> > ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org/robin
>
> > _______________________________________________
>
> > Bro mailing list
>
> > bro at bro-ids.org
>
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>
> >
>
>
>
> --
> Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
> ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org/robin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20130930/af209286/attachment.html 


More information about the Bro mailing list