From: Tudor Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP!!! DJGPP Date: Tue, 18 Feb 1997 15:52:04 -0800 Organization: Communications Accesibles Montreal Lines: 18 Message-ID: <330A40A4.1A0C@cam.org> References: <01bc1de5$ef87c520$0100007f AT default> Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynppp-80.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Eclipse wrote: [...] > In the C:\ALLEGRO directory I typed this, gcc -o ex1.exe ex1.c > > c:/djgpp/tmp\ccdaaaa(.text + 0x19):ex1.c:undefined reference to > 'allegro_init' [yadda yadda] You didn't include the library in the command line.So those functions don't exist for the compiler. You should have typed gcc -o ex1.exe ex1.c -lalleg ;this assumes you have liballeg.a in the libs\ directory. > Anyway I would appreciate any help. > THANKS -- tudor 'at' cam 'dot' org http://www.cam.org/~tudor 'This is Scott Nudds of the Borg. C is irrelevant.'