argus client 3.0.7.11 on ubuntu
Carter Bullard
carter at qosient.com
Tue Jul 16 06:34:40 EDT 2013
Your ./configure run thinks it found the pcre library, and is trying to use it.
What does your ./config.log say about pcre ? Is pcre installed on your machine?
Same for the readline libraries.
Carter
Sent from my iPad
On Jul 16, 2013, at 6:19 AM, CS Lee <geek00l at gmail.com> wrote:
> hi Carter,
>
> Here's the error I get when compiling on Ubuntu linux -
>
> ../../lib/argus_client.a(argus_grep.o): In function `ArgusGrepUserData':
> argus_grep.c:(.text+0x192): undefined reference to `pcreposix_regexec'
> argus_grep.c:(.text+0x24e): undefined reference to `pcreposix_regexec'
> collect2: ld returned 1 exit status
> make[2]: *** [../../bin/rastrip] Error 1
> make[2]: Leaving directory `/home/developer/argus-clients-3.0.7.11/examples/rastrip'
> making in ./ratop
> make[2]: Entering directory `/home/developer/argus-clients-3.0.7.11/examples/ratop'
> gcc -O3 -I. -I../../include -I../../common -DHAVE_CONFIG_H -c ./raclient.c
> In file included from ./raclient.c:38:0:
> ./racurses.h:87:31: fatal error: readline/readline.h: No such file or directory
> compilation terminated.
> make[2]: *** [raclient.o] Error 1
> make[2]: Leaving directory `/home/developer/argus-clients-3.0.7.11/examples/ratop'
> making in ./ratimerange
> make[2]: Entering directory `/home/developer/argus-clients-3.0.7.11/examples/ratimerange'
> gcc -O3 -o ../../bin/ratimerange ratimerange.o -L/usr/lib/x86_64-linux-gnu -lpcreposix -lpcre ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm -lpthread -lGeoIP -lz
> ../../lib/argus_common.a(argus_util.o): In function `ArgusHandleDatum':
> argus_util.c:(.text+0x2e97c): undefined reference to `pcreposix_regexec'
> ../../lib/argus_common.a(argus_util.o): In function `ArgusProcessLabelOptions':
> argus_util.c:(.text+0x30794): undefined reference to `pcreposix_regcomp'
> argus_util.c:(.text+0x307ce): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_client.o): In function `ArgusParseAggregator':
> argus_client.c:(.text+0x172af): undefined reference to `pcreposix_regcomp'
> argus_client.c:(.text+0x1741a): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_grep.o): In function `ArgusInitializeGrep':
> argus_grep.c:(.text+0x5b): undefined reference to `pcreposix_regcomp'
> argus_grep.c:(.text+0xae): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_grep.o): In function `ArgusGrepUserData':
> argus_grep.c:(.text+0x192): undefined reference to `pcreposix_regexec'
> argus_grep.c:(.text+0x24e): undefined reference to `pcreposix_regexec'
> collect2: ld returned 1 exit status
> make[2]: *** [../../bin/ratimerange] Error 1
> make[2]: Leaving directory `/home/developer/argus-clients-3.0.7.11/examples/ratimerange'
> making in ./ratemplate
> make[2]: Entering directory `/home/developer/argus-clients-3.0.7.11/examples/ratemplate'
> gcc -O3 -o ../../bin/ratemplate ratemplate.o -L/usr/lib/x86_64-linux-gnu -lpcreposix -lpcre ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm -lpthread -lGeoIP -lz
> ../../lib/argus_common.a(argus_util.o): In function `ArgusHandleDatum':
> argus_util.c:(.text+0x2e97c): undefined reference to `pcreposix_regexec'
> ../../lib/argus_common.a(argus_util.o): In function `ArgusProcessLabelOptions':
> argus_util.c:(.text+0x30794): undefined reference to `pcreposix_regcomp'
> argus_util.c:(.text+0x307ce): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_client.o): In function `ArgusParseAggregator':
> argus_client.c:(.text+0x172af): undefined reference to `pcreposix_regcomp'
> argus_client.c:(.text+0x1741a): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_grep.o): In function `ArgusInitializeGrep':
> argus_grep.c:(.text+0x5b): undefined reference to `pcreposix_regcomp'
> argus_grep.c:(.text+0xae): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_grep.o): In function `ArgusGrepUserData':
> argus_grep.c:(.text+0x192): undefined reference to `pcreposix_regexec'
> argus_grep.c:(.text+0x24e): undefined reference to `pcreposix_regexec'
> collect2: ld returned 1 exit status
> make[2]: *** [../../bin/ratemplate] Error 1
> make[2]: Leaving directory `/home/developer/argus-clients-3.0.7.11/examples/ratemplate'
> making in ./ramysql
> make[2]: Entering directory `/home/developer/argus-clients-3.0.7.11/examples/ramysql'
> gcc -O3 -o ../../bin/rasql rasql.o -L/usr/lib/x86_64-linux-gnu -lpcreposix -lpcre -L/usr/lib/mysql -lmysqlclient_r ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm -lpthread -lGeoIP -lz
> ../../lib/argus_common.a(argus_util.o): In function `ArgusHandleDatum':
> argus_util.c:(.text+0x2e97c): undefined reference to `pcreposix_regexec'
> ../../lib/argus_common.a(argus_util.o): In function `ArgusProcessLabelOptions':
> argus_util.c:(.text+0x30794): undefined reference to `pcreposix_regcomp'
> argus_util.c:(.text+0x307ce): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_client.o): In function `ArgusParseAggregator':
> argus_client.c:(.text+0x172af): undefined reference to `pcreposix_regcomp'
> argus_client.c:(.text+0x1741a): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_grep.o): In function `ArgusInitializeGrep':
> argus_grep.c:(.text+0x5b): undefined reference to `pcreposix_regcomp'
> argus_grep.c:(.text+0xae): undefined reference to `pcreposix_regerror'
> ../../lib/argus_client.a(argus_grep.o): In function `ArgusGrepUserData':
> argus_grep.c:(.text+0x192): undefined reference to `pcreposix_regexec'
> argus_grep.c:(.text+0x24e): undefined reference to `pcreposix_regexec'
> collect2: ld returned 1 exit status
> make[2]: *** [../../bin/rasql] Error 1
> make[2]: Leaving directory `/home/developer/argus-clients-3.0.7.11/examples/ramysql'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/developer/argus-clients-3.0.7.11/examples'
> make: *** [all] Error 2
>
>
> --
> 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/20130716/d699e9fa/attachment.html>
More information about the argus
mailing list