Subject: pkg/10752: misc/dialog fails to build (syntax error)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mw34@cornell.edu>
List: netbsd-bugs
Date: 08/04/2000 07:12:15
>Number:         10752
>Category:       pkg
>Synopsis:       misc/dialog fails to build (syntax error)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 04 07:13:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        1.4.3_ALPHA
>Organization:
>Environment:
NetBSD costello.cnf.cornell.edu 1.4.3_ALPHA NetBSD 1.4.3_ALPHA (GENERIC) #5: Sun Jul  9 02:54:35 MEST 2000     he@orre.runit.no:/usr/src/sys/arch/hp300/compile/GENERIC hp300
>Description:

misc/dialog (0.6z), last updated with CVS at 1am EST, 8/4/00, fails to build:

===> Building for dialog-0.6z
gcc -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DLOCALE -DVERSION=
\"0.6z\" -DHAVE_NCURSES -DHAVE_RC_FILE -DHAVE_GUAGE   -c -o checklist.o checklis
t.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
dialog.h: In function `mouse_wgetch':
dialog.h:207: warning: control reaches end of non-void function
checklist.c: In function `print_item':
checklist.c:37: warning: implicit declaration of function `wattrset'
checklist.c: In function `dialog_checklist':
checklist.c:116: warning: implicit declaration of function `keypad'
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:191: `KEY_UP' undeclared (first use in this function)
checklist.c:191: `KEY_DOWN' undeclared (first use in this function)
checklist.c:193: `KEY_MAX' 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)
checklist.c:369: `KEY_LEFT' undeclared (first use in this function)
checklist.c:370: `KEY_RIGHT' 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.
>How-To-Repeat:

get misc/dialog from 8/4/00
cd misc/dialog
make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: