Subject: pkg/11643: "dialog" package can't build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rxg@ms25.url.com.tw>
List: netbsd-bugs
Date: 12/05/2000 23:12:12
>Number:         11643
>Category:       pkg
>Synopsis:       "dialog" package can't build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 05 23:12:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rui-Xiang Guo
>Release:        <NetBSD-current source date>
>Organization:
	
>Environment:
	
System: NetBSD fit 1.5_BETA2 NetBSD 1.5_BETA2 (generic) #0: Sat Nov 25 00:11:26 CST 2000 rxg@fit:/usr/src/sys/arch/i386/compile/generic i386


>Description:
	"dialog" package can't build
>How-To-Repeat:
	fit[/usr/pkgsrc/misc/dialog]# make
===> Building for dialog-0.6z
gcc -O2 -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DLOCALE -DVERSION=\"0.6z\" -DHAVE_NCURSES -DHAVE_RC_FILE -DHAVE_GUAGE   -c -o checklist.o checklist.c
In file included from checklist.c:23:
dialog.h:131: syntax error before `attributes'
dialog.h:131: warning: type defaults to `int' in declaration of `attributes'
dialog.h:131: warning: data definition has no type or storage class
dialog.h:146: syntax error before `chtype'
dialog.h:146: warning: function declaration isn't a prototype
dialog.h:153: syntax error before `chtype'
dialog.h:154: warning: function declaration isn't a prototype
checklist.c: In function `dialog_checklist':
checklist.c:121: `ACS_LTEE' undeclared (first use in this function)
checklist.c:121: (Each undeclared identifier is reported only once
checklist.c:121: for each function it appears in.)
checklist.c:123: `ACS_HLINE' undeclared (first use in this function)
checklist.c:125: `ACS_RTEE' undeclared (first use in this function)
checklist.c:161: warning: implicit declaration of function `wnoutrefresh'
checklist.c:170: `ACS_DARROW' undeclared (first use in this function)
checklist.c:208: warning: implicit declaration of function `wscrl'
checklist.c:220: `ACS_UARROW' undeclared (first use in this function)
dialog.h: At top level:
dialog.h:131: warning: array `attributes' assumed to have one element
gmake: *** [checklist.o] Error 1
*** Error code 2

Stop.
*** Error code 1
>Fix:
	don't know :(
>Release-Note:
>Audit-Trail:
>Unformatted: