Snort mailing list archives
Problems compiling 1.9.1 on IRIX 6.5.x
From: Eric Kimminau <eak () kimminau org>
Date: Tue, 18 Mar 2003 00:45:23 -0500
I am trying to compile on IRIX 6.5.x using up to date freeware installs of libpcap, gcc, autoconf, automake, etc. and I have hit a wall. I am severly stuck.
I modified the configure script for irix to look in usr/freeware/include and in /usr/freeware/lib32 for libpcap. Following is the session from configure with: --with-libpcap-includes=/usr/freeware/include --with-libpcap-libraries=/usr/freeware/lib32
/SNORT/snort-1.9.1(91)>./configure --with-libpcap-includes=/usr/freeware/include --with-libpcap-libraries=/usr/freeware/lib32
checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for gcc option to accept ANSI C... no checking for ranlib... : checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking build system type... mips-sgi-irix6.5 checking host system type... mips-sgi-irix6.5 checking whether byte ordering is bigendian... yes ./configure[3794]: -L/usr/freeware/lib32: not found checking for sparc alignment... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for strings.h... (cached) no checking for string.h... (cached) no checking for stdlib.h... (cached) no checking for unistd.h... (cached) no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking paths.h usability... no checking paths.h presence... yes configure: WARNING: paths.h: present but cannot be compiled configure: WARNING: paths.h: check for missing prerequisite headers? configure: WARNING: paths.h: proceeding with the preprocessor's result checking for paths.h... yes checking whether printf must be declared... yes checking whether fprintf must be declared... yes checking whether syslog must be declared... yes checking whether puts must be declared... yes checking whether fputs must be declared... yes checking whether fputc must be declared... yes checking whether fopen must be declared... yes checking whether fclose must be declared... yes checking whether fwrite must be declared... yes checking whether fflush must be declared... yes checking whether getopt must be declared... yes checking whether bzero must be declared... yes checking whether bcopy must be declared... yes checking whether memset must be declared... yes checking whether strtol must be declared... yes checking whether strcasecmp must be declared... yes checking whether strncasecmp must be declared... yes checking whether strerror must be declared... yes checking whether perror must be declared... yes checking whether socket must be declared... yes checking whether sendto must be declared... yes checking whether vsnprintf must be declared... yes checking whether snprintf must be declared... yes checking whether strtoul must be declared... yes checking for snprintf... yes checking for strlcpy... no checking for strlcat... no checking for strerror... yes checking for floor in -lm... yes checking for pcap_datalink in -lpcap... yes checking for u_int8_t... no checking for u_int16_t... no checking for u_int32_t... no checking for a BSD-compatible install... ./install-sh -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/detection-plugins/Makefile config.status: creating src/output-plugins/Makefile config.status: creating src/preprocessors/Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating etc/Makefile config.status: creating rules/Makefile config.status: creating templates/Makefile config.status: creating src/win32/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands And the output of make: /SNORT/snort-1.9.1(94)>make make all-recursive Making all in src Making all in win32 Making all in output-pluginsgcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/freeware/include -I../../src/output-plugins -I../../src/detection-plugins -I../../src/preprocessors -I/usr/freeware/include -g -O2 -Wall -c `test -f 'spo_alert_fast.c' || echo './'`spo_alert_fast.c
In file included from ../../src/event.h:28, from spo_alert_fast.c:41:/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:40:32: internal/sgimacros.h: No such file or directory
In file included from ../../src/event.h:28, from spo_alert_fast.c:41:/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:243: syntax error before "typedef" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:261: syntax error before "typedef" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:273: syntax error before "typedef" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:298: syntax error before "typedef"
In file included from ../../src/event.h:28, from spo_alert_fast.c:41:/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:561: parse error before "__SGI_LIBC_USING_FROM_STD" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:562: parse error before "__SGI_LIBC_USING_FROM_STD"
In file included from ../../src/event.h:30, from spo_alert_fast.c:41: /usr/include/sys/time.h: In function `__SGI_LIBC_USING_FROM_STD': /usr/include/sys/time.h:65: storage class specified for parameter `stamp_t' /usr/include/sys/time.h:69: parse error before "stamp_t" /usr/include/sys/time.h:65: parm types given both in parmlist and separately/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:562: parameter name omitted
/usr/include/sys/time.h: At top level: /usr/include/sys/time.h:112: field `it_interval' has incomplete type /usr/include/sys/time.h:113: field `it_value' has incomplete type /usr/include/sys/time.h:114: confused by earlier errors, bailing out *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) And just to show: /SNORT/snort-1.9.1(96)>aclocal /SNORT/snort-1.9.1(97)>autoconf /SNORT/snort-1.9.1(98)>automake /SNORT/snort-1.9.1(99)>make install Making install in src Making install in win32 cd ../.. && /bin/sh ./config.status src/win32/Makefile config.status: creating src/win32/Makefile Making install in output-plugins cd ../.. && /bin/sh ./config.status src/output-plugins/Makefile config.status: creating src/output-plugins/Makefilegcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/freeware/include -I../../src/output-plugins -I../../src/detection-plugins -I../../src/preprocessors -I/usr/freeware/include -g -O2 -Wall -c `test -f 'spo_alert_fast.c' || echo './'`spo_alert_fast.c
In file included from ../../src/event.h:28, from spo_alert_fast.c:41:/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:40:32: internal/sgimacros.h: No such file or directory
In file included from ../../src/event.h:28, from spo_alert_fast.c:41:/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:243: syntax error before "typedef" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:261: syntax error before "typedef" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:273: syntax error before "typedef" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:298: syntax error before "typedef"
In file included from ../../src/event.h:28, from spo_alert_fast.c:41:/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:561: parse error before "__SGI_LIBC_USING_FROM_STD" /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:562: parse error before "__SGI_LIBC_USING_FROM_STD"
In file included from ../../src/event.h:30, from spo_alert_fast.c:41: /usr/include/sys/time.h: In function `__SGI_LIBC_USING_FROM_STD': /usr/include/sys/time.h:65: storage class specified for parameter `stamp_t' /usr/include/sys/time.h:69: parse error before "stamp_t" /usr/include/sys/time.h:65: parm types given both in parmlist and separately/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.2.1/include/sys/types.h:562: parameter name omitted
/usr/include/sys/time.h: At top level: /usr/include/sys/time.h:112: field `it_interval' has incomplete type /usr/include/sys/time.h:113: field `it_value' has incomplete type /usr/include/sys/time.h:114: confused by earlier errors, bailing out *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) Any comments or suggestions would be GREATLY appreciated. Thanks! Eric. -------------------------------------------------------This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ 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:
- Problems compiling 1.9.1 on IRIX 6.5.x Eric Kimminau (Mar 17)