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

Blake Frantz blake at ...319...
Thu Jun 14 16:33:28 EDT 2001


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. 

-------------- next part --------------
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
-------------- next part --------------
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... i686-pc-linux-gnu
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for strings.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/sockio.h... no
checking for paths.h... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether strtoul must be declared... no
checking for snprintf... yes
checking for strerror... yes
checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking for mysql... yes
checking for odbc... no
checking for postgresql... yes
checking for oracle... no
checking for openssl... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for a BSD compatible install... /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h


More information about the Snort-users mailing list