From: enlar AT arrakis DOT es (Eneko Lacunza) Newsgroups: comp.os.msdos.djgpp Subject: PDCurses and LIBC Date: Sat, 12 Apr 1997 22:15:36 +0000 Organization: Unisource Espana NEWS SERVER Lines: 16 Sender: enlar AT arrakis DOT es (Eneko Lacunza) Message-ID: NNTP-Posting-Host: caladan.arrakis.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hello All! > I've got a problem with DJGPP v2.01 and PDCurses 2.2; when I try to > build a >program with the curses library, when linking the object files, in >libc.a(conio.c) it says that ungetch() has multiple definitions and that >the >first definition is in libcurso.a(getch.c). OPPS! I've discovered what I was doing wrong: I was including curses.h and conio.h !!! Since getch() is in both files, gcc didn't know what to use. Greetings, Eneko. Fidonet 2:344/19.11 | 2:344/20.13 e-mail: enlar AT arrakis DOT es