Snort mailing list archives
Re: Compiling 1.8.2 on redhat 7.2...
From: Victor Barahona <victor.barahona () uam es>
Date: Mon, 5 Nov 2001 19:47:04 +0100
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Lun 05 Nov 2001 18:48, Victor Barahona escribió:
El Sáb 03 Nov 2001 20:48, escribió:I receive this problem compiling snort 1.8.2 on a redhat 7.2 with kernel 2.4.13:Same problem here, RedHat 7.0 with kernel 2.2.16-22. No problem compiling 1.8.0 1.8.1 snort releases in the same platform.
Ok, I think I got it. It seems something is wrong. When I use ./configure --enable-smbalerts --enable-flexresp I got: checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes [...] checking "for libnet.h"... /usr/local/include checking for u_int8_t... no <------------------------* checking for u_int16_t... no <------------------------* checking for u_int32_t... no <------------------------* checking for a BSD compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating config.h And when I do make I have the error [root@silvestre snort-1.8.2]# make gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap -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: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: *** [snort.o] Error 1 The thing is that when I use just ./configure I got: checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes [...] checking for pcap_datalink in -lpcap... yes checking for u_int8_t... yes <------------------------* checking for u_int16_t... yes <------------------------* checking for u_int32_t... yes <------------------------* checking for a BSD compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating config.h And then the make works and everything compile OK. Is something wrong or I missing something? Regards. - -- "Alone? you are not alone, Bigbrother is watching you" - ------------------------------------------------------------------------ Victor Barahona Cabezon http://rincon.uam.es/dir?cw=870938110351562 PGP ID-0x8750AB79 Soporte Seguridad en red........................http://www.utc.uam.es/ss - ------------------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE75t6oShbwHIdQq3kRAhs/AKC8Ael2zV86P1aEKW4XWe/nNsRe6ACg21BJ zn7fB7lgqVw4cZJ54sgKSrQ= =7yJG -----END PGP SIGNATURE----- _______________________________________________ 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:
- Compiling 1.8.2 on redhat 7.2... Federico (Nov 03)
- Re: Compiling 1.8.2 on redhat 7.2... Victor Barahona (Nov 05)
- Re: Compiling 1.8.2 on redhat 7.2... Victor Barahona (Nov 05)
- Re: Compiling 1.8.2 on redhat 7.2... Chris Green (Nov 05)
- Re: Compiling 1.8.2 on redhat 7.2... Victor Barahona (Nov 05)