Snort mailing list archives
flexresp, OpenBSD 2.9, snort 1.8p1 and 1.8.1-beta3
From: "Khristian Pauze" <pauzek () videotron ca>
Date: Fri, 20 Jul 2001 16:31:20 -0400
Is it me or is this an old problem that just re-surfaced with 1.8? Here's how far it goes for both versions of snort 1.8p1 and 1.8.1-beta3 on OpenBSD 2.9 with libnet-1.0.2a localprompt# ./configure --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... 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... 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 odbc... no checking for postgresql... no checking for oracle... no checking for openssl... 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 config.h dryad# make cd . && aclocal cd . && automake --foreign Makefile cd . && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status creating Makefile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/mysql -DENABLE_MYSQL -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/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 -DENABLE_SSL -I/usr/include -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_ENDIAN -c sp_respond.c In file included from snort.h:50, from sp_respond.h:23, 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 snort.h:50, from sp_respond.h:23, 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 /root/snort. localprompt#
Current thread:
- flexresp, OpenBSD 2.9, snort 1.8p1 and 1.8.1-beta3 Khristian Pauze (Jul 20)