From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro and DJGPP compiling ! (not the MAKE problem) Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8r09ee$75b$1 AT uranium DOT btinternet DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 X-Trace: /bQNuavoeUkk20ZUOhg66B98V/6QcFn1zDjy1c57t2CzHGMhYKQEHXBdbimg29KjV8N7PomjF+/K!hkNePzhPcAByh5Al85bglZwTZvZGFZoO4BtmfLeB5veOPjAghc1LjUTymC9SIbM16LhiyddZG2VU!+Unz5g== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Thu, 28 Sep 2000 21:42:30 GMT Distribution: world Date: Thu, 28 Sep 2000 21:42:30 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 28 Sep 2000 21:25:22 +0100, "DjAttitude" wrote: >Hi, > >this is not about the MAKE allegro problem, its something else. > >Heres the prob, > >(Using Rhide..) > >1. I open an example from allegro examples dir, eg 'ex1.c' >2. I do Alt-F9 and it says 'No Errors' >3. when I try to run, Ctrl-F9. Errors arise:- > >Error: ex1.o: In function `main': >ex1.c(12) Error: undefined reference to `allegro_init' >ex1.c(13) Error: undefined reference to `install_keyboard' You forgot to link in %DJDIR%/lib/liballeg.a. To do that in RHIDE, choose Options > Libraries... then add the word alleg somewhere near the bottom of the big square, and put an X in the box just to the left of "alleg". --