Snort mailing list archives

Re: Error compiling daq-0.6.1 on Ubuntu 10.04


From: "Edward Fjellskål" <edwardfjellskaal () gmail com>
Date: Thu, 25 Aug 2011 18:03:19 +0200

On 08/25/2011 05:41 PM, Jason Wallace wrote:
We had the same problem with this error. Making the DAQ package
require iptables-1.4.10 resolved this issue for us. I can't be sure if
the issue was fixed upstream or in our actual iptables package, but I
would try moving to iptables-1.4.10 if possible.

The manual fix is as the error states to recompile iptables with -fPIC.

Crapz...
At the moment, I dont feel like "maintaining" more packages...
 --disable-ipq-module here I come :)

Thanks for the insight thought.

E

thx,
Wally

On Thu, Aug 25, 2011 at 9:57 AM, Edward Fjellskål
<edwardfjellskaal () gmail com> wrote:
On 08/25/2011 03:44 PM, Jason Wallace wrote:
libipq belongs to iptables. What version if iptables are you using?


1.4.4-2ubuntu2

(iptables v1.4.4)

E

On Thu, Aug 25, 2011 at 9:26 AM, Edward Fjellskål
<edwardfjellskaal () gmail com> 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 () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!





------------------------------------------------------------------------------
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 () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!


Current thread: