argus flow-tools support on Ubuntu

CS Lee geek00l at gmail.com
Mon Dec 5 04:57:36 EST 2011


hi Carter,

I encountered compiled error when I configure --with-libft=yes and run make
for argus latest client, this is on Ubuntu 11.10 server, I have
flow-tools-dev installed using apt-get

gcc -O3 -I. -I../../include -I../../common  -DHAVE_CONFIG_H -c
./ratemplate.c
gcc -O3 -o ../../bin/ratemplate ratemplate.o ../../lib/argus_parse.a
../../lib/a
                         rgus_common.a ../../lib/argus_client.a -lm
 -lpthread  -lGeoIP  -lz
../../lib/argus_common.a(argus_util.o): In function `ArgusReadConnection':
argus_util.c:(.text+0x344e5): undefined reference to `ftio_init'
argus_util.c:(.text+0x34512): undefined reference to `ftio_get_ver'
argus_util.c:(.text+0x34527): undefined reference to
`fts3rec_compute_offsets'
argus_util.c:(.text+0x34546): undefined reference to `ftio_read'
argus_util.c:(.text+0x345e1): undefined reference to `ftio_check_xfield'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/ratemplate] Error 1
make[2]: Leaving directory
`/home/cslee/argus-clients-3.0.5.24/examples/ratempla
                                                                   te'
making in ./ramysql
make[2]: Entering directory
`/home/cslee/argus-clients-3.0.5.24/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:642:0,
                 from ./rasql.c:42:
In function ‘bzero’,
    inlined from ‘RaProcessSplitOptions.constprop.1’ at
./rasql.c:1442:13:
/usr/include/x86_64-linux-gnu/bits/string3.h:98:3: warning: call to
__builtin___
                           memset_chk will always overflow destination
buffer [enabled by default]
gcc -O3 -o ../../bin/rasql rasql.o -L/usr/lib/mysql -lmysqlclient_r
 ../../lib/a
                           rgus_parse.a ../../lib/argus_common.a
../../lib/argus_client.a -lm    -lpthread
                                                         -lGeoIP  -lz
../../lib/argus_common.a(argus_util.o): In function `ArgusReadConnection':
argus_util.c:(.text+0x344e5): undefined reference to `ftio_init'
argus_util.c:(.text+0x34512): undefined reference to `ftio_get_ver'
argus_util.c:(.text+0x34527): undefined reference to
`fts3rec_compute_offsets'
argus_util.c:(.text+0x34546): undefined reference to `ftio_read'
argus_util.c:(.text+0x345e1): undefined reference to `ftio_check_xfield'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/rasql] Error 1
make[2]: Leaving directory
`/home/cslee/argus-clients-3.0.5.24/examples/ramysql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cslee/argus-clients-3.0.5.24/examples'
make: *** [all] Error 2

If I compile without flow-tools support, then everything is fine. I haven't
tried installing flow-tools library from source and may try that if needed.

Thank you!

-- 
Best Regards,

CS Lee<geek00L[at]gmail.com>

http://geek00l.blogspot.com
http://defcraft.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20111205/637e6f27/attachment.html>


More information about the argus mailing list