Snort mailing list archives
RE: Compiling Snort 1.8.4 (Build 99) Fails on RH 7. 2
From: "Sheahan, Paul (PCLN-NW)" <Paul.Sheahan () priceline com>
Date: Thu, 28 Mar 2002 20:00:56 -0500
I just ran into a similar problem like this today under RHLinux 7.0 and Erek Adams had given me a few hints and also found a few docs on the Internet that seemed similar. I don't have a lot of experience with this but fumbled with it and got it to work. These "uintX_t" references (where X is 8, 16 or 32) appear to be declared an extra time somewhere. So referring to the lines below, I went into /usr/include/sys/types.h and removed lines 196, 197 and 198 (as referenced here). Then the compile worked. /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 Paul Sheahan Manager of Information Security Priceline.com paul.sheahan () priceline com -----Original Message----- From: J.R. Swartz [mailto:jrswartz () satx rr com] Sent: Thursday, March 28, 2002 6:11 PM To: snort-users () lists sourceforge net Subject: [Snort-users] Compiling Snort 1.8.4 (Build 99) Fails on RH 7.2 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 () satx rr com mailto:jswartz () tinfosol com ------------------------------------- In the beginning God created the Apple... Then he realized what a complete failure the MAC OS was so he created Unix! _______________________________________________ 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 _______________________________________________ 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:
- RE: Compiling Snort 1.8.4 (Build 99) Fails on RH 7. 2 Sheahan, Paul (PCLN-NW) (Mar 28)