Compile Errors on Ubuntu 10.04 x86_64
John Kennedy
wilson.amajohn at gmail.com
Tue Mar 20 13:26:11 EDT 2012
Getting errors when running make
make[2]: Entering directory
`/usr/local/src/argus-clients-3.0.5.36/examples/ramysql'
gcc -O3 -I. -I../../include -I../../common -I/usr/include/mysql
-DHAVE_CONFIG_H -c ./rasql.c
In file included from /usr/include/string.h:640,
from ./rasql.c:42:
In function bzero:
/usr/include/bits/string3.h:100: warning: call to __builtin___memset_chk
will always overflow destination buffer
gcc -O3 -o ../../bin/rasql rasql.o -L/usr/lib64/mysql -lmysqlclient_r
../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a
-lm -lpthread -lz
gcc -O3 -I. -I../../include -I../../common -I/usr/include/mysql
-DHAVE_CONFIG_H -c ./rasqlinsert.c
./rasqlinsert.c: In function âargus_command_stringâ:
./rasqlinsert.c:7034: error: incompatible type for argument 1 of
âArgusCheckTimeFormatâ
../../include/argus_main.h:338: note: expected âstruct tm *â but argument
is of type âstruct tmâ
make[2]: *** [rasqlinsert.o] Error 1
make[2]: Leaving directory
`/usr/local/src/argus-clients-3.0.5.36/examples/ramysql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/argus-clients-3.0.5.36/examples'
make: *** [all] Error 2
Thanks
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20120320/ee1e9f5e/attachment.html>
More information about the argus
mailing list