Mail Archives: djgpp/1996/09/22/23:15:26
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/
-----------------------------------------------------------------------------
- Raw text -