I'm trying to compile Barnyard 0.2.0 from source on two different arch
(i386 and x86-64) to give a good bug-report on Barnyard not working on
an x86-64 architecture. And in the docs/BUGS-document it says I should
compile Barnyard with "./configure --enable-debug; make", but this give
me a compile error:
sarge:/usr/src/barnyard-0.2.0# ./configure --enable-debug
creating cache ./config.cache
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-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... 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 the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
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 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
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/input-plugins/Makefile
creating src/output-plugins/Makefile
creating config.h
sarge:/usr/src/barnyard-0.2.0# make
make all-recursive
make[1]: Entering directory `/usr/src/barnyard-0.2.0'
Making all in src
make[2]: Entering directory `/usr/src/barnyard-0.2.0/src'
Making all in output-plugins
make[3]: Entering directory `/usr/src/barnyard-0.2.0/src/output-plugins'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_fast.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_plugbase.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_logdump.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_alert_syslog.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_log_pcap.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_acid_db.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_alert_csv.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_sguil.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_alert_syslog2.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c op_alert_console.c
rm -f libop.a
ar cru libop.a op_decode.o op_fast.o op_plugbase.o op_logdump.o
op_alert_syslog.o op_log_pcap.o op_acid_db.o op_alert_csv.o op_sg
uil.o op_alert_syslog2.o op_alert_console.o
ranlib libop.a
make[3]: Leaving directory `/usr/src/barnyard-0.2.0/src/output-plugins'
Making all in input-plugins
make[3]: Entering directory `/usr/src/barnyard-0.2.0/src/input-plugins'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c dp_alert.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c dp_log.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c dp_plugbase.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I/usr/include/pcap -g -O2 -Wall -DDEBUG -ggdb -c dp_stream_stat.c
dp_stream_stat.c: In function `StreamStatDpReadFileHeader':
dp_stream_stat.c:112: error: structure has no member named `magic'
make[3]: *** [dp_stream_stat.o] Error 1
make[3]: Leaving directory `/usr/src/barnyard-0.2.0/src/input-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/barnyard-0.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/barnyard-0.2.0'
make: *** [all-recursive-am] Error 2
Shouldn't take too much time to fix.
Regards,
Vidar Hoel
Telenor Security Services
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
|