NetBSD Problem Report #3678

Received: (qmail 5285 invoked from network); 28 May 1997 22:39:05 -0000
Message-Id: <199705282238.PAA16982@ab.home.vix.com>
Date: Wed, 28 May 1997 15:38:03 -0700 (PDT)
From: Ted Lemon <mellon@ab.home.vix.com>
Reply-To: mellon@ab.home.vix.com
To: gnats-bugs@gnats.netbsd.org
Subject: mille needs -ltermcap to compile
X-Send-Pr-Version: 3.95

>Number:         3678
>Category:       bin
>Synopsis:       mille needs -ltermcap to compile
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 28 15:50:03 +0000 1997
>Closed-Date:    Thu May 29 22:28:56 +0000 1997
>Last-Modified:  Fri May 30 05:29:20 +0000 1997
>Originator:     Ted Lemon
>Release:        May 29, 1997
>Organization:
Ted Lemon							 mellon@vix.com
+1 415 567 7999
>Environment:
System: NetBSD ab.home.vix.com 1.2E NetBSD 1.2E (AB) #1: Tue May 27 18:14:41 PDT 1997 mellon@ab.home.vix.com:/usr/src/sys/arch/alpha/compile/AB alpha


>Description:
	For some reason, mille now needs -ltermcap in order to compile on
	the alpha.   I was doing a make build when I encountered this
	problem.
>How-To-Repeat:
	Type ``make build'' on an Alpha.    It will eventually die trying
	to link games/mille.
>Fix:
	Apply this patch, or tell me I can commit the fix.

Index: Makefile
===================================================================
RCS file: /cvsroot/src/games/mille/Makefile,v
retrieving revision 1.6
diff -c -2 -r1.6 Makefile
*** Makefile	1997/05/23 23:13:35	1.6
--- Makefile	1997/05/28 22:35:28
***************
*** 5,10 ****
  SRCS=	comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
  	roll.c save.c types.c varpush.c
! DPADD=	${LIBCURSES} ${LIBCOMPAT}
! LDADD=	-lcurses -lcompat
  MAN=	mille.6
  HIDEGAME=hidegame
--- 5,10 ----
  SRCS=	comp.c end.c extern.c init.c mille.c misc.c move.c print.c \
  	roll.c save.c types.c varpush.c
! DPADD=	${LIBCURSES} ${LIBTERMCAP} ${LIBCOMPAT}
! LDADD=	-lcurses -ltermcap -lcompat
  MAN=	mille.6
  HIDEGAME=hidegame
>Release-Note:
>Audit-Trail:

From: "Chris G. Demetriou" <cgd@pa.dec.com>
To: mellon@ab.home.vix.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/3678: mille needs -ltermcap to compile 
Date: Wed, 28 May 97 16:35:32 -0700

 > >Description:
 > 	For some reason, mille now needs -ltermcap in order to compile on
 > 	the alpha.   I was doing a make build when I encountered this
 > 	problem.
 > >How-To-Repeat:
 > 	Type ``make build'' on an Alpha.    It will eventually die trying
 > 	to link games/mille.
 > >Fix:
 > 	Apply this patch, or tell me I can commit the fix.

 Given that curses' manual page says:

      cc [flags] files -lcurses -ltermcap [libraries]

 your patch seems correct.  8-)


 An argument could be made that the curses shared library should also
 be linked with -ltermcap, to make sure that -ltermcap is always pulled
 in, too, but there is a big ball of hair there.



 cgd

State-Changed-From-To: open->closed
State-Changed-By: mikel
State-Changed-When: Thu May 29 22:28:56 1997
State-Changed-Why:
looks like you've fixed this one already. :-)

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.