Snort mailing list archives

Compiling 1.8.2 on redhat 7.2...


From: "Federico" <egopfe () hotmail com>
Date: Sat, 3 Nov 2001 20:48:03 +0100

I receive this problem compiling snort 1.8.2 on a redhat 7.2 with kernel 2.4.13:


Configured with:

[root@firewall snort-1.8.2]# ./configure --prefix=/usr/snort182  --enable-smbalerts    --enable-flexresp     
--with-snmp=/usr/snmp --with-openssl=/usr/local/ssl  --with-mysql=/usr/local


Compiled with:


[root@firewall snort-1.8.2]# gmake all
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/snmp/include -DENABLE_SNMP -I/usr/local/ssl/include 
-DENABLE_SSL -I/usr/include  -g -O2 -Wall -DENABLE_SMB_ALERTS -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE 
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c sp_icmp_type_check.c
In file included from /usr/include/netinet/in.h:23,
                 from snort.h:43,
                 from sp_icmp_type_check.h:23,
                 from sp_icmp_type_check.c:20:
/usr/include/stdint.h:49: redefinition of `uint8_t'
/usr/include/sys/types.h:196: `uint8_t' previously declared here
/usr/include/stdint.h:50: redefinition of `uint16_t'
/usr/include/sys/types.h:197: `uint16_t' previously declared here
/usr/include/stdint.h:52: redefinition of `uint32_t'
/usr/include/sys/types.h:198: `uint32_t' previously declared here
gmake: *** [sp_icmp_type_check.o] Error 1
[root@firewall snort-1.8.2]#


Current thread: