[Oisf-devel] suricata --enable-pfring config error
NetDoctor
csyimkor at gmail.com
Wed Sep 26 17:29:36 UTC 2012
Hello,
When I configure with -enable-pfring, I get the following error:
-----------------------------------------------
checking for pfring_open in -lpfring... no
ERROR! --enable-pfring was passed but the library was not found or
version is >4, go get it
I checked the config.log file.
-----------------------------------------------
configure:15253: checking for pfring_open in -lpfring
configure:15278:
/buildroot-2012.08/output/host/usr/bin/i686-unknown-linux-uclibc-gcc
--sysroot=/buildroot-2012.08/output/staging -o conftest -DRELEASE -Wextra
-Wall -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99
-march=native -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DHAVE_LIBNET_ICMPV6_UNREACH
-DHAVE_PFRING -I/buildroot-2012.08/output/staging/usr/include
-L/buildroot-2012.08/output/staging/usr/lib conftest.c -lpfring -lpcap -lnet
-lnetfilter_queue -lnfnetlink -lpthread -lyaml -lpcre
>&5/buildroot-2012.08/output/staging/usr/lib/libnet.so: warning:
gethostbyaddr is obsolescent, use getaddrinfo()
instead./buildroot-2012.08/output/staging/usr/lib/libpcap.so: warning:
gethostbyname is obsolescent, use getnameinfo() instead.
/buildroot-2012.08/output/staging/usr/lib/libpfring.so: undefined reference
to `__fprintf_chk'/buildroot-2012.08/output/staging/usr/lib/libpfring.so:
undefined reference to
`__printf_chk'/buildroot-2012.08/output/staging/usr/lib/libpfring.so:
undefined reference to
`__snprintf_chk'/buildroot-2012.08/output/staging/usr/lib/libpfring.so:
undefined reference to `__sprintf_chk'collect2: ld returned 1 exit
statusconfigure:15278: $? = 1
I use PF-RING 5.4.6 version.
I don't know what I do and what the error messages mean.
Please let me know how to fix it.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20120927/447298b9/attachment.html>
More information about the Oisf-devel
mailing list