[Snort-users] Barnyard and postgresql

Jason snort-users at ...2977...
Wed Jun 25 12:01:07 EDT 2003


Possibly offtopic, but the barnyard list gets very little traffic. (And I
saw the previous posts on the subject, I realise this is a known issue,
however no solutions have been provided as of yet.... atleast none that I
could find.

We currently use postgres for the backend as mysql does not scale in our
enviroment.

Below is where make dies. (this is a freebsd 4.8 machine).

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src 
-I/usr/local/include -I/usr/local/include/mysql -DENABLE_MYSQL
-DENABLE_POSTGRES  -g -O2 -Wall -c op_acid_db.c
op_acid_db.c:115: syntax error before `,'
op_acid_db.c:116: syntax error before `,'
op_acid_db.c: In function `InsertIPData':
op_acid_db.c:426: warning: unsigned int format, u_long arg (arg 6)
op_acid_db.c:426: warning: unsigned int format, u_long arg (arg 7)
op_acid_db.c:439: warning: unsigned int format, u_long arg (arg 6)
op_acid_db.c:439: warning: unsigned int format, u_long arg (arg 7)
op_acid_db.c: In function `InsertTCPData':
op_acid_db.c:495: warning: unsigned int format, u_long arg (arg 8)
op_acid_db.c:495: warning: unsigned int format, u_long arg (arg 9)
op_acid_db.c: In function `DbClose':
op_acid_db.c:947: structure has no member named `pq'
op_acid_db.c: In function `SelectAsUInt':
op_acid_db.c:966: structure has no member named `pq'
op_acid_db.c: In function `Insert':
op_acid_db.c:984: structure has no member named `pq'
op_acid_db.c:984: `result' undeclared (first use in this function)
op_acid_db.c:984: (Each undeclared identifier is reported only once
op_acid_db.c:984: for each function it appears in.)
op_acid_db.c: In function `BeginTransaction':
op_acid_db.c:1002: structure has no member named `pq'
op_acid_db.c: In function `EndTransaction':
op_acid_db.c:1020: structure has no member named `pq'
op_acid_db.c: In function `AbortTransaction':
op_acid_db.c:1038: structure has no member named `pq'
op_acid_db.c: In function `PostgresClose':
op_acid_db.c:1153: warning: control reaches end of non-void function
op_acid_db.c: At top level:
op_acid_db.c:1155: syntax error before `,'
op_acid_db.c:1161: syntax error before `,'
*** Error code 1

Stop in /root/barnyard-0.1.0/src/output-plugins.
*** Error code 1

Stop in /root/barnyard-0.1.0/src.
*** Error code 1

Stop in /root/barnyard-0.1.0.
*** Error code 1

Stop in /root/barnyard-0.1.0.
test_snort_2#





More information about the Snort-users mailing list