Mail Archives: djgpp/1997/07/02/04:02:47
On Tue, 1 Jul 1997, Jim Chapman wrote:
> I just compiled a program and received the following error
>
> libc.a(conio.o) multiple definition of "ungetch"
> libcurso.a(getch.o) first defined here
Don't mix Curses with conio. Curses has everything that you might
need, so instead of whatever conio functions you call now, just call
functions from curses that do the same.
> I think I should remove the definition from libcurso.a
If you do that, I think your program won't work. The correct solution
is to not use conio and Curses at the same time.
- Raw text -