[Snort-sigs] Compiling SNORT with flexresp

J.R. Swartz jrswartz at ...480...
Thu Mar 28 14:26:15 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. Any hints?

        Thanks.






More information about the Snort-sigs mailing list