Snort mailing list archives
Compile errors in Snort 1.8.6 with flexresp
From: "Baxter, John" <JHB () cbsnews com>
Date: Tue, 7 May 2002 07:58:10 -0400
When 'make'ing snort 1.8.6 after configuring --with-mysql and --enable-flexresp I get the following errors: # cd snort-1.8.6 # ./configure --with-mysql=/usr/local --enable-flexresp 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... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing 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... i386-unknown-openbsd2.9 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... yes checking for paths.h... yes checking for inet_ntoa in -lnsl... no 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 snprintf must be declared... no checking whether strtoul must be declared... no checking for snprintf... yes checking for strlcpy... yes checking for strlcat... yes checking for strerror... yes checking for floor in -lm... yes checking for pcap_datalink in -lpcap... yes checking for mysql... yes checking for compress in -lz... yes checking for libnet.h... /usr/local/include 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 win32/Makefile creating win32/WIN32-Code/Makefile creating win32/WIN32-Includes/Makefile creating win32/WIN32-Libraries/Makefile creating win32/WIN32-Includes/Makefile creating win32/WIN32-Includes/libnet/Makefile creating win32/WIN32-Includes/mysql/Makefile creating win32/WIN32-Includes/rpc/Makefile creating win32/WIN32-Libraries/Makefile creating config.h # make && make install make all-recursive Making all in win32 Making all in WIN32-Code Making all in WIN32-Includes Making all in libnet Making all in mysql Making all in rpc Making all in WIN32-Libraries gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c snort.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c log.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c decode.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c mstring.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c rules.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c plugbase.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_pattern_match.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_tcp_flag_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_icmp_type_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_icmp_code_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_ttl_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_ip_id_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_tcp_ack_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_tcp_seq_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_dsize_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c spp_http_decode.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c spp_portscan.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_ipoption_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_rpc_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_icmp_id_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_icmp_seq_check.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -I/usr/local/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_respond.c In file included from /usr/local/include/libnet.h:51, from sp_respond.c:35: /usr/include/netinet/ip.h:110: warning: `IPOPT_EOL' redefined decode.h:306: warning: this is the location of the previous definition /usr/include/netinet/ip.h:111: warning: `IPOPT_NOP' redefined decode.h:310: warning: this is the location of the previous definition /usr/include/netinet/ip.h:113: warning: `IPOPT_RR' redefined decode.h:314: warning: this is the location of the previous definition /usr/include/netinet/ip.h:114: warning: `IPOPT_TS' redefined decode.h:322: warning: this is the location of the previous definition /usr/include/netinet/ip.h:115: warning: `IPOPT_SECURITY' redefined decode.h:326: warning: this is the location of the previous definition /usr/include/netinet/ip.h:116: warning: `IPOPT_LSRR' redefined decode.h:330: warning: this is the location of the previous definition /usr/include/netinet/ip.h:117: warning: `IPOPT_SATID' redefined decode.h:338: warning: this is the location of the previous definition /usr/include/netinet/ip.h:118: warning: `IPOPT_SSRR' redefined decode.h:342: warning: this is the location of the previous definition In file included from /usr/local/include/libnet.h:52, from sp_respond.c:35: /usr/include/net/if.h:80: redefinition of `struct if_data' /usr/include/net/if.h:116: redefinition of `struct ifnet_head' /usr/include/net/if.h:125: redefinition of `struct ifnet' /usr/include/net/if.h:149: redefinition of `struct ifqueue' /usr/include/net/if.h:251: redefinition of `struct ifaddr' /usr/include/net/if.h:272: redefinition of `struct ifprefix' /usr/include/net/if.h:284: redefinition of `struct if_msghdr' /usr/include/net/if.h:298: redefinition of `struct ifa_msghdr' /usr/include/net/if.h:314: redefinition of `struct ifreq' /usr/include/net/if.h:334: redefinition of `struct ifaliasreq' /usr/include/net/if.h:342: redefinition of `struct ifmediareq' /usr/include/net/if.h:359: redefinition of `struct ifconf' /usr/include/net/if.h:372: redefinition of `struct if_laddrreq' /usr/include/net/if.h:381: redefinition of `struct if_nameindex' In file included from /usr/include/net/if.h:395, from /usr/local/include/libnet.h:52, from sp_respond.c:35: /usr/include/net/if_arp.h:49: redefinition of `struct arphdr' /usr/include/net/if_arp.h:79: redefinition of `struct arpreq' *** Error code 1 Stop in /snort-1.8.6. *** Error code 1 Stop in /snort-1.8.6 (line 292 of Makefile). *** Error code 1 Stop in /snort-1.8.6 (line 421 of Makefile). Does anybody have any idea what the fault/mistake might be? John Baxter _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: bandwidth () sourceforge net _______________________________________________ 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:
- Compile errors in Snort 1.8.6 with flexresp Baxter, John (May 07)
- Re: Compile errors in Snort 1.8.6 with flexresp Chris Green (May 07)
- <Possible follow-ups>
- RE: Compile errors in Snort 1.8.6 with flexresp Baxter, John (May 07)