[Bro] Trouble building Bro 2.2 on ARMv6 (Raspberry Pi / Wheezy)
Siwek, Jonathan Luke
jsiwek at illinois.edu
Tue Oct 1 07:37:04 PDT 2013
On Sep 30, 2013, at 10:15 PM, anthony kasza <anthony.kasza at gmail.com> wrote:
> 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).
Can you try the patch below?
- Jon
diff --git a/src/builtin-func.l b/src/builtin-func.l
index c70b99b..b032fd1 100644
--- a/src/builtin-func.l
+++ b/src/builtin-func.l
@@ -275,7 +275,7 @@ void finish_alternative_mode()
int main(int argc, char* argv[])
{
- char opt;
+ int opt;
while ( (opt = getopt(argc, argv, "p:s")) != -1 )
{
More information about the Bro
mailing list