Compilation errors out while linking:
g++ -o gledge32 -Wl,--warn-common main.o -Lsrc -Lddf -Ltimidity -Lepi -Lglbsp -Ldeh_edge -Llinux_lib/lua-5.1.2/src -Llinux_lib/zlib-1.2.3 -Llinux_lib/libpng-1.2.12 -Llinux_lib/jpeg-6b -Llinux_lib/fltk-1.1.9/lib -L/usr/lib -Llinux_lib/glew-1.4/lib -Llinux_lib/libogg-1.1.3 -Llinux_lib/libvorbis-1.1.2 -ledge1 -lddf -ltimidity -lepi -lglbsp -ldehedge -llua -lpng -ljpeg -lz -lfltk -lfltk_images -lSDL -lpthread -lGLEW -lGL -lvorbisfile -lvorbis -logg
src/libedge1.a(l_lua.o): In function `PL_main_ammo(lua_State*)':
l_lua.cc:(.text+0x8d): undefined reference to `lua_pushinteger(lua_State*, long)'
--> [ and much more "undefined references" to lua stuff ]
---
Submitted by rabyte_at_moonblade.dot.org
Lua must be compiled with a C++ compiler, like it says in the INSTALL document.
Download Lua 5.1.2 source, put it in linux_lib directory (i.e. you have linux_lib/lua-5.1.2)
then edit its Makefiles to compile with g++ and then compile it.
Duh, yeah that did the trick. Remember reading it in the readme ages ago, but forgot about it :-/
My apologies.