Date: Wed, 2 Jul 1997 11:02:13 +0300 (IDT) From: Eli Zaretskii To: Jim Chapman cc: djgpp AT delorie DOT com Subject: Re: ungetch In-Reply-To: <33B9BF05.6C0F@sympatico.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.