Hi
try to compile the smaug with lua but throws me the following errors , I hope you can guide me to solve :
Compiling o/mt19937ar.o....
Compiling o/account.o....
Compiling o/trivia.o....
Compiling o/enhance.o....
Compiling o/delivery.o....
liblua.a(lauxlib.o):lauxlib.c:(.text+0x82): undefined reference to `__errno'
liblua.a(lauxlib.o):lauxlib.c:(.text+0xe6): undefined reference to `__getreent'
liblua.a(lauxlib.o):lauxlib.c:(.text+0x1256): undefined reference to `__getreent '
liblua.a(lbaselib.o):lbaselib.c:(.text+0x9ba): undefined reference to `__getreen t'
liblua.a(lbaselib.o):lbaselib.c:(.text+0x9cd): undefined reference to `__getreen t'
liblua.a(lbaselib.o):lbaselib.c:(.text+0xa51): undefined reference to `__getreen t'
liblua.a(ldblib.o):ldblib.c:(.text+0x2a1): more undefined references to `__getre ent' follow
liblua.a(liolib.o):liolib.c:(.text+0x11): undefined reference to `__errno'
liblua.a(liolib.o):liolib.c:(.text+0xd91): undefined reference to `__errno'
liblua.a(liolib.o):liolib.c:(.text+0xe7d): undefined reference to `__errno'
liblua.a(liolib.o):liolib.c:(.text+0x1118): undefined reference to `__getreent'
liblua.a(liolib.o):liolib.c:(.text+0x1136): undefined reference to `__getreent'
liblua.a(liolib.o):liolib.c:(.text+0x1154): undefined reference to `__getreent'
liblua.a(loslib.o):loslib.c:(.text+0x81): undefined reference to `__errno'
liblua.a(ldo.o):ldo.c:(.xdata+0x14): undefined reference to `__gxx_personality_s eh0'
/usr/bin/ld: smaug(.pdata): relocation ".text+0x0 (type rva32)" goes out of rang e
/usr/bin/ld: final link failed: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2
Using
Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04
Lua 5.1.5
SmaugFUSS
try to compile the smaug with lua but throws me the following errors , I hope you can guide me to solve :
Compiling o/mt19937ar.o....
Compiling o/account.o....
Compiling o/trivia.o....
Compiling o/enhance.o....
Compiling o/delivery.o....
liblua.a(lauxlib.o):lauxlib.c:(.text+0x82): undefined reference to `__errno'
liblua.a(lauxlib.o):lauxlib.c:(.text+0xe6): undefined reference to `__getreent'
liblua.a(lauxlib.o):lauxlib.c:(.text+0x1256): undefined reference to `__getreent '
liblua.a(lbaselib.o):lbaselib.c:(.text+0x9ba): undefined reference to `__getreen t'
liblua.a(lbaselib.o):lbaselib.c:(.text+0x9cd): undefined reference to `__getreen t'
liblua.a(lbaselib.o):lbaselib.c:(.text+0xa51): undefined reference to `__getreen t'
liblua.a(ldblib.o):ldblib.c:(.text+0x2a1): more undefined references to `__getre ent' follow
liblua.a(liolib.o):liolib.c:(.text+0x11): undefined reference to `__errno'
liblua.a(liolib.o):liolib.c:(.text+0xd91): undefined reference to `__errno'
liblua.a(liolib.o):liolib.c:(.text+0xe7d): undefined reference to `__errno'
liblua.a(liolib.o):liolib.c:(.text+0x1118): undefined reference to `__getreent'
liblua.a(liolib.o):liolib.c:(.text+0x1136): undefined reference to `__getreent'
liblua.a(liolib.o):liolib.c:(.text+0x1154): undefined reference to `__getreent'
liblua.a(loslib.o):loslib.c:(.text+0x81): undefined reference to `__errno'
liblua.a(ldo.o):ldo.c:(.xdata+0x14): undefined reference to `__gxx_personality_s eh0'
/usr/bin/ld: smaug(.pdata): relocation ".text+0x0 (type rva32)" goes out of rang e
/usr/bin/ld: final link failed: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2
Using
Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04
Lua 5.1.5
SmaugFUSS