From: null AT labofmadness DOT com (JMH) Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie PD curses strangeness - undefined '_initscr' Organization: Lab of Madness Message-ID: <3db0516e.47465281@netnews.attbi.com> References: <3daf44bd DOT 44216409 AT netnews DOT attbi DOT com> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 36 NNTP-Posting-Host: 12.228.115.236 X-Complaints-To: abuse AT attbi DOT com X-Trace: sccrnsc03 1034834377 12.228.115.236 (Thu, 17 Oct 2002 05:59:37 GMT) NNTP-Posting-Date: Thu, 17 Oct 2002 05:59:37 GMT Date: Thu, 17 Oct 2002 05:59:37 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 17 Oct 2002 05:54:39 GMT, null AT labofmadness 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' > >Similiar errors appear when other curses functions are called. I saw >an answer on google that boiled down to RTFM, but that ain't helpin'. > >Please let me know what I'm doing wrong (or if one of the fabled c++ >wrappers for curses is what I should be using in the first place). > >-JMH Hate following up to myself, but I wanted to mention that compiling the curses demo 'firework.c' outside of the pdcurses makefile is giving the same kind of problems as the above. (It made me a perfectly nice firework.exe when I compiled pdcurses earlier.) -JMH