Nmap Development mailing list archives

nmap-svn compile errors: nping/common_modified.cc


From: Forrest Aldrich <forrie () gmail com>
Date: Thu, 22 Apr 2010 18:41:05 -0400

I searched the archives on the web page, but didn't find a current reference to this.

With the latest svn checkout of subversion, the following error is encountered (RHEL 5.5) when trying to compile nping:

make nping
make[3]: Entering directory `/usr/local/src/nmap/nmap-svn/nping'
g++ -c -I../libdnet-stripped/include -I../libpcap -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=\"i686-pc-linux-gnu\" -DNPINGDATADIR=\"/usr/local/share/nping\" -D_FORTIFY_SOURCE=2 common_modified.cc -o common_modified.o common_modified.cc: In function ‘const char* ippackethdrinfo(const u8*, u32, int)’: common_modified.cc:1642: error: no matching function for call to ‘max(unsigned int, int)’
make[3]: *** [common_modified.o] Error 1



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

Current thread: