Subject: Re: g++ still broken in 1.3.1?
To: None <port-pmax@NetBSD.ORG>
From: Chris Jones <cjones@honors.montana.edu>
List: port-pmax
Date: 04/27/1998 16:47:58
On Tue, 28 Apr 1998, Arne Henrik Juul wrote:

> > mathfs:/usr/user1/cjones> cat foo.cc
> > main(){return(0);}
> > mathfs:/usr/user1/cjones> g++ foo.cc -o foo
> > /usr/lib/libcurses.so.2: undefined reference to `tgetnum'
> 
> Try with -ltermcap and/or with -static.

Yeah, both those work.  When compiled with -static, the executable doesn't
even dump core.  With -ltermcap, it does.

So, does anybody know why this is so?  I'm using the 1.3.1 ld.so, after
all...

Chris

-------------------------------------------------------------------------------
Chris Jones                                      cjones@rupert.oscs.montana.edu
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"