Nmap Development mailing list archives
Re: NMAP 6.25 does not compile on Solaris 10
From: Dagobert Michelsen <dam () opencsw org>
Date: Fri, 31 May 2013 09:00:48 +0200
Hi Jörn, Am 29.05.2013 um 15:22 schrieb Jörn Clausen <joern.clausen () uni-bielefeld de>:
When trying to compile NMAP 6.25 on Solaris 10, I get this error: gcc -I/usr/pkgsrc/20130422/include -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -g -O2 -Wall -c ncat_main.c -o ncat_main.o ncat_main.c: In function 'main': ncat_main.c:628:30: error: expected ';' before ')' token ncat_main.c:628:30: error: expected statement before ')' token ncat_main.c:663:27: error: expected ';' before ')' token ncat_main.c:663:27: error: expected statement before ')' token gmake[1]: *** [ncat_main.o] Error 1 gmake[1]: Leaving directory `/pkgsrc/source/local/nmap-6.25/ncat' gmake: *** [ncat_build] Error 2 I think that SUN_LEN is not defined, at least I can't find it in /usr/include/sys/un.h, which is present and why HAVE_SYS_UN_H is defined. I don't have access to Solaris 11, maybe it is defined only there.
Indeed, this is from Solaris 11 Sparc: /usr/include/sys/un.h:#define SUN_LEN(su) (sizeof (sa_family_t) + strlen((su)->sun_path)) Could you please keep me posted on your progress? I would like to make a new package and the last success I had was quite before 6: http://buildfarm.opencsw.org/experimental.html#nmap Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- NMAP 6.25 does not compile on Solaris 10 Jörn Clausen (May 30)
- Re: NMAP 6.25 does not compile on Solaris 10 Dagobert Michelsen (May 31)
- Re: NMAP 6.25 does not compile on Solaris 10 Jörn Clausen (May 31)
- Re: NMAP 6.25 does not compile on Solaris 10 David Fifield (Jun 19)
- Re: NMAP 6.25 does not compile on Solaris 10 Dagobert Michelsen (Jun 20)
- Re: NMAP 6.25 does not compile on Solaris 10 Jörn Clausen (May 31)
- Re: NMAP 6.25 does not compile on Solaris 10 Dagobert Michelsen (May 31)