From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro programs won't compile Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <000201c088bd$50aebfc0$7d012f04 AT rudycomputer> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 X-Trace: /Kw5eDXQhUG2/LsWnbDrCNO32bq33gR0jZgEtg+RcVYW8gm4gLJj/zFSttm6m4rUTKlpmcsqjs+6!IIm8JVjGL9q/8BA/hSuH+SgTotmyQ/J1VVutQ2jeeyI8ahYFAENgewQdgpEGinNP9pUL5Jx8OdXe!mg3Wxg== 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: Mon, 29 Jan 2001 03:30:15 GMT Distribution: world Date: Mon, 29 Jan 2001 03:30:15 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 27 Jan 2001 21:57:53 -0200, "rujasu" wrote: >Whenever I try to compile a C program using allegro.h with GCC.EXE, >the compiler says "f:/djgpp/tmp\(some bizzare filename):(name of >program to be compiled): undefined reference to (function from >allegro.h)`' once for Allegro every function used in the program. >The Allegro example programs won't compile either, even though they >compiled fine when I ran make & the executables work fine, so I >don't think that my code is the culprit. When I compile out of >RHIDE, it works fine, but I can't create an executable file through >RHIDE. What is my problem? Options > Libraries... Add alleg to the big box and check the little box immediately to the left. --