Date: Thu, 17 Oct 2002 08:28:56 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: JMH cc: djgpp AT delorie DOT com Subject: Re: Newbie PD curses strangeness - undefined '_initscr' In-Reply-To: <3daf44bd.44216409@netnews.attbi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 17 Oct 2002, JMH wrote: > #include > > int main() { > initscr(); > return 0; > } > > compiles file, but linking gives: > > Error: undefined reference to '_initscr' Did you mention -lpdcurses on the link command line? If not, the linker won't look into the PDCurses library and won't find its functions.