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

Jason Wallace jason.r.wallace at ...2499...
Thu Aug 25 09:44:45 EDT 2011


libipq belongs to iptables. What version if iptables are you using?

On Thu, Aug 25, 2011 at 9:26 AM, Edward Fjellskål
<edwardfjellskaal at ...2499...> wrote:
> 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
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
>
> Please visit http://blog.snort.org for the latest news about Snort!
>




More information about the Snort-devel mailing list