From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc) Subject: Re: termcap/gcc2.1-problems Date: 3 May 1992 14:28:25 GMT
In article <194@lip.hanse.de> lipka@lip.hanse.de (Michael Lipka) writes:
>I'm trying to get Linux 0.95c+ running on a 25MHz 386DX using the
>Manchester-release (very easy to install and small because of
>``shared-libs'' binaries) with gcc2.1.
....
>But when all should be linked together
>gcc complains about undefined symbols of termcap (tput, tget-
>str...)
....
>Could someone please give me a hint what I'm doing wrong?
>
>This comes out of make:
....
>cc -lcurses -ltermcap -o ../bin/elm addr_util.o alias.o aliasdb.o
....
I think the problem is the way -ltermcap is specified in the Makefile.
Usually gcc seems to require something like this:
cc -o ../bin/elm addr_util.o alias.o aliasdb.o .... -lcurses -ltermcap
Does the problem persist if you change it this way?
-- Owen
LeBlanc@mcc.ac.uk