Message-ID: <3DAE858C.38154C47@earthlink.net> From: Martin Ambuhl X-Mailer: Mozilla 4.79 [en]C-CCK-MCD NSCPCD479 (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie PD curses strangeness - undefined '_initscr' References: <3daf44bd DOT 44216409 AT netnews DOT attbi DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 Date: Thu, 17 Oct 2002 09:39:55 GMT NNTP-Posting-Host: 67.210.12.54 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread1.prod.itd.earthlink.net 1034847595 67.210.12.54 (Thu, 17 Oct 2002 02:39:55 PDT) NNTP-Posting-Date: Thu, 17 Oct 2002 02:39:55 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com JMH wrote: > > Hours of pouring through Dejagoogle haven't given me assistance (and > since the last question I asked ended up with me realizing I must have > had a screwy download to blame for my troubles, I'm asking you folks.) > > Trying to get pdcurses working. > > Unpacked the binary. > > #include > > int main() { > initscr(); > return 0; > } > > compiles file, but linking gives: > > Error: undefined reference to '_initscr' Your forgot the '-lpdcurses' argument to gcc. Those routines have to live somewhere, y'know.