Share

The EDGE Project

Tracker: Bugs

5 Error while linking - ID: 2793566
Last Update: Comment added ( rabyte )

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


Christoph Zeiler ( rabyte ) - 2009-05-18 22:11

5

Open

Fixed

Nobody/Anonymous

Engine (Linux Specific)

Fatal (With Error Message)

Public


Comments ( 2 )

Date: 2009-05-23 18:29
Sender: rabyte

Duh, yeah that did the trick. Remember reading it in the readme ages ago,
but forgot about it :-/
My apologies.


Date: 2009-05-19 02:44
Sender: ajaptedProject Admin

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.


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
resolution_id None 2009-05-23 18:29 rabyte