Snort mailing list archives

Error Barnyard2 on Snort 2.9.11.1


From: "Lucas Miguel \(_theHarvester\) via Snort-users" <snort-users () lists snort org>
Date: Tue, 3 Jul 2018 08:14:19 +0100

Hello,
Anyone faced the bellow error before while make the Barnyard2 ?

:~/snort_src/barnyard2-master$ make
make  all-recursive
make[1]: Entering directory '/home/snort/snort_src/barnyard2-master'
Making all in src
make[2]: Entering directory '/home/snort/snort_src/barnyard2-master/src'
Making all in sfutil
make[3]: Entering directory '/home/snort/snort_src/barnyard2-master/src/sfutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/snort/snort_src/barnyard2-master/src/sfutil'
Making all in output-plugins
make[3]: Entering directory '/home/snort/snort_src/barnyard2-master/src/output-plugins'
gcc -DHAVE_CONFIG_H -I. -I../..  -I.. -I ../sfutil -I/usr/include/mysql -DENABLE_MYSQL  -g -O2 -Wall -c -o 
spo_database.o spo_database.c
In file included from spo_database.c:103:0:
../output-plugins/spo_database.h:360:5: error: unknown type name ‘my_bool’
    my_bool mysql_reconnect; /* We will handle it via the api. */
    ^~~~~~~
Makefile:391: recipe for target 'spo_database.o' failed
make[3]: *** [spo_database.o] Error 1
make[3]: Leaving directory '/home/snort/snort_src/barnyard2-master/src/output-plugins'
Makefile:498: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/snort/snort_src/barnyard2-master/src'
Makefile:412: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/snort/snort_src/barnyard2-master'
Makefile:344: recipe for target 'all' failed
make: *** [all] Error 2

Regards,

Lucas Miguel
_______________________________________________
Snort-users mailing list
Snort-users () lists snort org
Go to this URL to change user options or unsubscribe:
https://lists.snort.org/mailman/listinfo/snort-users

        To unsubscribe, send an email to:
        snort-users-leave () lists snort org

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

Current thread: