[Snort-devel] Error compiling daq-0.6.1 on Ubuntu 10.04

Edward Fjellskål edwardfjellskaal at ...2499...
Thu Aug 25 09:26:10 EDT 2011


Im trying to compile daq-0.6.1 on my Ubuntu 10.04 x86_64 with a glitch
in my luck....

...
Making all in os-daq-modules
make[2]: Entering directory
`/home/edward/code/src/tmp-snort/daq-0.6.1/os-daq-modules'
/bin/bash ../libtool --tag=CC   --mode=link gcc -DBUILDING_SO -g -O2
-fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align
-Wextra -Wformat -Wformat-security -Wno-unused-parameter
-fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99
-D_GNU_SOURCE -module -export-dynamic -avoid-version -shared -L/usr/lib
-ldumbnet -ldumbnet   -o daq_ipq.la -rpath /usr/local/lib/daq
daq_ipq_la-daq_ipq.lo -lipq -L/usr/lib -ldumbnet -ldumbnet
../sfbpf/libsfbpf.la
libtool: link: gcc -shared  .libs/daq_ipq_la-daq_ipq.o   -Wl,-rpath
-Wl,/home/edward/code/src/tmp-snort/daq-0.6.1/sfbpf/.libs -L/usr/lib
-lipq /usr/lib/libdumbnet.so ../sfbpf/.libs/libsfbpf.so    -Wl,-soname
-Wl,daq_ipq.so -o .libs/daq_ipq.so
/usr/bin/ld: /usr/lib/libipq.a(libipq.o): relocation R_X86_64_32S
against `ipq_errmap' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/libipq.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [daq_ipq.la] Error 1
make[2]: Leaving directory
`/home/edward/code/src/tmp-snort/daq-0.6.1/os-daq-modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/edward/code/src/tmp-snort/daq-0.6.1'
make: *** [all] Error 2


Any thoughts?

Regards,
Edward




More information about the Snort-devel mailing list