mailing list archives
Re: iphone nmap compile error
From: David Fifield <david () bamsoftware com>
Date: Mon, 25 May 2009 09:24:10 -0600
On Mon, May 25, 2009 at 10:50:51AM -0400, Mike C wrote:
I added the new path to my configure script, worked untill map
(bits/c++config.h) needed the rest.
having a look none look usable for my arch or compiler ver? (arm-darwin):
make: Entering directory `/private/var/root/try1'
g++ -c -DNOLUA -Ilibdnet-stripped/include -Inbase -I/var/include/c++/4.0.0
-no-cpp-precomp -g -O2 -Wall -fno-strict-aliasing -DHAVE_CONFIG_H
-DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 main.cc -o
Configure as before, but this time don't include "/bits" at the end of
the header search path. That is,
CPPFLAGS="-I/var/include/c++/4.0.0 -I/var/include/c++/4.0.0/i686-apple-darwin9" ./configure
The preprocessor is already looking for a bits subdirectory, so by
including it, it's looking one level too deep.
It's pretty strange that you don't have an arm-apple-darwin-*
configuration directory. Are you supposed to be able to compile C++
applications natively on the iPhone? Does GCC come with the phone, or
did you have to install it separately? Maybe there is an installation
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org