firnsy / barnyard2

Barnyard2 is a dedicated spooler for Snort's unified2 binary output format.
GNU General Public License v2.0
344 stars 189 forks source link

Help me #261

Open phap231 opened 2 years ago

phap231 commented 2 years ago

make all-recursive make[1]: Entering directory '/root/barnyard2-2-1.13' Making all in src make[2]: Entering directory '/root/barnyard2-2-1.13/src' Making all in sfutil make[3]: Entering directory '/root/barnyard2-2-1.13/src/sfutil' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/barnyard2-2-1.13/src/sfutil' Making all in output-plugins make[3]: Entering directory '/root/barnyard2-2-1.13/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: ../output-plugins/spo_database.h:112:1: error: expected identifier or ‘(’ before ‘--’ token --- spo_database.h.orig ^~ ../output-plugins/spo_database.h:114:1: error: stray ‘@’ in program @@ -357,7 +357,7 @@ ^ ../output-plugins/spo_database.h:114:2: error: stray ‘@’ in program @@ -357,7 +357,7 @@ ^ ../output-plugins/spo_database.h:114:18: error: stray ‘@’ in program @@ -357,7 +357,7 @@ ^ ../output-plugins/spo_database.h:114:19: error: stray ‘@’ in program @@ -357,7 +357,7 @@ ^ ../output-plugins/spo_database.h:118:1: error: expected identifier or ‘(’ before ‘-’ token

help me I use libcap1.8 mysqld-commity mysql-commyti-devel

fatihusta commented 2 years ago

I send you a pull request for mysql problem. https://github.com/firnsy/barnyard2/pull/265 Also I used this pull request for libpcap 1.9.x. https://github.com/firnsy/barnyard2/pull/254

And successfully compiled.