Nmap Development mailing list archives

Re: [PATCH] Get nmap 3.77 compiling on HP-UX


From: Petter Reinholdtsen <pere () hungry com>
Date: Wed, 17 Nov 2004 19:36:55 +0100

[Fyodor]
except for the "namespace std {};".  I worry that might cause
problems on other platforms, and it doesn't help much for HP-UX if
it compilation then fails at the linker stage.

It solves a problem on HP-UX 11.00, where the linking was successful.

And I am pretty sure it is lecal ANSI C++, so it should not give any
problems on any other platform.  The source with the change compiled
without problems on RedHat EL 2.1 and 3, HP-UX 11.00, Mac OS X,
Solaris 7 and 8.

If you get Nmap linking on your HP machines, maybe we can try it
out, possibly within an HP-UX conditional define.

The linker problem is only on HP-UX 11.23, where the 'namespace std
{};' part isn't needed because the header files use the std namespace.

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org



Current thread: