From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP!!! Date: Sat, 15 Feb 1997 13:24:44 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 17 Message-ID: <3306299C.3B59@cs.com> References: <3305E441 DOT 223A AT cs DOT umu DOT se> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp222.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Henrik Magnusson wrote: > > HEllo Iīm a beginner in the DJGPP-world and canīt get my allegro routines to work > I keep getting the error message: undefined reference to 'allegro_init' You have to link the Allegro library when you compile your programs. Add '-lalleg' to the END of the gcc command line, or if you are using RHIDE, add "alleg" to the list of libraries to link in Options|Libraries. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | "Starting flamewars since 1993" | http://www.cs.com/fighteer | | *** NOTICE *** This .signature is generated randomly. | | If you don't like it, sue my computer. | ---------------------------------------------------------------------