Message-ID: <00dd01c0a7e6$b112f460$6300a8c0@brk> From: "Johan Henriksson" To: Subject: Re: undefined reference... Date: Thu, 8 Mar 2001 16:43:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com from: Johan Henriksson, leadprogrammer @ www.realsoftware.cjb.net "The individual should be praised for it's struggle, the society condemned for it's actions" - me 1997 #12035895 ---------------------------------------------------------------------------- ------------------- >Hi! >I have just installed DJGPP (unzipped all the zip-files by using unzip32 and >set the path in autoexec.bat) but when I compile a program it says this: >"undefined reference to allegro_exit" and the next line: "undefined >reference to set_palette".....etc. >I wonder why it does this?? I have included the allegro.h-file into the >directory where I created my program and I have put lfn = y... >What is wrong?? >Please HELP!! 1. Did you add -lalleg to GCC's commandline? (or add alleg to library menu in Rhide) 2. Did you make and make install allegro? 3. Does any other program w/o Allegro compile? A hello world?