I've just encountered an annoying problem trying to compile nmap 3.81 for
Solaris on Intel - Solaris on IA32 defines the word PC as a value of 14 in
its header files. This causes a problem when trying to compile tcpip.cc as
it has the line:
static PacketCounter PC;
Which gets converted to:
static PacketCounter 14;
After the preprocessor pass and strangely enough this doesn't compile very
well!
I've attached a simple patch which fixes this problem by renaming the PC
variable to PktCt instead. The patch was generated against the 3.81 release
of nmap.
--
Simon the stressed http://www.bpfh.net/ simes@bpfh.net
Chocolate is *not* a substitute for sleep
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Received on Apr 13 2005