Snort mailing list archives

Relocation Truncated to Fit


From: Ian Marlier <ian () orcsa uchicago edu>
Date: Mon, 17 Sep 2001 16:21:12 -0500

When trying to build snort (--with-mysql), I get the error message below.

Any one have an idea where the problem is, or how to fix it?

The build is on a Debian Linux system, running on a PowerPC.

THanks,

Ian

ps CC me on replies, because I'm not subscribed to the list.

-------

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap -I/root/mysql-3.23.41/include -DENABLE_MYSQL -g -O2 -Wall -c spo_database.c gcc -g -O2 -Wall -L/root/mysql-3.23.41/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 -lz -lpcap -lm -lnsl -lmysqlclient
spo_database.o: In function `Insert':
/root/snort-1.8.1-RELEASE/spo_database.c:1237: undefined reference to `mysql_errno' /root/snort-1.8.1-RELEASE/spo_database.c:1237: relocation truncated to fit: R_PPC_REL24 mysql_errno /root/snort-1.8.1-RELEASE/spo_database.c:1239: undefined reference to `mysql_error' /root/snort-1.8.1-RELEASE/spo_database.c:1239: relocation truncated to fit: R_PPC_REL24 mysql_error
spo_database.o: In function `Select':
/root/snort-1.8.1-RELEASE/spo_database.c:1371: undefined reference to `mysql_errno' /root/snort-1.8.1-RELEASE/spo_database.c:1371: relocation truncated to fit: R_PPC_REL24 mysql_errno /root/snort-1.8.1-RELEASE/spo_database.c:1373: undefined reference to `mysql_error' /root/snort-1.8.1-RELEASE/spo_database.c:1373: relocation truncated to fit: R_PPC_REL24 mysql_error
--

ian () onepost net
773 667 9763 (home)
773 844 0105 (cell)

Eventually all things merge into one, and a river runs through it. The river was cut by the world's great flood and runs over rocks from the basement of time. On some of the rocks are timeless raindrops. Under the rocks are the words, and some of the words are theirs.

I am haunted by waters.

_______________________________________________
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: