delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/15/14:06:32

Message-ID: <378E2065.B0C1B634@pallen.dabsol.co.uk>
Date: Thu, 15 Jul 1999 18:54:45 +0100
From: Peter Allen <P DOT Allen AT pallen DOT dabsol DOT co DOT uk>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: allegro demo compilation error
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990715181433 DOT 16121B-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> On Thu, 15 Jul 1999 el_maraco AT my-deja DOT com wrote:
> 
> > i was trying to compile the demo file bundled with allegro deistribution
> > and i'm getting very extrange errors such
> >
> > djgpp/tmp\cccitvse....:demo.c: undefined reference to '....'
> 
> These messages usually mean that the linker wasn't told to look in some
> libraries, and therefore it cannot resolve some of the functions your
> program is calling.
> 
> Had you posted the exact text of the message except of leaving out the
> most important parts (the names that follow the "undefined reference to"
> part), it would be much easier to help you find the problem(s).

Although as a guess you haven't "make'd" allegro yet.  RTFM the allegro
manual, and follow the instructions for making it.  (Quick way:type
make in the allegro directory, if DJGPP is set up correctly.
If you have make'd/made allegro already then the demo.exe should already
 have been built.

			Peter Allen

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019