Snort mailing list archives

Re: Compiling 1.8.2 on redhat 7.2...


From: Chris Green <cmg () uab edu>
Date: Mon, 05 Nov 2001 15:39:29 -0600

"Federico" <egopfe () hotmail com> 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@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]#

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 () uab edu>
Let not the sands of time get in your lunch.

_______________________________________________
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: