[Snort-users] Relocation Truncated to Fit

Ian Marlier ian at ...3467...
Mon Sep 17 14:22:02 EDT 2001


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 at ...3468...
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.




More information about the Snort-users mailing list