Nmap Development mailing list archives

Re: iphone nmap compile error


From: Mike C <mikec824 () gmail com>
Date: Mon, 25 May 2009 10:50:51 -0400

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):

./c++/4.0.0/i686-apple-darwin8/bits/c++config.h
./c++/4.0.0/i686-apple-darwin8/x86_64/bits/c++config.h
./c++/4.0.0/i686-apple-darwin9/bits/c++config.h
./c++/4.0.0/i686-apple-darwin9/x86_64/bits/c++config.h
./c++/4.0.0/powerpc-apple-darwin8/bits/c++config.h
./c++/4.0.0/powerpc-apple-darwin8/ppc64/bits/c++config.h
./c++/4.0.0/powerpc-apple-darwin9/bits/c++config.h
./c++/4.0.0/powerpc-apple-darwin9/ppc64/bits/c++config.h
./c++/4.0.0/powerpc64-apple-darwin8/bits/c++config.h
./c++/4.0.0/x86_64-apple-darwin8/bits/c++config.h
./gcc/darwin/3.3/c++/i386-darwin/bits/c++config.h
./gcc/darwin/3.3/c++/ppc-darwin/bits/c++config.h
./gcc/darwin/3.3-fast/c++/i386-darwin/bits/c++config.h
./gcc/darwin/3.3-fast/c++/ppc-darwin/bits/c++config.h



make[1]: Entering directory `/private/var/root/try1'
g++ -c -DNOLUA -Ilibdnet-stripped/include  -Inbase -I/var/include/c++/4.0.0
-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\";
-DNMAP_PLATFORM=\"arm-apple-darwin9.4.1\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 main.cc -o
main.o
In file included from /var/include/c++/4.0.0/bits/stl_tree.h:66,
                 from /var/include/c++/4.0.0/map:65,
                 from portlist.h:95,
                 from output.h:115,
                 from NmapOps.h:95,
                 from main.cc:96:
/var/include/c++/4.0.0/bits/stl_algobase.h:64:28: error: bits/c++config.h:
No such file or directory
In file included from /var/include/c++/4.0.0/bits/stl_algobase.h:69,
                 from /var/include/c++/4.0.0/bits/stl_tree.h:66,
                 from /var/include/c++/4.0.0/map:65,
                 from portlist.h:95,
                 from output.h:115,
                 from NmapOps.h:95,
                 from main.cc:96:





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

On Mon, May 25, 2009 at 01:31:11AM -0400, Mike C wrote:
Found the following:

map and string -->  /var/include/c++/4.0.0/
stl_tree.h etc etc.. --> /var/include/c++/4.0.0/bits

adding .h to string helped, map is now the problem. These files are in
/var/include/c++/4.0.0/bits  (all of them) yet they are not being
included
with map (map cant not find those files yet they are right their).

Please try configuring with

CPPFLAGS="-I/var/include/c++/4.0.0" ./configure

plus whatever other flags you normally use. Change the .h includes back
the way they were; that was a long shot.

David Fifield


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: