[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -ltermcap option...



In article <35EDBC2E.48BC4976@student.dei.uc.pt>,
Nuno Emanuel F. Carvalho <nemanuel@student.dei.uc.pt> wrote:
>Hi,
>
> I'm trying to compile pine4.02.tar.gz but I can't resolve the following
>problem:
>
>cc   -g -DDEBUG  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE main.o libpico.a
>-ltermcap -o pico
>ld: cannot open -ltermcap: No such file or directory
>make: *** [pico] Error 1
>
> What should I do !?
>
> If I remove -ltermcap option on makefile it still doesn't work !
> I already had installed termcap-compat package.

"ncurses" has termcap emulation builtin. So just link with -lncurses
instead of -ltermcap.

Mike.
-- 
  "Seed me, Seymour"
  -- a random number generator meets the big green mother from outer space


Reply to: