delorie.com/archives/browse.cgi | search |
Message-ID: | <00dd01c0a7e6$b112f460$6300a8c0@brk> |
From: | "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net> |
To: | <djgpp AT delorie DOT com> |
Subject: | Re: undefined reference... |
Date: | Thu, 8 Mar 2001 16:43:42 +0100 |
MIME-Version: | 1.0 |
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?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |