Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

HELP ME , how i can make barnyard2 #262

Open
phap231 opened this issue Jul 14, 2021 · 1 comment
Open

HELP ME , how i can make barnyard2 #262

phap231 opened this issue Jul 14, 2021 · 1 comment

Comments

@phap231
Copy link

phap231 commented Jul 14, 2021

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

  • my_bool mysql_reconnect; /* We will handle it via the api. */
    ^
    ../output-plugins/spo_database.h:119:1: error: expected identifier or ‘(’ before ‘+’ token
  • bool mysql_reconnect; /* We will handle it via the api. /
    ^
    ../output-plugins/spo_database.h:368:5: error: unknown type name ‘my_bool’
    my_bool mysql_reconnect; /
    We will handle it via the api. /
    ^~~~~~~
    ../output-plugins/spo_database.h:631:2: error: #endif without #if
    #endif /
    SPO_DATABASE_H */
    ^~~~~
    make[3]: *** [Makefile:390: spo_database.o] Error 1
    make[3]: Leaving directory '/root/barnyard2-2-1.13/src/output-plugins'
    make[2]: *** [Makefile:496: all-recursive] Error 1
    make[2]: Leaving directory '/root/barnyard2-2-1.13/src'
    make[1]: *** [Makefile:411: all-recursive] Error 1
    make[1]: Leaving directory '/root/barnyard2-2-1.13'
    make: *** [Makefile:343: all] Error 2
@redbaron4
Copy link

redbaron4 commented Jul 23, 2021

It seems that you have some patch files or rejected patch files in your build tree

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants