[Snort-users] Compiling 1.8.2 on redhat 7.2...

Chris Green cmg at ...671...
Mon Nov 5 13:40:02 EST 2001


"Federico" <egopfe at ...125...> writes:

> 1.  (*) text/plain          ( ) text/html           
>
> I receive this problem compiling snort 1.8.2 on a redhat 7.2 with kernel
> 2.4.13:

Real Answer way down below.  Just a warning for now, there seems to be
a problem with flexresp for the moment and we're trying to investigate
it.  I'd advise to disable flexresp
>  
>  
> Configured with:
>  
> [root at ...3992... 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 at ...3992... 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 at ...3992... snort-1.8.2]#

Try running aclocal and automake from the same directory.  That
atleast made it compile on redhat 7.2 although I'm not seeing reset
packets get sent from it at the moment.

Going to go test some more this afternoon.
-- 
Chris Green <cmg at ...671...>
Let not the sands of time get in your lunch.




More information about the Snort-users mailing list