the nmap-3.10_alpha3 ebuild fails like that: make[1]: Leaving directory `/var/tmp/portage/nmap-3.10_alpha3/work/nmap-3.10ALPHA3/nbase' g++ -g -Wall -march=athlon -O3 -pipe -Ilibpcap-possiblymodified -Inbase -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.10ALPHA3\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified -c -o main.o main.cc In file included from nmap.h:65, from main.cc:48: nbase/nbase.h:254: declaration of C function `char* strcasestr(char*, char*)' conflicts with /usr/include/string.h:208: previous declaration `char* strcasestr(const char*, const char*)' here make: *** [main.o] Error 1 g++ -g -Wall -march=athlon -O3 -pipe -Ilibpcap-possiblymodified -Inbase -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.10ALPHA3\" -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -Ilibpcap-possiblymodified -c -o main.o main.cc In file included from nmap.h:65, from main.cc:48: nbase/nbase.h:254: declaration of C function `char* strcasestr(char*, char*)' conflicts with /usr/include/string.h:208: previous declaration `char* strcasestr(const char*, const char*)' here make: *** [main.o] Error 1
you've got 3 options ... only 2 get you a working nmap right now ... (1) emerge /usr/portage/net-analyzer/nmap/nmap-3.00.ebuild (2) use gcc-2.95.3 (3) file a bug report with nmap developers
bleh, as i thought about the error, i realized it wasnt some nasty thing to fix, but rather really quite simple as such, i added a fix to cvs
I hate it when I check for a bug report only after typing in my entire report (inc. fix) and it's already been dealt with... That's twice today. <g>