[Snort-users] Compiling Snort 1.8.4 (Build 99) Fails on RH 7.2

J.R. Swartz jrswartz at ...539...
Thu Mar 28 15:11:44 EST 2002


My compile for snort (using --enable-flexresp) keeps failing during the
make. The following errors are:

        *******************************
        make[2]: Entering directory `/var/tmp/snort-1.8.4'
        gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap
-I/usr/include -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE
        -D__B
        SD_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: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
        make[2]: *** [snort.o] Error 1
        make[2]: Leaving directory `/var/tmp/snort-1.8.4'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/var/tmp/snort-1.8.4'
        make: *** [all-recursive-am] Error 2

        *************************************

I have Libnet installed as required.
I am running RH Linux 7.2
I am attempting to compile snort 1.8.4 (Build 99)


Any hints would be greatly appreciated?


Thanks.

--
J.R. Swartz
Veridian Information Solutions
Trusted Technologies

http://www.tinfosol.com

mailto:jrswartz at ...539...
mailto:jswartz at ...5428...
-------------------------------------
In the beginning God created the Apple...
Then he realized what a complete failure the MAC OS was so he created
Unix!






More information about the Snort-users mailing list