Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: iphone nmap compile error
From: Mike C <mikec824 () gmail com>
Date: Mon, 25 May 2009 12:21:16 -0400

I have tried the i686 headers with no luck.
 The package manager Cydia provides most GCC tools with the toolchain (its
an easy installer that uses apt). I was hoping that having GCC ment the
usual headers in the correct spots.

as you can see from here most apps needed some work:

On Mon, May 25, 2009 at 11:24 AM, David Fifield <david () bamsoftware com>wrote:

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[1]: Entering directory `/private/var/root/try1'
g++ -c -DNOLUA -Ilibdnet-stripped/include  -Inbase
-I/var/include/c++/4.0.0/i686-apple-darwin9/bits -Insock/include
-no-cpp-precomp -g -O2 -Wall  -fno-strict-aliasing   -DHAVE_CONFIG_H
-DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\";
-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,

-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

David Fifield

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]