Snort mailing list archives
Re: snort-1.8.3 compile with GCC.....!!!!
From: Ralf Hildebrandt <Ralf.Hildebrandt () charite de>
Date: Sat, 2 Feb 2002 11:39:22 +0100
On Fri, Feb 01, 2002 at 05:37:19PM -0500, PAD HOSMANE wrote:
Sorry guys i am asking too much, excuse me please i am not an programmer.
Never mind.
Finally i was able to run configure successfully with gcc. Now i am getting error while linking. Error is given below. I tried with Libnet 1.0.2a and libnet 1.0.1, both of them gave the same error. SHLIB_PATH, LD_LIBRARY_PATH, PATH are set. Any inputs will be greatly appreciated. Thanks. gcc -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BIG_ENDIAN -L/opt/libpcap/lib - L/opt/mysql/lib/mysql -L/usr/local/ssl/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_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 debug.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 po_log_null.o -lpcap -lm -lnsl -lmysqlclient -lssl -lcrypto -lnet /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (/usr/local/ssl/lib/libssl.a(t1_clnt.o)) was detected. The linked output may not run on a PA 1.x system. /usr/ccs/bin/ld: Unsatisfied symbols: libnet_error (first referenced in sp_respond.o) (code) libnet_build_icmp_unreach (first referenced in sp_respond.o) (code) libnet_write_ip (first referenced in sp_respond.o) (code) libnet_build_ip (first referenced in sp_respond.o) (code) libnet_build_tcp (first referenced in sp_respond.o) (code) libnet_open_raw_sock (first referenced in sp_respond.o) (code) libnet_init_packet (first referenced in sp_respond.o) (code) libnet_do_checksum (first referenced in sp_respond.o) (code) libnet_destroy_packet (first referenced in sp_react.o) (code) libnet_get_prand (first referenced in sp_respond.o) (code)
Run "nm" on the libnet.* libraries. Does that list the symbols unsatisfied above? -- Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandt () charite de Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 During the million-dollar BIND 9 rewrite, Paul Vixie characterized the original BIND code as 'sleazeware produced in a drunken fury by a bunch of U C Berkeley grad students.' -- D.J. Bernstein _______________________________________________ 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:
- snort-1.8.3 compile with GCC.....!!!! PAD HOSMANE (Feb 01)
- <Possible follow-ups>
- RE: snort-1.8.3 compile with GCC.....!!!! PAD HOSMANE (Feb 01)
- RE: snort-1.8.3 compile with GCC.....!!!! PAD HOSMANE (Feb 01)
- RE: snort-1.8.3 compile with GCC.....!!!! PAD HOSMANE (Feb 01)
- Re: snort-1.8.3 compile with GCC.....!!!! Ralf Hildebrandt (Feb 02)
- Re: snort-1.8.3 compile with GCC.....!!!! Ralf Hildebrandt (Feb 02)
- RE: snort-1.8.3 compile with GCC.....!!!! PAD HOSMANE (Feb 01)
- Re: snort-1.8.3 compile with GCC.....!!!! Ralf Hildebrandt (Feb 01)
- Re: snort-1.8.3 compile with GCC.....!!!! Fyodor (Feb 02)
- snort-1.8.3 compile with GCC.....!!!! Sixonetonoffun1 (Feb 01)