Date: Sun, 22 Sep 1996 22:47:55 -0400 (EDT) From: "The Leathal Mr. Wiggly" To: Takahiro Horie cc: djgpp AT delorie DOT com Subject: Re: Compiling Allegro Examples In-Reply-To: <52491v$h52@dfw-ixnews3.ix.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hey! What you need to do is make sure that the lib file with all of the allegro functions is included. Try this. gcc ex1.c -lalleg cya, Patrick On 22 Sep 1996, Takahiro Horie wrote: > Dear Allegro Gurus, > > Thanks for looking at my query. I just got Allegro 2.1 and am very > excited to start using it. I ran the demo and the examples and I was > completely stunned! > Now that I am going to try to make some things myself, I tried to > compile the EX1.C source: > > gcc ex1.c > > and the result was 13 errors: > > ex1.c(.text+0x19): undefined reference to 'allegro_init' > ex1.c(.text+0x1e): undefined reference to 'install_keyboard' > etc... > > I can tell it's a gcc invoking problem. Could you help me? > > Thanks in advance, > Takahiro (takahiro AT ix DOT netcom DOT com) > > > > > "When you park, don't drink. Accidents cause people." - Wise Man ----------------------------------------------------------------------------- Patrick L. Jenkins | E-Mail: pjenki1 AT gl DOT umbc DOT edu XSIV Software | WWW: http://www.gl.umbc.edu/~pjenki1/ -----------------------------------------------------------------------------