Eric
you forgot to compile the PF_RING library, Users Guide section 7.2:

$ cd ~/PF_RING/userland/lib; ./configure; make

Alfredo

On Aug 31, 2012, at 10:27 PM, Eric Luellen <[email protected]> wrote:

> Alfredo,
> 
> Thank you for those links. I followed these instructions and ran into another 
> compile issue.
> 
> 1. Installed snort-2.9.3.1 by doing the basic "./configure && make && make 
> install"
> 2. Installed daq-1.1.1 by doing the basic "./configure && make && make 
> install"
> 3. Downloaded the latest SVN of PF_RING and followed these instructions.
> - cd ~/PF_RING/kernel
> - make (the instructions said to only do make install but it wouldn't work 
> unless I did make first)
> - make install
> - cd ~PF_RING/userland/snort/pfring-daq-module
> - autoreconf -ivf
> - ./configure --with-pfring-kernel-includes=/tmp/PF_RING/kernel/ 
> --with-libpfring-libraries=/tmp/PF_RING/userland/lib/ 
> --with-libpfring-includes=/tmp/PF_RING/userland/lib/
> - make
> 
> When I run the make command, I get the following error:
> 
> /usr/bin/ld: cannot find -lpfring
> collect2: ld returned 1 exit status
> make[1]: *** [daq_pfring.la] Error 1
> make[1]: Leaving directory `/tmp/PF_RING/userland/snort/pfring-daq-module'
> make: *** [all] Error 2
> 
> Eric
> 
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Alfredo 
> Cardigliano
> Sent: Friday, August 31, 2012 9:31 AM
> To: [email protected]
> Subject: Re: [Ntop-misc] Snort + PF_RING + DAQ
> 
> Eric
> you can use the latest SVN code, following the README.1st guide for an 
> initial installation:
> https://svn.ntop.org/svn/ntop/trunk/PF_RING/userland/snort/pfring-daq-module/README.1st
> 
> If you are new also with PF_RING, you can start with the Users Guide 
> available here:
> https://svn.ntop.org/svn/ntop/trunk/PF_RING/doc/UsersGuide.pdf
> 
> Alfredo
> 
> On Aug 31, 2012, at 2:48 PM, Eric Luellen <[email protected]> wrote:
> 
>> Yuri,
>> 
>> Can you tell me what are all of the command line install options you use for 
>> the initial PF_RING install and the snort-daq-module? I've read a lot of 
>> different posts and they all seem to be slightly different and all seem to 
>> vary on the version of each component installed.
>> 
>> Eric
>> 
>> -----Original Message-----
>> From: [email protected] 
>> [mailto:[email protected]] On Behalf Of Yuri 
>> Francalacci
>> Sent: Friday, August 31, 2012 3:14 AM
>> To: [email protected]
>> Subject: Re: [Ntop-misc] Snort + PF_RING + DAQ
>> 
>> It seems you do not have the pfring userland library correctly installed or 
>> it is not in you library path.
>> Regards, Yuri
>> On 30/ago/2012, at 21:35, Eric Luellen <[email protected]> wrote:
>> 
>>> Hello,
>>> 
>>> I've been playing around with PR_RING lately on Snort and haven't had a 
>>> whole lot of luck. I've followed the instructions found herewith minimal 
>>> success. I've ran into various compile errors and it always seems to be 
>>> around the pfring-daq-module. The 2 main errors I've ran into at different 
>>> times depending on how I try to install it are:
>>> 
>>> configure: error: C compiler cannot create executables
>>> 
>>> and
>>> 
>>> /usr/bin/ld: cannot find -lpfring
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [daq_pfring.la] Error 1
>>> make[1]: Leaving directory `/tmp/PF_RING/userland/snort/pfring-daq-module'
>>> 
>>> Are there any prebuilt RPMs or updated instructions using the latest 
>>> version of all of the programs in question? I've tried a few combinations 
>>> and have read how some of the older DAQ versions are no longer supported 
>>> and others have had issues with the newer version. So any help or links to 
>>> new guides would be greatly appreciated. I originally posted this to the 
>>> Snort mailing but they believed this list would be more helpful since my 
>>> specific issue is the pfring-daq-module.
>>> 
>>> Eric
>>> 
>>> 
>>> --
>>> The sender of this email subscribes to Perimeter E-Security's email 
>>> anti-virus service. This email has been scanned for malicious code 
>>> and is  believed to be virus free. For more information on email 
>>> security please
>>> visit: 
>>> http://www.perimeterusa.com/services/messaging
>>> 
>>> This communication is confidential, intended only for the named
>>> recipient(s)  above and may contain trade secrets or other 
>>> information that is exempt from  disclosure under applicable law. Any 
>>> use, dissemination, distribution or  copying of this communication by 
>>> anyone other than the named recipient(s) is  strictly prohibited. If 
>>> you have received this communication in error, please  delete the email and 
>>> immediately notify our Command Center at 203-541-3444.
>>> 
>>> 
>>> _______________________________________________
>>> Ntop-misc mailing list
>>> [email protected]
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> 
>> ###############################################
>> Yuri Francalacci   -   [email protected]   -   http://www.ntop.org
>> "Simplicity is the ultimate sophistication" - Leonardo da Vinci 
>> ###############################################
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> 
>> 
>> 
>> --
>> The sender of this email subscribes to Perimeter E-Security's email 
>> anti-virus service. This email has been scanned for malicious code and 
>> is believed to be virus free. For more information on email security 
>> please
>> visit: http://www.perimeterusa.com/services/messaging
>> This communication is confidential, intended only for the named 
>> recipient(s) above and may contain trade secrets or other information 
>> that is exempt from disclosure under applicable law. Any use, 
>> dissemination, distribution or copying of this communication by anyone 
>> other than the named recipient(s) is strictly prohibited. If you have 
>> received this communication in error, please delete the email and 
>> immediately notify our Command Center at 203-541-3444.
>> 
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> 
> 
> 
> --
> The sender of this email subscribes to Perimeter E-Security's email
> anti-virus service. This email has been scanned for malicious code and is
> believed to be virus free. For more information on email security please
> visit: http://www.perimeterusa.com/services/messaging
> This communication is confidential, intended only for the named recipient(s)
> above and may contain trade secrets or other information that is exempt from
> disclosure under applicable law. Any use, dissemination, distribution or
> copying of this communication by anyone other than the named recipient(s) is
> strictly prohibited. If you have received this communication in error, please
> delete the email and immediately notify our Command Center at 203-541-3444.
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to