[Discussion] suricata with pfring clock_gettime error

modversion modversion at gmail.com
Fri Dec 6 06:39:22 UTC 2013


It works!
Thank you very much,Eric.


2013/11/27 Eric Leblond <eric at regit.org>

> 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 ?
>
> This is a a configuration change in recent pf_ring. You can fix the
> build by adding LIBs="-lrt" at start of your configure call:
>
> LIBS="-lrt" ./configure
>
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/discussion/attachments/20131206/c7c9b850/attachment.html>


More information about the Discussion mailing list