Nmap Development mailing list archives
Re: Nping build breakage on opensolaris
From: David Fifield <david () bamsoftware com>
Date: Fri, 12 Mar 2010 21:22:21 -0700
On Fri, Mar 12, 2010 at 08:43:37PM -0500, jrf wrote:
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
That some code is used in Nmap's tcpip.h, so it probably has to do with a missing header. Please try adding headers from tcpip.h to nping/common.h until it compiles. The first one to try is <sys/types.h>. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nping build breakage on opensolaris jrf (Mar 12)
- Re: Nping build breakage on opensolaris David Fifield (Mar 12)
- Re: Nping build breakage on opensolaris Fyodor (Mar 23)
- Re: Nping build breakage on opensolaris Luis M. (Mar 24)
- Re: Nping build breakage on opensolaris Fyodor (Mar 25)
- Re: Nping build breakage on opensolaris David Fifield (Mar 24)
- Re: Nping build breakage on opensolaris Fyodor (Mar 25)
- Re: Nping build breakage on opensolaris Luis M. (Mar 27)
- Re: Nping build breakage on opensolaris David Fifield (Mar 27)
- Re: Nping build breakage on opensolaris Luis M. (Mar 24)