Snort mailing list archives
event.h error compiling Barnyard-0.1.0-beta4
From: "Crow, Owen" <Owen_Crow () bmc com>
Date: Tue, 11 Dec 2001 14:54:45 -0600
I've seen two previous references to this same problem with no answers on both FreeBSD 4.4 and Redhat 6.2: http://groups.google.com/groups?as_q=field%20ref_time%20has%20incomplete%20t ype&hl=en I'm trying to compile Barnyard-0.1.0-beta4 on Debian GNU/Linux 2.2 system. I've installed libpcap-0.6.2 and snort-1.8.3 manually without errors. This is what happens when I try to install Barnyard: hou-snort-1:~/src/barnyard-0.1.0-beta4# ./configure 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 working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found 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 executable suffix... checking for object suffix... 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 for ranlib... 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 build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether byte ordering is bigendian... no checking how to run the C preprocessor... gcc -E checking for strings.h... yes checking for string.h... yes checking for stdlib.h... yes checking for unistd.h... yes checking for sys/sockio.h... no checking for paths.h... yes checking for inet_ntoa in -lnsl... yes checking for socket in -lsocket... no checking whether printf must be declared... no checking whether fprintf must be declared... no checking whether syslog must be declared... no checking whether puts must be declared... no checking whether fputs must be declared... no checking whether fputc must be declared... no checking whether fopen must be declared... no checking whether fclose must be declared... no checking whether fwrite must be declared... no checking whether fflush must be declared... no checking whether getopt must be declared... no checking whether bzero must be declared... no checking whether bcopy must be declared... no checking whether memset must be declared... no checking whether strtol must be declared... no checking whether strcasecmp must be declared... no checking whether strncasecmp must be declared... no checking whether strerror must be declared... no checking whether perror must be declared... no checking whether socket must be declared... no checking whether sendto must be declared... no checking whether vsnprintf must be declared... no checking whether snprintf must be declared... no checking whether strtoul must be declared... no checking for snprintf... yes checking for strlcpy... no checking for strlcat... no checking for strerror... 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 src/Makefile config.status: creating src/input-plugins/Makefile config.status: creating src/output-plugins/Makefile config.status: creating docs/Makefile config.status: creating config.h hou-snort-1:~/src/barnyard-0.1.0-beta4# make cd . && /root/src/barnyard-0.1.0-beta4/missing autoheader WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/root/src/barnyard-0.1.0-beta4' Making all in src make[2]: Entering directory `/root/src/barnyard-0.1.0-beta4/src' Making all in output-plugins make[3]: Entering directory `/root/src/barnyard-0.1.0-beta4/src/output-plugins' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -g -O2 -Wall -c op_decode.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -g -O2 -Wall -c op_fast.c In file included from ../../src/input-plugins/dp_alert.h:28, from op_fast.c:30: ../../src/event.h:35: field `ref_time' has incomplete type In file included from op_fast.c:30: ../../src/input-plugins/dp_alert.h:48: field `ts' has incomplete type make[3]: *** [op_fast.o] Error 1 make[3]: Leaving directory `/root/src/barnyard-0.1.0-beta4/src/output-plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/src/barnyard-0.1.0-beta4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/barnyard-0.1.0-beta4' make: *** [all-recursive-am] Error 2 hou-snort-1:~/src/barnyard-0.1.0-beta4# gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs gcc version 2.95.2 20000220 (Debian GNU/Linux) I also have "testing" (woody) Debian system that configures and compiles without error. The "./configure" output is identical between the two systems according to diff. Is there a way to get gcc to show which files get included in a compile so I can compare the files between my working system and the broken system? Thanks, Owen Crow Systems Programmer (Unix) BMC Software, Inc. _______________________________________________ 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:
- event.h error compiling Barnyard-0.1.0-beta4 Crow, Owen (Dec 11)