Nmap Development mailing list archives

NMAP 6.25 does not compile on Solaris 10


From: Jörn Clausen <joern.clausen () uni-bielefeld de>
Date: Wed, 29 May 2013 15:22:01 +0200

Hi!

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.

--
 Jörn Clausen                             joern.clausen () uni-bielefeld de
 Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
 Universität Bielefeld
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: