Subject: lib/12714: build of "libcurses" broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 04/21/2001 16:34:48
>Number:         12714
>Category:       lib
>Synopsis:       build of "libcurses" broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 21 07:35:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        2001/04/21
>Organization:
Matthias Scheler                                         http://core.de/~tron/
>Environment:
System: NetBSD lyssa.zhadum.de 1.5U NetBSD 1.5U (LYSSA) #0: Sat Apr 21 13:07:54 CEST 2001 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
Building "libcurses" fails due to missing prototypes:

dependall ===> libcurses
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror    -D_CURSES_PRIVATE -I/src/NetBSD-current/src/lib/libcurses -I/src/NetBSD-current/src/lib/libcurses/../libterm -DCM_N -DCM_GT -DCM_B -DCM_D -c getstr.c
cc1: warnings being treated as errors
getstr.c:58: warning: no previous prototype for `getnstr'
getstr.c: In function `getnstr':
getstr.c:59: warning: implicit declaration of function `wgetnstr'
getstr.c: At top level:
getstr.c:80: warning: no previous prototype for `mvgetnstr'
getstr.c: In function `mvgetnstr':
getstr.c:81: warning: implicit declaration of function `mvwgetnstr'
getstr.c: At top level:
getstr.c:103: warning: no previous prototype for `mvwgetnstr'
getstr.c: In function `wgetstr':
getstr.c:136: warning: implicit declaration of function `__wgetnstr'
getstr.c: At top level:
getstr.c:146: warning: no previous prototype for `wgetnstr'
getstr.c:166: warning: no previous prototype for `__wgetnstr'
*** Error code 1

Stop.

It looks like an incomplete commit has happened.

>How-To-Repeat:
cd /usr/src
make build

>Fix:
Backout any revision 1.13 and 1.14 of "basesrc/lib/libcurses/getstr.c".

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