pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47866: net/nmap does not compile on Solaris 10



>Number:         47866
>Category:       pkg
>Synopsis:       net/nmap does not compile on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 29 13:30:00 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
net/nmap 6.25 does not compile on Solaris 10:

gcc -I/usr/pkgsrc/20130422/include -I/usr/pkgsrc/20130422/include 
-I/usr/include -I/usr/pkgsrc/20130422/include 
-I/usr/pkgsrc/20130422/include/gettext -I/usr/pkgsrc/20130422/include/freetype2 
-DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/pkgsrc/20130422/share/ncat\"" 
-D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase 
-I/usr/pkgsrc/20130422/include -O -I/usr/include -I/usr/pkgsrc/20130422/include 
-I/usr/pkgsrc/20130422/include/gettext -I/usr/pkgsrc/20130422/include/freetype2 
-Wall -c base64.c -o base64.o
ncat_connect.c: In function 'ncat_connect':
ncat_connect.c:531:109: error: expected ';' before ')' token
ncat_connect.c:531:109: error: expected statement before ')' token
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_connect.c:558:98: error: expected ';' before ')' token
ncat_connect.c:558:98: error: expected statement before ')' token
ncat_connect.c:562:96: error: expected ';' before ')' token
ncat_connect.c:562:96: 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_connect.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [ncat_main.o] Error 1
gmake[1]: Leaving directory 
`/pkgsrc/source/pkgsrc/net/nmap/work.pkgsrc-i86/nmap-6.25/ncat'
gmake: *** [ncat_build] Error 2
*** Error code 2


I assume that SUN_LEN is not defined, at least I can't find a definition for 
it. Maybe it is defined in /usr/include/sys/un.h on Solaris 11, which I can't 
check.

I have reported this problem upstream to dev%nmap.org@localhost.
>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index