[Snort-users] compile help or Binaries/RPMs available?

Travis Farmer travis5765 at ...125...
Tue Sep 4 17:55:03 EDT 2001

>From: "Travis Farmer" <travis5765 at ...125...>

You can disregard the preevious post. i figured it out.
when i installed the libpcap RPM i forgot to install the dev package.


>I have Linux Mandrake 7.2 (kernal 2.2.17) on a I586.
>I can't seem to compile and install snort.
>i get the following when i run "make".
>gcc  -g -O2 -Wall  -o snort  snort.o log.o decode.o mstring.o rules.o
>plugbase.o sp_pattern_match.o sp_tcp_flag_check.o sp_icmp_type_check.o
>sp_icmp_code_check.o sp_ttl_check.o sp_ip_id_check.o sp_tcp_ack_check.o
>sp_tcp_seq_check.o sp_dsize_check.o spp_http_decode.o spp_portscan.o
>sp_ipoption_check.o sp_rpc_check.o sp_icmp_id_check.o sp_icmp_seq_check.o
>sp_respond.o spo_alert_syslog.o spo_log_tcpdump.o spo_database.o
>sp_session.o spp_defrag.o parser.o spo_alert_fast.o spo_alert_full.o
>spo_alert_smb.o spo_alert_unixsock.o sp_react.o spo_xml.o sp_ip_tos_check.o
>snprintf.o checksum.o spp_tcp_stream2.o sp_reference.o sp_ip_fragbits.o
>spp_anomsensor.o tag.o spp_unidecode.o codes.o strlcpyu.o strlcatu.o 
>sp_tcp_win_check.o spp_rpc_decode.o spp_bo.o spp_telnet_negotiation.o
>spo_csv.o sp_ip_same_check.o sp_priority.o sp_ip_proto.o ubi_BinTree.o
>ubi_SplayTree.o spo_unified.o spp_stream4.o spp_frag2.o spp_arpspoof.o
>spo_idmef.o spo_SnmpTrap.o  -lpcap -lm -lnsl
>/usr/local/lib/libpcap.a(gencode.o): In function `pcap_compile':
>gencode.o(.text+0x245): undefined referance to `lex_init'
>/usr/local/lib/libpcap.a(gencode.p): In function `pcap_parse':
>grammar.o(.text+0x1c1): undefined referance to `pcap_lex'
>collect2: ld returned 1 exit status
>make: *** [snort] Error 1
>if nobody can help with the above issue, does somebody happen to have a RPM
>for linux 2.2.17 (mdk7.2) on a I586?
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>Snort-users mailing list
>Snort-users at lists.sourceforge.net
>Go to this URL to change user options or unsubscribe:
>Snort-users list archive:

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

More information about the Snort-users mailing list