argus flow-tools support on Ubuntu

Carter Bullard carter at qosient.com
Mon Dec 5 13:20:23 EST 2011


./configure couldn't find the include files needed to support the ft library.  It did complain, however:
    checking for extraneous ft header directories… not found

The ./configure script should have done the right thing though.   I have fixed this in argus-clients-3.0.5.25
which I'll upload later today / tomorrow.

Thanks for all the help !!!!

Carter

On Dec 5, 2011, at 4:57 AM, CS Lee wrote:

> 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/4f12e016/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20111205/4f12e016/attachment.bin>


More information about the argus mailing list