From xemacs-m  Tue May 27 15:50:37 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA12118
	for <xemacs-beta@xemacs.org>; Tue, 27 May 1997 15:50:35 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id WAA17526; Tue, 27 May 1997 22:50:30 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: 20.3-b2 failure
References: <199705272035.QAA13149@cs.sunysb.edu>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
X-NSA-Fodder: Ortega Ft. Meade Ruby Ridge $400 million in gold bullion COSCO
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 27 May 1997 22:50:28 +0200
In-Reply-To: kifer@CS.SunySB.EDU's message of Tue, 27 May 1997 16:35:09 -0400
Message-ID: <kigenasod0r.fsf@jagor.srce.hr>
Lines: 32
X-Mailer: Gnus v5.4.52/XEmacs 20.2

kifer@CS.SunySB.EDU (Michael Kifer) writes:

> Sorry if this has been answered already.
> I am getting:
> 
>     ld: Undefined symbol 
>        _tgetent 
>        _tgetflag 
>        _tgetstr 
>        _tputs 
>        _tgetnum 
>     gcc: file path prefix `static' never used
>     *** Error code 1
>     make: Fatal error: Command failed for target `temacs'
> 
> Where are these supposed to be?

It would have been instructive if you had mailed the linking line.

Traditionally, these thingies are in -ltermcap.  However, many of the
modern Unices don't have a termcap library, and just provide an
emulation of it via curses -- i.e. `-ltermcap' calls curses routines,
and you must specify *both* `-ltermcap' and `-lcurses'.  As far as I
know, on SunOS 4.1.3 `-ltermcap' should suffice.

Either way, XEmacs configuration should autodetect and use the correct 
linking options.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.

