Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9590 - nmap-3.10_alpha3 build fails
Summary: nmap-3.10_alpha3 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-24 00:57 UTC by Daniel Weller
Modified: 2002-10-24 03:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Weller 2002-10-24 00:57:05 UTC
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
Comment 1 SpanKY gentoo-dev 2002-10-24 01:09:39 UTC
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
Comment 2 SpanKY gentoo-dev 2002-10-24 01:45:05 UTC
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
Comment 3 synonymousca 2002-10-24 03:09:54 UTC
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>