[oe] libnl1-1.1-r5 static libs leads to syntax errors in nmap-3.81

Martin Jansa martin.jansa at gmail.com
Wed Apr 20 12:25:57 UTC 2011


On Wed, Apr 20, 2011 at 01:30:49AM +0200, Patrik Dahlström (student) wrote:
> 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:

Hi,

please check if there is newer nmap/pcap supporting libnl-2 and if no,
then try to fix static build like here:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=154bd72b1ca859afcae5ed4fe99ed611a13a475c
or
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=849389a02126e3e3bb6b8ca8e26068c386ef699c

and the problem seems to be in pcap not nmap

Regards,

> ...
> 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
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110420/f5bf92af/attachment-0002.sig>


More information about the Openembedded-devel mailing list