[Snort-users] Compile problem

Kevin Pietersma kev at ...526...
Thu Oct 4 08:03:05 EDT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I've been getting this error when trying to compile SNORT on two separate 
machines on my home network;

Mandrake 8.0
CVS version of SNORT 10/04/01

./configure --with-openssl --with-mysql=/usr --enable-flexresp 
- --enable-smbalerts
<snip... no configure errors>
make
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql 
- -DENABLE_MYSQL -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 snort.c
In file included from /usr/include/netinet/in.h:23,
                  from snort.h:43,
                  from snort.c:45:
/usr/include/stdint.h:51: redefinition of `uint8_t'
/usr/include/sys/types.h:190: `uint8_t' previously declared here
/usr/include/stdint.h:52: redefinition of `uint16_t'
/usr/include/sys/types.h:191: `uint16_t' previously declared here
/usr/include/stdint.h:54: redefinition of `uint32_t'
/usr/include/sys/types.h:192: `uint32_t' previously declared here
make: *** [snort.o] Error 1

=======================================================================


ReadHat 6.2 box
CVS version of SNORT 10/04/01
NOTE:  this is my old SNORT box and it used to compile SNORT without 
problems.

./configure --with-openssl --with-mysql=/usr --enable-flexresp 
- --enable-smbalerts
<snip... no configure errors>
make
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql 
- -DENABLE_MYSQL -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 snort.c
In file included from /usr/include/errno.h:36,
                  from snort.h:38,
                  from snort.c:45:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:126,
                  from /usr/include/limits.h:30,
                  from /usr/include/bits/socket.h:31,
                  from /usr/include/sys/socket.h:34,
                  from snort.h:41,
                  from snort.c:45:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
                  from snort.h:41,
                  from snort.c:45:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
In file included from /usr/include/rpc/types.h:64,
                  from snort.h:55,
                  from snort.c:45:
/usr/include/sys/param.h:24: linux/limits.h: No such file or directory
/usr/include/sys/param.h:25: linux/param.h: No such file or directory
In file included from /usr/include/signal.h:300,
                  from snort.h:66,
                  from snort.c:45:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:27,
                  from plugbase.h:82,
                  from snort.h:315,
                  from snort.c:45:
/usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
                  from plugbase.h:82,
                  from snort.h:315,
                  from snort.c:45:
/usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or directory
make: *** [snort.o] Error 1


Any thoughts?  I guess it's obvious I'm not a programmer.

kev
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2

iQA/AwUBO7x6BH1T/VE5VwtvEQJLEACfUFy7I106lR4EPh31cK793kt4h7oAn1GF
s9cN3yaBwPX7ZPtTfjEQ51+j
=aDzd
-----END PGP SIGNATURE-----





More information about the Snort-users mailing list