[Oisf-users] suricata 1.1beata1 compile failed with --enable-unittests
Delta Yeh
delta.yeh at gmail.com
Mon Dec 27 03:16:36 UTC 2010
I run debian:~/suricata-1.1beta1# ./configure --enable-nfqueue
--enable-unittests
but compile failed.
The info is:
debian:~/suricata-1.1beta1# uname -a
Linux debian 2.6.26-2-686 #1 SMP Wed May 12 21:56:10 UTC 2010 i686 GNU/Linux
debian:~/suricata-1.1beta1# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
--enable-mpfr --enable-targets=all --enable-cld
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
---------------------------------------------
suricata.o: In function `main':
/root/suricata-1.1beta1/src/suricata.c:936: undefined reference to
`DCERPCUDPParserRegisterTests'
/root/suricata-1.1beta1/src/suricata.c:948: undefined reference to
`ConfRegisterTests'
alert-fastlog.o: In function `AlertFastLogTest02':
/root/suricata-1.1beta1/src/alert-fastlog.c:449: undefined reference
to `SCClassConfGenerateValidDummyClassConfigFD01'
/root/suricata-1.1beta1/src/alert-fastlog.c:451: undefined reference
to `SCClassConfDeleteDummyClassificationConfigFD'
alert-fastlog.o: In function `AlertFastLogTest01':
/root/suricata-1.1beta1/src/alert-fastlog.c:393: undefined reference
to `SCClassConfGenerateValidDummyClassConfigFD01'
/root/suricata-1.1beta1/src/alert-fastlog.c:395: undefined reference
to `SCClassConfDeleteDummyClassificationConfigFD'
stream-tcp.o: In function `StreamTcpTest17':
/root/suricata-1.1beta1/src/stream-tcp.c:5119: undefined reference to
`StreamTcpCreateTestPacket'
/root/suricata-1.1beta1/src/stream-tcp.c:5131: undefined reference to
`StreamTcpCreateTestPacket'
/root/suricata-1.1beta1/src/stream-tcp.c:5143: undefined reference to
`StreamTcpCreateTestPacket'
/root/suricata-1.1beta1/src/stream-tcp.c:5155: undefined reference to
`StreamTcpCreateTestPacket'
/root/suricata-1.1beta1/src/stream-tcp.c:5169: undefined reference to
`StreamTcpCreateTestPacket'
stream-tcp.o:/root/suricata-1.1beta1/src/stream-tcp.c:5181: more
undefined references to `StreamTcpCreateTestPacket' follow
collect2: ld returned 1 exit status
make[2]: *** [suricata] error 1
make[2]: Leaving directory `/root/suricata-1.1beta1/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/root/suricata-1.1beta1'
make: *** [all
More information about the Oisf-users
mailing list