Subject: pkg/18160: misc/siag needs USE_NCURSES
To: None <>
From: Ryo HAYASAKA <>
List: netbsd-bugs
Date: 09/04/2002 06:57:40
>Number:         18160
>Category:       pkg
>Synopsis:       misc/siag needs to set USE_NCURSES in Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 03 14:58:00 PDT 2002
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 1.6G
Japan Advanced Institute of Science and Technology (JAIST)
System: NetBSD 1.6G NetBSD 1.6G (BONNIE) #298: Mon Sep 2 07:00:02 JST 2002 i386
Architecture: i386
Machine: i386
Because libcurses in our base system is missing the following
functions, USE_NCURSES is required until it is supported.

$ make
cc -I/usr/pkg/include -Wall \
-I/usr/pkgsrc/misc/siag/work.i386/.buildlink/include -O2 -Dunix -pipe \
-march=pentiumpro -I/usr/pkg/share/x11-links/include \
-L/usr/pkgsrc/misc/siag/work.i386/.buildlink/lib  \
-L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib \
-o tsiag -L../siod -L../common -L../siag fonts.o forminput.o window.o \
selection.o tsiag.o -lsiag -lcommon -lsiod -lncurses -ltermcap -lcrypt \
-L/usr/pkg/lib -lguile -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib \
-lm  -lm 
/usr/pkg/lib/ warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
window.o: In function `pr_region':
window.o(.text+0xb8): undefined reference to `acs_map'
window.o(.text+0x1c9): undefined reference to `acs_map'
window.o(.text+0x213): undefined reference to `acs_map'
window.o(.text+0x271): undefined reference to `acs_map'
window.o(.text+0x2e5): undefined reference to `acs_map'
window.o(.text+0x416): undefined reference to `wattr_on'
window.o(.text+0x42d): undefined reference to `wattr_off'
window.o(.text+0x44e): undefined reference to `wattr_on'
window.o(.text+0x465): undefined reference to `wattr_off'
window.o: In function `edit_cell':
window.o(.text+0xf0d): undefined reference to `acs_map'
window.o: In function `show_cur':
window.o(.text+0x1bf5): undefined reference to `acs_map'
window.o: In function `select_from_list':
window.o(.text+0x1f45): undefined reference to `acs_map'
window.o(.text+0x1f73): undefined reference to `acs_map'
collect2: ld returned 1 exit status
gmake[2]: *** [tsiag] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/misc/siag/work.i386/siag-3.1.20/tsiag'
$ make
Index: Makefile
RCS file: /usr/cvsup/pkgsrc/misc/siag/Makefile,v
retrieving revision 1.26
diff -d -p -u -r1.26 Makefile
--- Makefile    2002/05/29 14:45:57     1.26
+++ Makefile    2002/09/03 20:39:06
@@ -18,6 +18,7 @@ CONFIGURE_ARGS=       --with-x --with-guile --
 CFLAGS+=       -Dunix