[Snort-users] UPDATE:: Compilation errors with mySQL

Blake Frantz blake at ...319...
Thu Jun 14 17:56:23 EDT 2001


Here are the results of "make".  I don't see any errors in it.

Again, thanks for the help.

-Blake

================================================================= 
The Government, like diapers, should be replaced regularly, and
often for the same reasons. 

On Thu, 14 Jun 2001 roman at ...438... wrote:

> What is the error message produced by "make".  The file
> "snort_error" that was attached is merely linker output.
> 
> Roman
> 
> > 
> > I have also attached the results of ./configure
> > --with-mysql=/usr/loca/mysql
> > 
> > Thanks again
> > 
> > -Blake
> > ================================================================= 
> > The Government, like diapers, should be replaced regularly, and
> > often for the same reasons. 
> > 
> > ---------- Forwarded message ----------
> > Date: Thu, 14 Jun 2001 15:05:57 -0500 (CDT)
> > From: Blake Frantz <blake at ...319...>
> > To: snort-users at lists.sourceforge.net
> > Subject: Compilation errors with mySQL
> > 
> > 
> > The attached is the error message returned by snort when I try to 'make'
> > 
> > Below are the platform details:
> > - Fresh Install of RedHat 7.1
> > - mySQL version = 'Ver 11.15 Distrib 3.23.39, for pc-linux-gnu (i686)'
> > - mySQL include directory = /usr/local/mysql/include
> > - snort verion 1.7 configured  with --with-mysql=/usr/local/mysql
> >   (this is succuessful as far as I can see)
> > 
> > Any help would be greatly appreciated.
> > 
> > -Blake
> > 
> > ================================================================= 
> > The Government, like diapers, should be replaced regularly, and
> > often for the same reasons. 
> > 
> > 
> 
> 
> 
> ---------------------------------------------
> This message was sent using Voicenet WebMail.
>       http://www.voicenet.com/webmail/
> 
> 
> 
-------------- next part --------------
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c snort.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c mstring.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c rules.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c plugbase.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_pattern_match.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_tcp_flag_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_icmp_type_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_icmp_code_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_ttl_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_ip_id_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_tcp_ack_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_tcp_seq_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_dsize_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spp_http_decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spp_minfrag.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spp_portscan.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_ipoption_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_rpc_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_icmp_id_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_icmp_seq_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_respond.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_alert_syslog.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_log_tcpdump.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_database.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_session.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spp_defrag.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c parser.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_alert_fast.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_alert_full.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_alert_smb.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_alert_unixsock.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_react.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spo_xml.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_ip_tos_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spp_tcp_stream.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c snprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c checksum.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_reference.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c sp_ip_fragbits.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/local/mysql/include -DENABLE_MYSQL -I/usr/include/pgsql -DENABLE_POSTGRESQL -I/usr/include -DENABLE_SSL  -g -O2 -Wall  -c spp_anomsensor.c
gcc  -g -O2 -Wall  -L/usr/local/mysql/lib -L/usr/lib -L/usr/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 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 spp_tcp_stream.o snprintf.o checksum.o sp_reference.o sp_ip_fragbits.o spp_anomsensor.o  -lpcap -lm -lnsl  -lm -lmysqlclient -lpq -lssl -lcrypto


More information about the Snort-users mailing list