[oe] libnl1-1.1-r5 static libs leads to syntax errors in nmap-3.81
Patrik Dahlström (student)
patda293 at student.liu.se
Tue Apr 19 23:30:49 UTC 2011
If libnl1-1.1-r5 is built with only static libs, the configure script of
nmap-3.81 will fail to find a usable pcap and fall back on its own
implementation (libpcap-possiblymodified). The configure script of that
implementation suffers from syntax errors that I never managed to fix.
Here is a excerpt from config.log of nmap-3.81:
...
configure:4570: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --
sysroot=/home/bitbake/build/tmp_beagleboard/sysroots/armv7a-angstrom-linux-
gnueabi -o conftest -fexpensive-optimizations -fomit-frame-pointer -frename-
registers -O2 -ggdb2 -Drecvfrom6_t=socklen_t -
L/home/bitbake/build/tmp_beagleboard/sysroots/armv7a-angstrom-linux-
gnueabi/usr/lib/../lib -Wl,-O1 -Wl,--hash-style=gnu conftest.c -lpcap -lm
>&5
/home/bitbake/build/tmp_beagleboard/sysroots/x86_64-
linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-
angstrom-linux-gnueabi/bin/ld: warning: libnl.so.1, needed by
/home/bitbake/build/tmp_beagleboard/sysroots/armv7a-angstrom-linux-
gnueabi/usr/lib/../lib/libpcap.so, not found (try using -rpath or -rpath-link)
...
If I removed build.only.static.lib.patch from the libnl1-1.1 recipe, the
missing libnl.so.1.1 shared lib would be built and installed and successively
nmap-3.81 would build and install fine.
--
MvH / with best regards
Patrik Dahlström
"Every animal, except man, knows that the fundamental meaning of life is to
enjoy it" --Samuel Butler
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
More information about the Openembedded-devel
mailing list