mailing list archives
Re: [PATCH] configure: fix external libcap cross-compile
From: Mike Frysinger <vapier () gentoo org>
Date: Wed, 17 Jun 2009 12:30:51 -0400
On Wednesday 17 June 2009 12:08:36 David Fifield wrote:
On Tue, May 26, 2009 at 08:10:55PM -0400, Mike Frysinger wrote:
If cross-compiling nmap against an external libpcap, the configure will
always fail with no way around it:
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_datalink in -lpcap... yes
checking if libpcap version is recent enough... configure: error: cannot
run test program while cross compiling See `config.log' for more details.
Same thing happens in the ncat/ subdir which isn't surprising as both
seem to use the same libpcap configure code.
If people are cross-compiling, then let's just assume their system
doesn't suck. If it does, then it'll fail for other reasons anyways, so
Thanks, I applied this in r13795 to /nmap-exp/dev/nmap. Is this the only
barrier to cross-compiling you encountered?
mmm it's been a while since i looked at nmap. if this is the same patch as i
have in my local git, then yes, this was the only problem i had with cross-
compiling. nmap seemed to work fine on my embedded no-mmu Blackfin Linux
did i send out another patch to fix out-of-tree building ? i finished it, but
i dont recall if i e-mailed it ...
Description: This is a digitally signed message part.
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org