|
From: Achim W. <a.w...@on...> - 2005-09-09 18:21:28
|
Peter Hull wrote: > > On Tuesday, September 6, 2005, at 06:20 am, Achim Woellgens wrote: > >> well first thing I tried was the fixunix batch and then make and I >> tried and copied the makefile.lnx to the root directory and ran it >> with same results. > > Don't copy that file, fixunix.sh will create a makefile in the > directory which includes some other makefiles automatically > >> what I get when trying to compile: >> >> ################################################### >> [root@localhost KQ]# make >> make: *** Keine Regel vorhanden, um das Target >> »/usr/local/include/allegro/internal/alconfig.h«, >> benötigt von »obj/unix/combat.o«, zu erstellen. Schluss. >> ################################################### >> it prints target-erors which looks for me as if it wants the includes >> etc. in /usr/local/include, ...../lib etc. but most of the libs are >> precompiled rpms located in the /usr tree except jgmod, dumb and my >> browser plugins..... > > If you type > allegro-config --cflags > this should indicate where it thinks the allegro include files should > be installed. If this is not right, allegro hasn't been installed > properly. > > Try this: > ./fixunix.sh > make depend > make > > Does that work? I'm puzzled because combat.c does not include > alconfig.h directly (at least in the version I have here) Hi Peter, sorry I made You puzzled, but it s trickier than I thought..... ;-) after doin the three steps, You told me it went a bit further but stops now with an error, that s pretty cryptographic for me....: gcc -Wall -W -I include -DKQ_CHEATS -DKQ_USE_DUMB -s -O2 -ffast-math -funroll-loops -fomit-frame-pointer -c -o obj/unix/intrface.o src/intrface.c till here it works fine including the compilation of combat.c... then: src/intrface.c: In function `init_obj': src/intrface.c:575: warning: implicit declaration of function `lua_newtag' src/intrface.c:579: warning: implicit declaration of function `lua_settag' src/intrface.c:581: warning: implicit declaration of function `lua_pushuserdata' src/intrface.c:586: warning: implicit declaration of function `lua_settagmethod' src/intrface.c: In function `do_luainit': src/intrface.c:2972: too many arguments to function `lua_open' src/intrface.c:2984: warning: implicit declaration of function `lua_dofile' src/intrface.c:2997: warning: implicit declaration of function `luaL_ref' src/intrface.c: In function `do_luakill': src/intrface.c:3044: warning: implicit declaration of function `luaL_unref' make: *** [obj/unix/intrface.o] Fehler 1 is this a lua-version problem or any kind of that...? bye Achim |