[Discussion] suricata with pfring clock_gettime error

Eric Leblond eric at regit.org
Wed Nov 27 10:35:32 UTC 2013


Hello,

On Tue, 2013-11-26 at 09:12 +0800, modversion wrote:
> All headers and libs was installed to /usr/local/include
> and /usr/local/lib ,and I've point the path to them.
> --with-libpfring-includes=/
> 
> usr/local/include/ --with-libpfring-libraries=/usr/local/lib/
> --with-libpcap-includes=/usr/local/include/
> --with-libpcap-libraries=/usr/local/lib
> 
> 
> Would you like to tell me what shall I do ?

Alternatively, could you try the following patch. It may fix this issue
(I'm not able to reproduce the problem on my systems).

BR,

> Thank you !
> 
> 
> 
> 
> 
> 2013/11/26 Charlie Jr. <cdevoe57 at nycap.rr.com>
>         You need to move the headers and libraries or change the path
>         so they the point to them.  
>         
>          
>         
>         From: discussion-bounces at lists.openinfosecfoundation.org
>         [mailto:discussion-bounces at lists.openinfosecfoundation.org] On
>         Behalf Of modversion
>         Sent: Monday, November 25, 2013 7:51 PM
>         To: discussion at lists.openinfosecfoundation.org
>         Subject: [Discussion] suricata with pfring clock_gettime error
>         
>          
>         
>         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 !
>         
>         
> 
> 
> _______________________________________________
> Discussion mailing list
> Discussion at lists.openinfosecfoundation.org
> https://lists.openinfosecfoundation.org/mailman/listinfo/discussion

-- 
Eric Leblond <eric at regit.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-add-lrt-for-pf_ring-version-needing-it.patch
Type: text/x-patch
Size: 1557 bytes
Desc: not available
URL: <http://lists.openinfosecfoundation.org/pipermail/discussion/attachments/20131127/ba2e781a/attachment-0002.bin>


More information about the Discussion mailing list