[Discussion] suricata with pfring clock_gettime error

modversion modversion at gmail.com
Tue Nov 26 00:51:06 UTC 2013


I checked out pfring from svn,compiled the lib and libpcap with ./configure
; make ; make install .All files were install to /usr/local/.
Then I compiled suricata-2.0beta1 with ./configure --enable-pfring
--with-libpfring-includes=/usr/local/include/
--with-libpfring-libraries=/usr/local/lib/
--with-libpcap-includes=/usr/local/include/
--with-libpcap-libraries=/usr/local/lib ,but it returns "   ERROR!
--enable-pfring was passed but the library was not found or version is >4,
go get it
   from http://www.ntop.org/PF_RING.html"

I grep the pfring from config.log, it returns
"/usr/local/lib//libpfring.so: undefined reference to `clock_gettime'"

I've compiled the userland example and it seems works fine.
[root at localhost examples]# ./alldevs
1. dna0 (PF_RING DNA)
2. em1 (PF_RING)
3. usbmon1 (USB bus number 1)
4. em2 (PF_RING)

I did all in centos 6.4 x86_64 os.
How can I fix it ?Thank you !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/discussion/attachments/20131126/0e7e3aaf/attachment.html>


More information about the Discussion mailing list