Subject: Re: Trouble with g++ linking
To: None <ender@mycroft-holmes.brown.rice.edu>
From: Mike Long <mike.long@analog.com>
List: netbsd-help
Date: 03/03/1997 14:56:37
>From: Colin Wood <ender@mycroft-holmes.brown.rice.edu>
>Date: Sun, 2 Mar 1997 14:05:48 -0600 (CST)

>/usr/libexec/ld.so: Undefined symbol "_tgetstr" in\
>	xkobo:/usr/lib/libcurses.so.2.1

>The problem is that the xkobo source is in C++.  Apparently, any program
>compiled and linked with g++ exhibits this behaviour (I just tried a Hello
>World and it did the same thing).
>
>So, has anyone figured out how to fix this one?

I don't think this has anything to do with g++.  If you link against
-lcurses, you must also include -ltermlib.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil