[Snort-users] Snort 1.6.3 compiling problem

Ian Rimmer ian at ...146...
Mon Jul 24 09:57:34 EDT 2000

Hi all

I am having a problem compiling snort 1.6.3 on a Solaris 2.6 box, with
gcc 2.8.1 and libpcap 0.4
 libpcap compiles, and snort gets the the point it wants to build the
binary and dies.

gcc  -g -O2 -Wall  -L/usr/local/lib -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_minfrag.o spp_portscan.o sp_ipoption_check.o
sp_rpc_check.o sp_icmp_id_check.o sp_icmp_seq_check.o respond.o
spo_alert_syslog.o spo_log_tcpdump.o sp_session.o spp_defrag.o
spo_log_database.o spo_alert_fast.o spo_alert_full.o spo_alert_smb.o
spo_alert_unixsock.o  -lpcap -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
pcap_parse                          /usr/local/lib/libpcap.a(gencode.o)
ld: fatal: Symbol referencing errors. No output written to snort
make: *** [snort] Error 1

Any ideas?


More information about the Snort-users mailing list