Nmap Development mailing list archives

Re: NMAP 6.25 does not compile on Solaris 10


From: David Fifield <david () bamsoftware com>
Date: Wed, 19 Jun 2013 21:24:31 -0700

On Fri, May 31, 2013 at 11:13:11AM +0200, Jörn Clausen wrote:
On 31.05.13 09:00, Dagobert Michelsen wrote:
Indeed, this is from Solaris 11 Sparc:
  /usr/include/sys/un.h:#define   SUN_LEN(su)     (sizeof (sa_family_t) + strlen((su)->sun_path))

Simply adding this definition to all the places where SUN_LEN is
used (ncat/ncat_main.c, ncat/ncat_connect.c and ncat/util.c) did the
trick.

Latest SVN (r31010) builds for me on Solaris 10, while 6.25 does not. So
I guess this got fixed somewhere along the line.

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

Current thread: