Snort mailing list archives

Re: [Snort-devel] DAQ complaint. Unable to build snort snort-2.9.4


From: Hui Cao <hcao () sourcefire com>
Date: Fri, 25 Jan 2013 11:33:38 -0500

Can you provide the config.log file from daq compiling? It appears
daq_static is not configured for daq but configured for snort.

Thanks,
Hui.

On Fri, Jan 25, 2013 at 3:46 AM, עמית קליינמן <a.b.kleinmann () gmail com> wrote:
Hi All,

I am trying to post this message with no luck so far!


I'm trying to install snort 2.9.4 on CentOS 6.3 (64 bits) .

I configured, compiled, and install DAQ successfully by following these
instructions:

·         cd /usr/local/src/daq-2.0.0 <enter>

·         ./configure <enter>

·         make <enter>

·         make install <enter>

Then I followed these instructions to compile SNORT on my CentOS 6.3 system:

·         cd /usr/local/lib <enter>

·         ldconfig –v /usr/local/lib <enter>

·         cd /usr/local/src/snort-2.9.4 <enter>

·         ./configure --enable-sourcefire <enter>

 I get the following error message:



./configure: line 21270: daq-modules-config: command not found checking for
daq_load_modules in -ldaq_static... no

ERROR!  daq_static library not found, go get it from http://www.snort.org/.



When looking at config.log I see there the following lines:



/usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
`num_static_modules'

/usr/local/src/daq-2.0.0/api/daq_base.c:274: undefined reference to
`static_modules'

/usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
`num_static_modules'





My problem appears to be similar to PhilipW's problem posted  here:

http://groups.google.com/group/snortusers/browse_thread/thread/207e39a42b38d144?hl=en

 I've read the README.daq and confirmed that the daq install directory,
"/usr/local/bin", is in my path:

so when I run: $ which daq-modules-config
I get:  /usr/local/bin/daq-modules-config

What can be the cause???

Any help will be very much appreciated.



Amit.


On Thu, Jan 24, 2013 at 11:02 PM, עמית קליינמן <a.b.kleinmann () gmail com>
wrote:

Hello,
I have read messages about similar complaint but I have not been able to
resolve daq complaint during configure.  Will greatly appreciate a nudge
in the right direction.

After running .configure at the directory:  /usr/local/src/snort-2.9.4   -
I get the following message:

./configure: line 21270: daq-modules-config: command not found checking
for daq_load_modules in -ldaq_static... no
ERROR!  daq_static library not found, go get it from
http://www.snort.org/.

When looking at config.log I see there the following lines:

/usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
`num_static_modules'
/usr/local/src/daq-2.0.0/api/daq_base.c:274: undefined reference to
`static_modules'
/usr/local/src/daq-2.0.0/api/daq_base.c:273: undefined reference to
`num_static_modules'


"daq-modules-config" is already  in my PATH so when I run: "which
daq-modules-config" - I get
/usr/local/bin/daq-modules-config

What can be the cause???
Any help will be very much appreciated.

waiting to hear back,

A. Kleinmann




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: