Nmap Development mailing list archives

Nping build breakage on opensolaris


From: jrf <jay.fink () gmail com>
Date: Fri, 12 Mar 2010 20:43:37 -0500

All,

Given recent news, I don't know how relevant this will be, but I tried
doing a self hosted build of nmap on the following platform:

 SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc Solaris

And I hit breakage when building nping, I used the following configure
options:

jrf@opensolaris:~/nmap$ ./configure --with-libdnet=included
--with-libpcap-included --with-libpcre=included --with-liblua=included

And here is where I hit a problem - I am taking a wild guess that I
might be missing something or config missed something:

Configuration complete.  Type make (or gmake on some *BSD machines) to
compile.
./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir
setting
config.status: creating nping_config.h
config.status: nping_config.h is unchanged
gmake[2]: Leaving directory `/export/home/jrf/nmap/nping'
gmake[2]: Entering directory `/export/home/jrf/nmap/nping'
gmake nping
gmake[3]: Entering directory `/export/home/jrf/nmap/nping'
g++ -c -I../libdnet-stripped/include  -I../nbase -I../nsock/include -g
-O2 -Wall  -fno-strict-aliasing   -DHAVE_CONFIG_H
-DNPING_NAME=\"Nping\" -DNPING_URL=\"http://nmap.org/nping\";
-DNPING_PLATFORM=\"i386-pc-solaris2.11\"
-DNPINGDATADIR=\"/usr/local/share/nping\" -D_FORTIFY_SOURCE=2
ArgParser.cc -o ArgParser.o
In file included from common_modified.h:101,
                 from NpingTargets.h:100,
                 from NpingOps.h:150,
                 from ArgParser.cc:101:
common.h:133: error: `u_int8_t' does not name a type
common.h:134: error: `u_int8_t' does not name a type
common.h:136: error: `u_int8_t' does not name a type
common.h:144: error: `u_int8_t' does not name a type
common.h:145: error: `u_int8_t' does not name a type
In file included from NetworkLayerElement.h:99,
                 from ICMPv4Header.h:99,
                 from ArgParser.cc:107:
PacketElement.h:104: warning: `class PacketElement' has virtual
functions but non-virtual destructor
In file included from ICMPv4Header.h:99,
                 from ArgParser.cc:107:
NetworkLayerElement.h:102: warning: `class NetworkLayerElement' has
virtual functions but non-virtual destructor
In file included from ArgParser.cc:107:
ICMPv4Header.h:155: warning: `class ICMPv4Header' has virtual
functions but non-virtual destructor
In file included from ArgParser.cc:108:
ARPHeader.h:176: warning: `class ARPHeader' has virtual functions but
non-virtual destructor
gmake[3]: *** [ArgParser.o] Error 1
gmake[3]: Leaving directory `/export/home/jrf/nmap/nping'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/jrf/nmap/nping'
gmake[1]: *** [build-nping] Error 2
gmake[1]: Leaving directory `/export/home/jrf/nmap'
gmake: *** [all] Error 2

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


Current thread: