[Snort-users] Snort Build issue
dirk at ...10648...
Thu Jul 8 13:26:04 EDT 2004
> 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
> : 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
This shows that pcap_lex is defined in the text segment of
the library. So maybe the build was not complete?
More information about the Snort-users