Mail Archives: djgpp/2000/09/29/07:45:12
I think you forgot the flag -lalleg in the comando line, but i don't know
where you must input it in the Rhide.
On Thu, 28 Sep 2000, DjAttitude wrote:
> Hi,
>
> this is not about the MAKE allegro problem, its something else.
>
> Heres the prob,
>
> (Using Rhide..)
>
> 1. I open an example from allegro examples dir, eg 'ex1.c'
> 2. I do Alt-F9 and it says 'No Errors'
> 3. when I try to run, Ctrl-F9. Errors arise:-
>
> Error: ex1.o: In function `main':
> ex1.c(12) Error: undefined reference to `allegro_init'
> ex1.c(13) Error: undefined reference to `install_keyboard'
> ex1.c(14) Error: undefined reference to `set_gfx_mode'
> ex1.c(15) Error: undefined reference to `desktop_pallete'
> Error: ex1.c(.text+0x47): undefined reference to `set_pallete'
> ex1.c(16) Error: undefined reference to `gfx_driver'
> Error: ex1.c(.text+0x61): undefined reference to `gfx_driver'
> Error: ex1.c(.text+0x85): undefined reference to `gfx_driver'
> Error: ex1.c(.text+0x8e): undefined reference to `gfx_driver'
> Error: ex1.c(.text+0xb9): undefined reference to `font'
> Error: ex1.c(.text+0xbf): undefined reference to `screen'
> Error: ex1.c(.text+0xc5): undefined reference to `textout_centre'
> Error: collect2: ld returned 1 exit status
> There were some errors
>
> Please, can anyone help ?
>
> Thanx
>
>
>
>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emerson Arantes Heringer
e-mail: heringer AT dcc DOT ufmg DOT br
graduando em Ciência da Computação
Universidade Federal de Minas Gerais
http://yeahbrasil.cjb.net
Los Poderosos Patrulleros
El Morcego Errante
Va, va, Patrulleros!
Quizás la manha esteja con usted...
(There is no silver spoon)
- Raw text -