[Snort-users] Problem compiling Barnyard

Thomas Novin thnov at ...4060...
Tue Nov 13 05:51:01 EST 2001


Is there something wrong with my system or doesn't barnyard 0.10b4 compile 
well on FreeBSD? I've searched through the ml-archives for this but no matches.

root at ...3682...:~/barnyard-0.1.0-beta4# uname -a
FreeBSD xxx 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Thu Nov  1 16:35:01 CET 
2001     root at ...3896...:/usr/obj/usr/src/sys/EAGLE  i386

root at ...3682...:~/barnyard-0.1.0-beta4# ./configure --prefix=/usr/local
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... i386-unknown-freebsd4.4
checking host system type... i386-unknown-freebsd4.4
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... yes
checking for paths.h... yes
checking for inet_ntoa in -lnsl... no
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... yes
checking for strlcat... yes
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
config.status: config.h is unchanged
root at ...3682...:~/barnyard-0.1.0-beta4# make
make  all-recursive
Making all in src
Making all in output-plugins
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
*** Error code 1

Stop in /root/barnyard-0.1.0-beta4/src/output-plugins.
*** Error code 1

Stop in /root/barnyard-0.1.0-beta4/src.
*** Error code 1

Stop in /root/barnyard-0.1.0-beta4.
*** Error code 1

Stop in /root/barnyard-0.1.0-beta4.
root at ...3682...:~/barnyard-0.1.0-beta4# make check
Making check in src
Making check in output-plugins
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
*** Error code 1

Stop in /root/barnyard-0.1.0-beta4/src/output-plugins.
*** Error code 1

Stop in /root/barnyard-0.1.0-beta4/src.
*** Error code 1

Stop in /root/barnyard-0.1.0-beta4.





More information about the Snort-users mailing list