Snort mailing list archives

Re: Create error "daq_nfq.la" on debian6/ubuntu11.10 64bit


From: Russ Combs <rcombs () sourcefire com>
Date: Mon, 31 Oct 2011 15:55:29 -0400

On Sun, Oct 30, 2011 at 11:30 AM, Martin Holste <mcholste () gmail com> wrote:

"recompile with -fPIC"
Add --with-pic to ./configure options.


Yes; check the DAQ tarball README.


On Sat, Oct 29, 2011 at 3:31 PM, Pascal Holthaus
<pascal.holthaus () googlemail com> wrote:
Hello I install: apt-get install g++ flex bison build-essential automake
make checkinstall libnet1-dev libpcre3-dev libnetfilter-queue-dev
iptables-dev zlib1g-dev libnfnetlink-dev libpcap-dev
libdnet-1.12:
./configure --prefix=/usr --enable-shared
Daq-0.6.2:
./configure --disable-ipq-module --disable-ipfw-module
--disable-afpacket-module --disable-dump-module --disable-pcap-module
The error:
test -z "/usr/local/lib/daq" || /bin/mkdir -p "/usr/local/lib/daq"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   daq_nfq.la
'/usr/local/lib/daq'
libtool: install: warning: relinking `daq_nfq.la'
libtool: install: (cd /usr/src/daq-0.6.2/os-daq-modules; /bin/bash
/usr/src/daq-0.6.2/libtool  --tag CC --mode=relink 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
-ldnet -o daq_nfq.la -rpath /usr/local/lib/daq daq_nfq_la-daq_nfq.lo
-lnfnetlink -lnetfilter_queue -L/usr/lib -ldnet ../sfbpf/libsfbpf.la )
libtool: relink: gcc -shared  .libs/daq_nfq_la-daq_nfq.o   -L/usr/lib
-lnfnetlink -lnetfilter_queue -ldnet -L/usr/local/lib -lsfbpf
 -Wl,-soname
-Wl,daq_nfq.so -o .libs/daq_nfq.so
/usr/bin/ld: /usr/lib/libdnet.a(addr.o): relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object; recompile
with
-fPIC
/usr/lib/libdnet.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `daq_nfq.la' with the above command
before
installing it
make[2]: *** [install-pkglibLTLIBRARIES] Fehler 1
make[2]: Verlasse Verzeichnis '/usr/src/daq-0.6.2/os-daq-modules'
make[1]: *** [install-am] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/daq-0.6.2/os-daq-modules'
make: *** [install-recursive] Fehler 1
It is not create the "daq_nfq.la" file.
On 32bit systems it runs perfect.
Please help me

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest
Snort
news!



------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest
Snort news!

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: