[AD] [ alleg-Bugs-2789640 ] Problem building skater_agl

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #2789640, was opened at 2009-05-10 10:00
Message generated for change (Tracker Item Submitted) made by sfuser437
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2789640&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Building
Group: 4.3.10plus
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: First Last (sfuser437)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem building skater_agl

Initial Comment:
The skater_agl sample application fails to find the allegro library, aparently because of a wrong path in the makefile.
Making the following change to the makefile fixes the problem:

131c131
<    ALLEGRO_GL_LFLAGS = -Laddons/allegrogl/libs/ -lagl -lGL -lGLU
---
>    ALLEGRO_GL_LFLAGS = -Laddons/allegrogl/lib/unix/ -lagl -lGL -lGLU

I assume this is not the correct/generic solution, but since I'm not very familiar with the automake tools I'm just reporting this.

Below is the error shown at compile time:
gcc -s -Wl,--export-dynamic  -o demos/skater/skater_agl  obj/unix/skater_agl/anim.o obj/unix/skater_agl/backscrl.o obj/unix/skater_agl/credits.o obj/unix/skater_agl/dblbuf.o obj/unix/skater_agl/fps.o obj/unix/skater_agl/framewk.o obj/unix/skater_agl/game_sk.o obj/unix/skater_agl/gamepad.o obj/unix/skater_agl/global.o obj/unix/skater_agl/intro.o obj/unix/skater_agl/kbd_sk.o obj/unix/skater_agl/level.o obj/unix/skater_agl/lvlalloc.o obj/unix/skater_agl/lvlfile.o obj/unix/skater_agl/lvlstate.o obj/unix/skater_agl/menu.o obj/unix/skater_agl/menuabt.o obj/unix/skater_agl/menuctl.o obj/unix/skater_agl/menugfx.o obj/unix/skater_agl/menumain.o obj/unix/skater_agl/menumisc.o obj/unix/skater_agl/menuopts.o obj/unix/skater_agl/menusnd.o obj/unix/skater_agl/menusucc.o obj/unix/skater_agl/music.o obj/unix/skater_agl/oglflip.o obj/unix/skater_agl/pageflip.o obj/unix/skater_agl/physics.o obj/unix/skater_agl/quadtree.o obj/unix/skater_agl/scrshot.o obj/unix/skater_agl/skater.o obj/unix/skater_agl/token.o obj/unix/skater_agl/transitn.o obj/unix/skater_agl/tribuf.o obj/unix/skater_agl/virtctl.o -Laddons/allegrogl/libs/ -lagl -lGL -lGLU -Llib/unix -lalleg-4.3.10 -lalleg_unsharable -lm -lm -lXext -lX11 -lpthread -ldl
/usr/bin/ld: cannot find -lagl


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2789640&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/