Subject: Re: Missing Curses function in 1.2
To: Wayne Crosbie <crosbie@nortel.ca>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 01/07/1997 09:07:00
On 07 Jan 1997 08:05 EST 
 "Wayne Crosbie" <crosbie@nortel.ca> wrote:

 > undefined symbol "_tgetstr" in dxpc:/usr/lib/libcurses.so.2.1

You need to also link with -ltermcap

 > I am fairly new at this stuff and learning as I go, I tried explicitly
 > including the libraries in the link (libcurses and libtermcap) and it
 > made no difference.

...strange... well, the link order makes a difference...

	-lcurses -ltermcap

..._should_ do it, since tgetstr(3) is a termcap function.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939