Snort mailing list archives

Re: Snort Build issue


From: Dirk Geschke <dirk () geschke-online de>
Date: Thu, 8 Jul 2004 22:25:14 +0200

Hi Sergio,

Hello, I'm building Snort 2.1.3 on a RH9 box.  Just finished installing
gcc, bison, flex, libpcap 0.8.3, and pcre 4.5.  However, after I
./configure snort, and I make it, I get an undefined reference to
'pcap_lex' in 'pcap_parse'. (See entire error)

[...]

/usr/local/lib/libpcap.a(grammar.o)(.text+0xf61): In function
`pcap_parse':
: undefined reference to `pcap_lex'

this sounds for me as if your libpcap build is incomplete.

Normally pcap_lex should be defined in libpcap.a:

$ nm libpcap.a |grep pcap_lex
00000000 T pcap_lex
         U pcap_lex

This shows that pcap_lex is defined in the text segment of
the library. So maybe the build was not complete?

Best regards

Dirk


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: