==== Building physfs (debug) ====
Creating ../obj/Debug/physfs
physfs.c
../src/physfs/physfs.c:76:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
     &__PHYSFS_Archiver_BIND_PHYSFS,
     ^
../src/physfs/physfs.c:76:5: note: (near initialization for ‘supported_types[0]’)
physfs_byteorder.c
physfs_unicode.c
physfsrwops.c
adler32.c
compress.c
crc32.c
deflate.c
gzclose.c
gzlib.c
gzread.c
gzwrite.c
infback.c
inffast.c
inflate.c
inftrees.c
ioapi.c
mzip.c
trees.c
uncompr.c
zutil.c
bind_physfs.c
../src/physfs/archivers/bind_physfs.c: In function ‘BIND_PHYSFS_openRead’:
../src/physfs/archivers/bind_physfs.c:225:29: warning: passing argument 3 of ‘doOpen’ from incompatible pointer type [-Wincompatible-pointer-types]
  return(doOpen(opaque, fnm, PHYSFS_openRead, exist));
                             ^~~~~~~~~~~~~~~
../src/physfs/archivers/bind_physfs.c:197:15: note: expected ‘void * (*)(const char *)’ but argument is of type ‘PHYSFS_File * (*)(const char *) {aka struct PHYSFS_File * (*)(const char *)}’
 static fvoid *doOpen(dvoid *opaque, const char *name,
               ^~~~~~
dir.c
subzip.c
../src/physfs/archivers/subzip.c: In function ‘SUBZIP_openArchive’:
../src/physfs/archivers/subzip.c:112:15: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  char *base = name;
               ^~~~
zip.c
unix.c
posix.c
Linking physfs
==== Building minilua (debug) ====
Creating ../obj/Debug/minilua
minilua.c
Linking minilua
Running post-build commands
cp ../bin/Debug/minilua ../src/luajit2/src/host/
==== Building buildvm (debug) ====
Creating ../obj/Debug/buildvm
Running pre-build commands
../src/luajit2/src/host/minilua ../src/luajit2/dynasm/dynasm.lua -D VER= -D P64 -D JIT -D FFI -D FPU -D HFABI -o ../src/luajit2/src/host/buildvm_arch.h ../src/luajit2/src/vm_x86.dasc
buildvm.c
buildvm_asm.c
buildvm_fold.c
buildvm_lib.c
buildvm_peobj.c
Linking buildvm
Running post-build commands
cp ../bin/Debug/buildvm ../src/luajit2/src/
==== Building luajit2 (debug) ====
Creating ../obj/Debug/luajit2
Running pre-build commands
../src/luajit2/src/buildvm -m elfasm -o ../src/luajit2/src/lj_vm.s
../src/luajit2/src/buildvm -m bcdef -o ../src/luajit2/src/lj_bcdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c
../src/luajit2/src/buildvm -m ffdef -o ../src/luajit2/src/lj_ffdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c
../src/luajit2/src/buildvm -m libdef -o ../src/luajit2/src/lj_libdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c
../src/luajit2/src/buildvm -m recdef -o ../src/luajit2/src/lj_recdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c
../src/luajit2/src/buildvm -m vmdef -o ../src/luajit2/vmdef.lua ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c
../src/luajit2/src/buildvm -m folddef -o ../src/luajit2/src/lj_folddef.h ../src/luajit2/src/lj_opt_fold.c
lib_aux.c
lib_base.c
lib_bit.c
lib_debug.c
lib_ffi.c
lib_init.c
lib_io.c
lib_jit.c
lib_math.c
lib_os.c
lib_package.c
lib_string.c
lib_table.c
lj_alloc.c
lj_api.c
lj_asm.c
lj_bc.c
lj_bcread.c
lj_bcwrite.c
lj_carith.c
lj_ccall.c
lj_ccallback.c
lj_cconv.c
lj_cdata.c
lj_char.c
lj_clib.c
lj_cparse.c
lj_crecord.c
lj_ctype.c
lj_debug.c
lj_dispatch.c
lj_err.c
lj_ffrecord.c
lj_func.c
lj_gc.c
lj_gdbjit.c
lj_ir.c
lj_lex.c
lj_lib.c
lj_load.c
lj_mcode.c
lj_meta.c
lj_obj.c
lj_opt_dce.c
lj_opt_fold.c
lj_opt_loop.c
lj_opt_mem.c
lj_opt_narrow.c
lj_opt_sink.c
lj_opt_split.c
lj_parse.c
lj_record.c
lj_snap.c
lj_state.c
lj_str.c
lj_strscan.c
lj_tab.c
lj_trace.c
lj_udata.c
lj_vmevent.c
lj_vmmath.c
lj_vm.s
Linking luajit2
==== Building fov (debug) ====
Creating ../obj/Debug/fov
fov.c
Linking fov
==== Building luasocket (debug) ====
Creating ../obj/Debug/luasocket
auxiliar.c
buffer.c
except.c
inet.c
io.c
luasocket.c
options.c
select.c
tcp.c
timeout.c
udp.c
usocket.c
mime.c
Linking luasocket
==== Building luaprofiler (debug) ====
Creating ../obj/Debug/luaprofiler
clocks.c
core_profiler.c
function_meter.c
lua50_profiler.c
stack.c
Linking luaprofiler
==== Building lpeg (debug) ====
Creating ../obj/Debug/lpeg
lpcap.c
lpcode.c
lpprint.c
lptree.c
lpvm.c
Linking lpeg
==== Building tcodimport (debug) ====
Creating ../obj/Debug/tcodimport
noise_c.c
In file included from ../src/libtcod_import/noise_c.c:32:0:
../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined
 void fill_array64(uint64_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined
 void fill_array32(uint32_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined
 uint64_t gen_rand64(void);
          ^~~~~~~~~~
../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined
 uint32_t gen_rand32(void);
          ^~~~~~~~~~
Linking tcodimport
==== Building lxp (debug) ====
Creating ../obj/Debug/lxp
lxplib.c
Linking lxp
==== Building expatstatic (debug) ====
Creating ../obj/Debug/expatstatic
xmlparse.c
xmlrole.c
xmltok.c
xmltok_impl.c
xmltok_ns.c
Linking expatstatic
==== Building luamd5 (debug) ====
Creating ../obj/Debug/luamd5
des56.c
ldes56.c
md5.c
md5lib.c
Linking luamd5
==== Building luazlib (debug) ====
Creating ../obj/Debug/luazlib
lgzip.c
lzlib.c
Linking luazlib
==== Building luabitop (debug) ====
Creating ../obj/Debug/luabitop
bit.c
Linking luabitop
==== Building te4-bzip (debug) ====
Creating ../obj/Debug/te4-bzip
blocksort.c
bzlib.c
compress.c
crctable.c
decompress.c
huffman.c
randtable.c
Linking te4-bzip
==== Building TEngine (debug) ====
Creating ../obj/Debug/TEngine
SFMT.c
../src/SFMT.c:493:5: warning: ‘idx’ is static but used in inline function ‘fill_array64’ which is not static
     idx = N32;
     ^~~
../src/SFMT.c:492:5: warning: ‘gen_rand_array’ is static but used in inline function ‘fill_array64’ which is not static
     gen_rand_array((w128_t *)array, size / 2);
     ^~~~~~~~~~~~~~
In file included from ../src/SFMT.c:14:0:
../src/SFMT.c:488:12: warning: ‘idx’ is static but used in inline function ‘fill_array64’ which is not static
     assert(idx == N32);
            ^
../src/SFMT.c:488:12: warning: ‘idx’ is static but used in inline function ‘fill_array64’ which is not static
     assert(idx == N32);
            ^
../src/SFMT.c:487:12: warning: ‘initialized’ is static but used in inline function ‘fill_array64’ which is not static
     assert(initialized);
            ^
../src/SFMT.c:487:12: warning: ‘initialized’ is static but used in inline function ‘fill_array64’ which is not static
     assert(initialized);
            ^
../src/SFMT.c:457:5: warning: ‘idx’ is static but used in inline function ‘fill_array32’ which is not static
     idx = N32;
     ^~~
../src/SFMT.c:456:5: warning: ‘gen_rand_array’ is static but used in inline function ‘fill_array32’ which is not static
     gen_rand_array((w128_t *)array, size / 4);
     ^~~~~~~~~~~~~~
In file included from ../src/SFMT.c:14:0:
../src/SFMT.c:452:12: warning: ‘idx’ is static but used in inline function ‘fill_array32’ which is not static
     assert(idx == N32);
            ^
../src/SFMT.c:452:12: warning: ‘idx’ is static but used in inline function ‘fill_array32’ which is not static
     assert(idx == N32);
            ^
../src/SFMT.c:451:12: warning: ‘initialized’ is static but used in inline function ‘fill_array32’ which is not static
     assert(initialized);
            ^
../src/SFMT.c:451:12: warning: ‘initialized’ is static but used in inline function ‘fill_array32’ which is not static
     assert(initialized);
            ^
../src/SFMT.c:419:5: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static
     idx += 2;
     ^~~
../src/SFMT.c:418:17: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static
     r = psfmt64[idx / 2];
                 ^~~
../src/SFMT.c:418:9: warning: ‘psfmt64’ is static but used in inline function ‘gen_rand64’ which is not static
     r = psfmt64[idx / 2];
         ^~~~~~~
../src/SFMT.c:410:2: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static
  idx = 0;
  ^~~
../src/SFMT.c:409:2: warning: ‘gen_rand_all’ is static but used in inline function ‘gen_rand64’ which is not static
  gen_rand_all();
  ^~~~~~~~~~~~
../src/SFMT.c:408:9: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static
     if (idx >= N32) {
         ^~~
In file included from ../src/SFMT.c:14:0:
../src/SFMT.c:406:12: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static
     assert(idx % 2 == 0);
            ^
../src/SFMT.c:406:12: warning: ‘idx’ is static but used in inline function ‘gen_rand64’ which is not static
     assert(idx % 2 == 0);
            ^
../src/SFMT.c:405:12: warning: ‘initialized’ is static but used in inline function ‘gen_rand64’ which is not static
     assert(initialized);
            ^
../src/SFMT.c:405:12: warning: ‘initialized’ is static but used in inline function ‘gen_rand64’ which is not static
     assert(initialized);
            ^
auxiliar.c
bspatch.c
core_lua.c
In file included from ../src/core_lua.c:24:0:
../src/core_lua.c: In function ‘lua_key_set_clipboard’:
../src/luajit2/src/lauxlib.h:97:31: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL))
                               ^
../src/core_lua.c:443:14: note: in expansion of macro ‘luaL_checkstring’
  char *str = luaL_checkstring(L, 1);
              ^~~~~~~~~~~~~~~~
In file included from ../src/core_lua.c:32:0:
../src/core_lua.c: At top level:
../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined
 void fill_array64(uint64_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined
 void fill_array32(uint32_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined
 uint64_t gen_rand64(void);
          ^~~~~~~~~~
../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined
 uint32_t gen_rand32(void);
          ^~~~~~~~~~
In file included from ../src/display.h:23:0,
                 from ../src/core_lua.c:21:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
discord-te4.c
display_sdl.c
dmnd_square.c
In file included from ../src/dmnd_square.c:36:0:
../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined
 void fill_array64(uint64_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined
 void fill_array32(uint32_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined
 uint64_t gen_rand64(void);
          ^~~~~~~~~~
../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined
 uint32_t gen_rand32(void);
          ^~~~~~~~~~
In file included from ../src/display.h:23:0,
                 from ../src/dmnd_square.c:30:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
fov.c
In file included from ../src/fov.c:32:0:
../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined
 void fill_array64(uint64_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined
 void fill_array32(uint32_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined
 uint64_t gen_rand64(void);
          ^~~~~~~~~~
../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined
 uint32_t gen_rand32(void);
          ^~~~~~~~~~
In file included from ../src/display.h:23:0,
                 from ../src/fov.c:21:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
getself.c
glew.c
main.c
../src/main.c: In function ‘stackDump’:
../src/main.c:230:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    { printf("%d: %s // %x\n", i, lua_typename(L, t), (unsigned int)lua_topointer(L, i)); }
                                                      ^
In file included from ../src/main.c:32:0:
../src/main.c: At top level:
../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined
 void fill_array64(uint64_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined
 void fill_array32(uint32_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined
 uint64_t gen_rand64(void);
          ^~~~~~~~~~
../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined
 uint32_t gen_rand32(void);
          ^~~~~~~~~~
In file included from ../src/display.h:23:0,
                 from ../src/main.c:21:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
map.c
../src/map.c: In function ‘map_set_grid’:
../src/map.c:1041:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     lua_pushnumber(L, (int)map->grids[x][y][i]);
                       ^
In file included from ../src/display.h:23:0,
                 from ../src/map.c:21:
../src/map.c: At top level:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
music.c
noise.c
In file included from ../src/display.h:23:0,
                 from ../src/noise.c:21:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
particles.c
In file included from ../src/particles.h:24:0,
                 from ../src/particles.c:30:
../src/particles.c: In function ‘particles_draw’:
../src/tgl.h:86:10: warning: comparison of distinct pointer types lacks a cast
  if ((p) != gl_c_texcoords_ptr || (nb) != gl_c_colors_nb) { glTexCoordPointer((nb), (t), (v), (p)); gl_c_texcoords_ptr=(p); gl_c_texcoords_nb = (nb); } \
          ^
../src/particles.c:441:2: note: in expansion of macro ‘glTexCoordPointer’
  glTexCoordPointer(2, GL_SHORT, 0, texcoords);
  ^~~~~~~~~~~~~~~~~
../src/tgl.h:86:119: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  if ((p) != gl_c_texcoords_ptr || (nb) != gl_c_colors_nb) { glTexCoordPointer((nb), (t), (v), (p)); gl_c_texcoords_ptr=(p); gl_c_texcoords_nb = (nb); } \
                                                                                                                       ^
../src/particles.c:441:2: note: in expansion of macro ‘glTexCoordPointer’
  glTexCoordPointer(2, GL_SHORT, 0, texcoords);
  ^~~~~~~~~~~~~~~~~
../src/particles.c: In function ‘thread_particle_init’:
../src/particles.c:796:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     printf("Particle args init error %x (%s): %s\n", (int)l, ps->args, lua_tostring(L, -1));
                                                      ^
../src/particles.c:844:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    printf("Particle run error %x (%s): %s\n", (int)l, ps->args, lua_tostring(L, -1));
                                               ^
../src/particles.c: In function ‘thread_particles’:
../src/particles.c:1042:2: warning: implicit declaration of function ‘luaopen_shaders’; did you mean ‘luaopen_base’? [-Wimplicit-function-declaration]
  luaopen_shaders(L);
  ^~~~~~~~~~~~~~~
  luaopen_base
../src/particles.c: In function ‘free_particles_thread’:
../src/particles.c:1173:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   printf("Destroying particle thread %d (waiting for thread %x)\n", i, (int)pt->thread);
                                                                        ^
In file included from ../src/particles.c:33:0:
../src/particles.c: At top level:
../src/SFMT.h:74:6: warning: inline function ‘fill_array64’ declared but never defined
 void fill_array64(uint64_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:70:6: warning: inline function ‘fill_array32’ declared but never defined
 void fill_array32(uint32_t array[], int size);
      ^~~~~~~~~~~~
../src/SFMT.h:66:10: warning: inline function ‘gen_rand64’ declared but never defined
 uint64_t gen_rand64(void);
          ^~~~~~~~~~
../src/SFMT.h:62:10: warning: inline function ‘gen_rand32’ declared but never defined
 uint32_t gen_rand32(void);
          ^~~~~~~~~~
In file included from ../src/display.h:23:0,
                 from ../src/particles.c:21:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
physfs.c
profile.c
sdnoise1234.c
serial.c
In file included from ../src/display.h:23:0,
                 from ../src/serial.c:21:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
shaders.c
In file included from ../src/display.h:23:0,
                 from ../src/shaders.c:21:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
struct.c
wait.c
web.c
../src/web.c: In function ‘te4_web_load’:
../src/web.c:593:3: warning: implicit declaration of function ‘execv’ [-Wimplicit-function-declaration]
   execv(get_self_executable(g_argc, g_argv), newargs);
   ^~~~~
In file included from ../src/display.h:23:0,
                 from ../src/web.c:22:
../src/web.c: At top level:
../src/display_sdl.h:46:6: warning: inline function ‘sdlDrawImage’ declared but never defined
 void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
      ^~~~~~~~~~~~
Linking TEngine
../bin/Debug/libluaprofiler.a(core_profiler.o): In function `lprofP_init_core_profiler':
/home/alex/Documents/t-engine4/build/../src/luaprofiler/core_profiler.c:134: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../obj/Debug/TEngine/struct.o: In function `b_unpack':
/home/alex/Documents/t-engine4/build/../src/struct.c:291: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/struct.o: In function `b_pack':
/home/alex/Documents/t-engine4/build/../src/struct.c:181: undefined reference to `luaL_prepbuffer'
../obj/Debug/TEngine/struct.o: In function `putinteger':
/home/alex/Documents/t-engine4/build/../src/struct.c:150: undefined reference to `luaL_prepbuffer'
/home/alex/Documents/t-engine4/build/../src/struct.c:145: undefined reference to `luaL_prepbuffer'
../obj/Debug/TEngine/struct.o: In function `b_pack':
/home/alex/Documents/t-engine4/build/../src/struct.c:189: undefined reference to `luaL_prepbuffer'
/home/alex/Documents/t-engine4/build/../src/struct.c:211: undefined reference to `luaL_prepbuffer'
../obj/Debug/TEngine/struct.o: In function `luaopen_struct':
/home/alex/Documents/t-engine4/build/../src/struct.c:326: undefined reference to `luaL_register'
../obj/Debug/TEngine/main.o: In function `stackDump':
/home/alex/Documents/t-engine4/build/../src/main.c:223: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/main.o: In function `handleIdleTransition':
/home/alex/Documents/t-engine4/build/../src/main.c:1340: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `event_filter':
/home/alex/Documents/t-engine4/build/../src/main.c:289: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:573: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/main.c:321: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/main.c:448: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:559: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:511: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:528: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/main.c:347: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:471: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:403: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:596: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_event':
/home/alex/Documents/t-engine4/build/../src/main.c:546: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/main.c:493: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_tick':
/home/alex/Documents/t-engine4/build/../src/main.c:618: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `call_draw':
/home/alex/Documents/t-engine4/build/../src/main.c:653: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `pass_command_args':
/home/alex/Documents/t-engine4/build/../src/main.c:768: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `on_music_stop':
/home/alex/Documents/t-engine4/build/../src/main.c:848: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `boot_lua':
/home/alex/Documents/t-engine4/build/../src/main.c:1214: undefined reference to `luaL_loadfile'
/home/alex/Documents/t-engine4/build/../src/main.c:1230: undefined reference to `luaL_loadfile'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `boot_lua':
/home/alex/Documents/t-engine4/build/../src/main.c:1247: undefined reference to `luaL_loadfile'
../obj/Debug/TEngine/main.o: In function `docall':
/home/alex/Documents/t-engine4/build/../src/main.c:249: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/main.c:250: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/main.c:251: undefined reference to `lua_remove'
../obj/Debug/TEngine/main.o: In function `main':
/home/alex/Documents/t-engine4/build/../src/main.c:1523: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/main.c:1543: undefined reference to `lua_remove'
../obj/Debug/TEngine/auxiliar.o: In function `auxiliar_checkboolean':
/home/alex/Documents/t-engine4/build/../src/auxiliar.c:84: undefined reference to `luaL_typerror'
../obj/Debug/TEngine/core_lua.o: In function `gl_rotate':
/home/alex/Documents/t-engine4/build/../src/core_lua.c:2208: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:2208: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:2208: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:2208: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/core_lua.o: In function `gl_translate':
/home/alex/Documents/t-engine4/build/../src/core_lua.c:2202: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/core_lua.o:/home/alex/Documents/t-engine4/build/../src/core_lua.c:2202: more undefined references to `lua_tonumber' follow
../obj/Debug/TEngine/core_lua.o: In function `font_make_texture_line':
/home/alex/Documents/t-engine4/build/../src/core_lua.c:876: undefined reference to `lua_replace'
../obj/Debug/TEngine/core_lua.o: In function `sdl_font_draw':
/home/alex/Documents/t-engine4/build/../src/core_lua.c:1186: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:1058: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:1118: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:1121: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:1124: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/core_lua.c:1073: undefined reference to `lua_call'
../obj/Debug/TEngine/fov.o: In function `lua_hex_fov_line_change_step':
/home/alex/Documents/t-engine4/build/../src/fov.c:1253: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/fov.c:1254: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/fov.o: In function `lua_fov_line_change_step':
/home/alex/Documents/t-engine4/build/../src/fov.c:935: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/fov.c:936: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/fov.o: In function `map_opaque':
/home/alex/Documents/t-engine4/build/../src/fov.c:216: undefined reference to `lua_call'
../obj/Debug/TEngine/fov.o: In function `lua_fov_calc_default_fov':
/home/alex/Documents/t-engine4/build/../src/fov.c:584: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/fov.c:585: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/fov.c:586: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/fov.c:587: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/fov.o: In function `map_default_seen':
/home/alex/Documents/t-engine4/build/../src/fov.c:481: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/fov.c:540: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/fov.c:549: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/fov.c:540: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/fov.c:481: undefined reference to `lua_call'
../obj/Debug/TEngine/fov.o:/home/alex/Documents/t-engine4/build/../src/fov.c:549: more undefined references to `lua_call' follow
../obj/Debug/TEngine/map.o: In function `map_set_seen':
/home/alex/Documents/t-engine4/build/../src/map.c:1082: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/map.o: In function `map_draw_seen_texture':
/home/alex/Documents/t-engine4/build/../src/map.c:1317: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/map.c:1318: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/map.o: In function `map_objects_toscreen':
/home/alex/Documents/t-engine4/build/../src/map.c:506: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/map.c:414: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/map.o: In function `map_object_texture':
/home/alex/Documents/t-engine4/build/../src/map.c:203: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/map.c:204: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/map.c:207: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/map.c:208: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/map.o: In function `do_quad':
/home/alex/Documents/t-engine4/build/../src/map.c:1508: undefined reference to `lua_pcall'
../obj/Debug/TEngine/map.o: In function `map_to_screen':
/home/alex/Documents/t-engine4/build/../src/map.c:1887: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/map.c:1929: undefined reference to `lua_call'
../obj/Debug/TEngine/map.o: In function `map_object_set_move_anim':
/home/alex/Documents/t-engine4/build/../src/map.c:331: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/map.c:332: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/map.c:333: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/map.o: In function `do_quad':
/home/alex/Documents/t-engine4/build/../src/map.c:1508: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/map.c:1508: undefined reference to `lua_pcall'
../obj/Debug/TEngine/music.o: In function `soundLocationLua':
/home/alex/Documents/t-engine4/build/../src/music.c:501: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/particles.o: In function `particles_shift':
/home/alex/Documents/t-engine4/build/../src/particles.c:211: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:212: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/particles.o: In function `particles_to_screen':
/home/alex/Documents/t-engine4/build/../src/particles.c:481: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/particles.o: In function `particles_emit':
/home/alex/Documents/t-engine4/build/../src/particles.c:602: undefined reference to `lua_pcall'
../obj/Debug/TEngine/particles.o: In function `getparticulefield':
/home/alex/Documents/t-engine4/build/../src/particles.c:100: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:100: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:100: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:100: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:100: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/particles.o:/home/alex/Documents/t-engine4/build/../src/particles.c:100: more undefined references to `lua_tonumber' follow
../obj/Debug/TEngine/particles.o: In function `thread_particle_run':
/home/alex/Documents/t-engine4/build/../src/particles.c:758: undefined reference to `lua_pcall'
../obj/Debug/TEngine/particles.o: In function `thread_particle_init':
/home/alex/Documents/t-engine4/build/../src/particles.c:786: undefined reference to `luaL_loadfile'
/home/alex/Documents/t-engine4/build/../src/particles.c:816: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:821: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:838: undefined reference to `lua_setfenv'
/home/alex/Documents/t-engine4/build/../src/particles.c:839: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/particles.c:842: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/particles.c:851: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:853: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/particles.c:878: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/particles.c:879: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/particles.c:889: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:893: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:897: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:901: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/particles.c:924: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/particles.o:/home/alex/Documents/t-engine4/build/../src/particles.c:83: more undefined references to `lua_tonumber' follow
../obj/Debug/TEngine/particles.o: In function `thread_particle_init':
/home/alex/Documents/t-engine4/build/../src/particles.c:976: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/particles.c:977: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/particles.c:793: undefined reference to `lua_setfenv'
/home/alex/Documents/t-engine4/build/../src/particles.c:794: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/particles.c:913: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/particles.c:914: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/particles.c:857: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/particles.o: In function `thread_particles':
/home/alex/Documents/t-engine4/build/../src/particles.c:1057: undefined reference to `luaL_loadfile'
/home/alex/Documents/t-engine4/build/../src/particles.c:1046: undefined reference to `lua_pcall'
/home/alex/Documents/t-engine4/build/../src/particles.c:1047: undefined reference to `lua_pcall'
../obj/Debug/TEngine/physfs.o: In function `fs_list_path_double':
/home/alex/Documents/t-engine4/build/../src/physfs.c:426: undefined reference to `lua_objlen'
../obj/Debug/TEngine/physfs.o: In function `lua_file_read':
/home/alex/Documents/t-engine4/build/../src/physfs.c:143: undefined reference to `luaL_prepbuffer'
/home/alex/Documents/t-engine4/build/../src/physfs.c:150: undefined reference to `lua_objlen'
../obj/Debug/TEngine/profile.o: In function `thread_profile':
/home/alex/Documents/t-engine4/build/../src/profile.c:157: undefined reference to `luaL_loadfile'
/home/alex/Documents/t-engine4/build/../src/profile.c:161: undefined reference to `luaL_loadfile'
../obj/Debug/TEngine/serial.o: In function `get_name':
/home/alex/Documents/t-engine4/build/../src/serial.c:311: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/serial.c:311: undefined reference to `lua_call'
../obj/Debug/TEngine/serial.o: In function `add_process':
/home/alex/Documents/t-engine4/build/../src/serial.c:321: undefined reference to `lua_call'
../obj/Debug/TEngine/serial.o: In function `get_name':
/home/alex/Documents/t-engine4/build/../src/serial.c:311: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/serial.c:311: undefined reference to `lua_call'
../obj/Debug/TEngine/serial.o:/home/alex/Documents/t-engine4/build/../src/serial.c:311: more undefined references to `lua_call' follow
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_texture_fast':
/home/alex/Documents/t-engine4/build/../src/shaders.c:500: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number4_fast':
/home/alex/Documents/t-engine4/build/../src/shaders.c:485: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number3_fast':
/home/alex/Documents/t-engine4/build/../src/shaders.c:466: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number2_fast':
/home/alex/Documents/t-engine4/build/../src/shaders.c:448: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number_fast':
/home/alex/Documents/t-engine4/build/../src/shaders.c:431: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number4':
/home/alex/Documents/t-engine4/build/../src/shaders.c:323: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/shaders.c:328: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/shaders.c:329: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/shaders.c:330: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/shaders.c:331: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number3':
/home/alex/Documents/t-engine4/build/../src/shaders.c:289: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/shaders.c:294: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/shaders.c:295: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/shaders.c:296: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number2':
/home/alex/Documents/t-engine4/build/../src/shaders.c:259: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/shaders.c:264: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/shaders.c:265: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_set_uniform_number':
/home/alex/Documents/t-engine4/build/../src/shaders.c:233: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/shaders.c:237: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/shaders.o: In function `program_compile':
/home/alex/Documents/t-engine4/build/../src/shaders.c:539: undefined reference to `lua_remove'
../obj/Debug/TEngine/shaders.o: In function `shader_is_active':
/home/alex/Documents/t-engine4/build/../src/shaders.c:662: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/wait.o: In function `enable':
/home/alex/Documents/t-engine4/build/../src/wait.c:144: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/wait.c:154: undefined reference to `lua_call'
../obj/Debug/TEngine/wait.o: In function `add_max_ticks':
/home/alex/Documents/t-engine4/build/../src/wait.c:213: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/wait.o: In function `manual_tick':
/home/alex/Documents/t-engine4/build/../src/wait.c:204: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/wait.o: In function `draw_waiting':
/home/alex/Documents/t-engine4/build/../src/wait.c:80: undefined reference to `lua_call'
../obj/Debug/TEngine/web.o: In function `handle_event':
/home/alex/Documents/t-engine4/build/../src/web.c:365: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/web.c:286: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/web.c:297: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/web.c:311: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/web.c:326: undefined reference to `lua_remove'
../obj/Debug/TEngine/web.o:/home/alex/Documents/t-engine4/build/../src/web.c:342: more undefined references to `lua_remove' follow
../obj/Debug/TEngine/web.o: In function `lua_web_local_reply_data':
/home/alex/Documents/t-engine4/build/../src/web.c:244: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/web.o: In function `lua_web_local_reply_file':
/home/alex/Documents/t-engine4/build/../src/web.c:219: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/web.o: In function `lua_web_inject_key':
/home/alex/Documents/t-engine4/build/../src/web.c:188: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/web.c:189: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/web.o: In function `lua_web_toscreen':
/home/alex/Documents/t-engine4/build/../src/web.c:109: undefined reference to `lua_tonumber'
../obj/Debug/TEngine/web.o:/home/alex/Documents/t-engine4/build/../src/web.c:108: more undefined references to `lua_tonumber' follow
../obj/Debug/TEngine/web.o: In function `web_instant_js':
/home/alex/Documents/t-engine4/build/../src/web.c:489: undefined reference to `lua_remove'
/home/alex/Documents/t-engine4/build/../src/web.c:501: undefined reference to `lua_tonumber'
../bin/Debug/libluasocket.a(luasocket.o): In function `base_open':
/home/alex/Documents/t-engine4/build/../src/luasocket/luasocket.c:93: undefined reference to `luaL_register'
../bin/Debug/libluasocket.a(select.o): In function `getfd':
/home/alex/Documents/t-engine4/build/../src/luasocket/select.c:94: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/luasocket/select.c:96: undefined reference to `lua_tonumber'
../bin/Debug/libluasocket.a(select.o): In function `dirty':
/home/alex/Documents/t-engine4/build/../src/luasocket/select.c:108: undefined reference to `lua_call'
../bin/Debug/libluasocket.a(mime.o): In function `mime_global_wrp':
/home/alex/Documents/t-engine4/build/../src/luasocket/mime.c:139: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluasocket.a(mime.o): In function `qpquote':
/home/alex/Documents/t-engine4/build/../src/luasocket/mime.c:372: undefined reference to `luaL_prepbuffer'
/home/alex/Documents/t-engine4/build/../src/luasocket/mime.c:373: undefined reference to `luaL_prepbuffer'
/home/alex/Documents/t-engine4/build/../src/luasocket/mime.c:374: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluasocket.a(mime.o): In function `qpencode':
/home/alex/Documents/t-engine4/build/../src/luasocket/mime.c:404: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluasocket.a(mime.o):/home/alex/Documents/t-engine4/build/../src/luasocket/mime.c:412: more undefined references to `luaL_prepbuffer' follow
../bin/Debug/libluasocket.a(buffer.o): In function `buffer_meth_setstats':
/home/alex/Documents/t-engine4/build/../src/luasocket/buffer.c:68: undefined reference to `lua_tonumber'
../bin/Debug/libluasocket.a(buffer.o): In function `buffer_meth_receive':
/home/alex/Documents/t-engine4/build/../src/luasocket/buffer.c:131: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/luasocket/buffer.c:140: undefined reference to `lua_replace'
../bin/Debug/libluasocket.a(buffer.o): In function `recvline':
/home/alex/Documents/t-engine4/build/../src/luasocket/buffer.c:232: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluasocket.a(except.o): In function `wrap':
/home/alex/Documents/t-engine4/build/../src/luasocket/except.c:38: undefined reference to `lua_insert'
../bin/Debug/libluasocket.a(except.o): In function `finalize':
/home/alex/Documents/t-engine4/build/../src/luasocket/except.c:45: undefined reference to `lua_pcall'
../bin/Debug/libluasocket.a(except.o): In function `unwrap':
/home/alex/Documents/t-engine4/build/../src/luasocket/except.c:73: undefined reference to `lua_insert'
../bin/Debug/libluasocket.a(except.o): In function `protected_':
/home/alex/Documents/t-engine4/build/../src/luasocket/except.c:80: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/luasocket/except.c:81: undefined reference to `lua_pcall'
../bin/Debug/libluasocket.a(options.o): In function `opt_linger':
/home/alex/Documents/t-engine4/build/../src/luasocket/options.c:78: undefined reference to `luaL_typerror'
/home/alex/Documents/t-engine4/build/../src/luasocket/options.c:88: undefined reference to `lua_tonumber'
../bin/Debug/libluasocket.a(options.o): In function `opt_setmembership':
/home/alex/Documents/t-engine4/build/../src/luasocket/options.c:114: undefined reference to `luaL_typerror'
../bin/Debug/libluaprofiler.a(lua50_profiler.o): In function `exit_profiler':
/home/alex/Documents/t-engine4/build/../src/luaprofiler/lua50_profiler.c:74: undefined reference to `lua_call'
../bin/Debug/libluaprofiler.a(lua50_profiler.o): In function `calcCallTime':
/home/alex/Documents/t-engine4/build/../src/luaprofiler/lua50_profiler.c:203: undefined reference to `lua_pcall'
../bin/Debug/liblpeg.a(lptree.o): In function `fixonecall':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:56: undefined reference to `lua_tonumber'
../bin/Debug/liblpeg.a(lptree.o): In function `getsize':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:157: undefined reference to `lua_objlen'
../bin/Debug/liblpeg.a(lptree.o): In function `addtoktable':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:217: undefined reference to `lua_getfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:218: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:225: undefined reference to `lua_setfenv'
../bin/Debug/liblpeg.a(lptree.o): In function `getpatt':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:291: undefined reference to `lua_tointeger'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:314: undefined reference to `lua_replace'
../bin/Debug/liblpeg.a(lptree.o): In function `ktablelen':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:329: undefined reference to `lua_objlen'
../bin/Debug/liblpeg.a(lptree.o): In function `joinktables':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:357: undefined reference to `lua_getfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:358: undefined reference to `lua_getfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:365: undefined reference to `lua_equal'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:367: undefined reference to `lua_setfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:371: undefined reference to `lua_setfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:380: undefined reference to `lua_setfenv'
../bin/Debug/liblpeg.a(lptree.o): In function `copyktable':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:419: undefined reference to `lua_getfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:420: undefined reference to `lua_setfenv'
../bin/Debug/liblpeg.a(lptree.o): In function `mergektable':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:431: undefined reference to `lua_getfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:432: undefined reference to `lua_getfenv'
../bin/Debug/liblpeg.a(lptree.o): In function `lp_divcapture':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:700: undefined reference to `lua_tointeger'
../bin/Debug/liblpeg.a(lptree.o): In function `getfirstrule':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:823: undefined reference to `lua_insert'
../bin/Debug/liblpeg.a(lptree.o): In function `collectrules':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:853: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:854: undefined reference to `lua_equal'
../bin/Debug/liblpeg.a(lptree.o): In function `initialrulename':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1004: undefined reference to `lua_objlen'
../bin/Debug/liblpeg.a(lptree.o): In function `newgrammar':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1020: undefined reference to `lua_setfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1022: undefined reference to `lua_getfenv'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1027: undefined reference to `lua_insert'
../bin/Debug/liblpeg.a(lptree.o): In function `prepcompile':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1036: undefined reference to `lua_getfenv'
../bin/Debug/liblpeg.a(lptree.o): In function `lp_printtree':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1047: undefined reference to `lua_getfenv'
../bin/Debug/liblpeg.a(lptree.o): In function `lp_match':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1100: undefined reference to `lua_getfenv'
../bin/Debug/liblpeg.a(lptree.o): In function `luaopen_lpeg':
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1226: undefined reference to `luaL_register'
/home/alex/Documents/t-engine4/build/../src/lpeg/lptree.c:1227: undefined reference to `luaL_register'
../bin/Debug/liblpeg.a(lpvm.o): In function `doublecap':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpvm.c:52: undefined reference to `lua_replace'
../bin/Debug/liblpeg.a(lpvm.o): In function `doublestack':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpvm.c:66: undefined reference to `lua_tointeger'
/home/alex/Documents/t-engine4/build/../src/lpeg/lpvm.c:74: undefined reference to `lua_replace'
../bin/Debug/liblpeg.a(lpvm.o): In function `resdyncaptures':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpvm.c:96: undefined reference to `lua_tointeger'
/home/alex/Documents/t-engine4/build/../src/lpeg/lpvm.c:100: undefined reference to `lua_remove'
../bin/Debug/liblpeg.a(lpcap.o): In function `updatecache':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:35: undefined reference to `lua_replace'
../bin/Debug/liblpeg.a(lpcap.o): In function `findback':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:129: undefined reference to `lua_equal'
../bin/Debug/liblpeg.a(lpcap.o): In function `foldcap':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:215: undefined reference to `lua_insert'
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:217: undefined reference to `lua_call'
../bin/Debug/liblpeg.a(lpcap.o): In function `functioncap':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:232: undefined reference to `lua_call'
../bin/Debug/liblpeg.a(lpcap.o): In function `numcap':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:252: undefined reference to `lua_replace'
../bin/Debug/liblpeg.a(lpcap.o): In function `runtimecap':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:293: undefined reference to `lua_call'
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:297: undefined reference to `lua_remove'
../bin/Debug/liblpeg.a(lpcap.o): In function `stringcap':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:373: undefined reference to `luaL_prepbuffer'
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:375: undefined reference to `luaL_prepbuffer'
../bin/Debug/liblpeg.a(lpcap.o): In function `pushcapture':
/home/alex/Documents/t-engine4/build/../src/lpeg/lpcap.c:471: undefined reference to `lua_insert'
../bin/Debug/liblxp.a(lxplib.o): In function `docall':
/home/alex/Documents/t-engine4/build/../src/lxp/lxplib.c:85: undefined reference to `lua_pcall'
../bin/Debug/libluamd5.a(md5lib.o): In function `ex_or':
/home/alex/Documents/t-engine4/build/../src/luamd5/md5lib.c:51: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluazlib.a(lzlib.o): In function `lzstream_decompress':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:198: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:203: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluazlib.a(lzlib.o): In function `lzstream_compress':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:234: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:239: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluazlib.a(lzlib.o): In function `lzstream_flush':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:281: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluazlib.a(lzlib.o): In function `lzlib_adler32':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:346: undefined reference to `lua_objlen'
../bin/Debug/libluazlib.a(lzlib.o): In function `lzlib_crc32':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:366: undefined reference to `lua_objlen'
../bin/Debug/libluazlib.a(lzlib.o): In function `lzlib_compress':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:379: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:414: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluazlib.a(lzlib.o): In function `lzlib_decompress':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:445: undefined reference to `lua_objlen'
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:476: undefined reference to `luaL_prepbuffer'
../bin/Debug/libluazlib.a(lzlib.o): In function `luaopen_zlib':
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:566: undefined reference to `luaL_register'
/home/alex/Documents/t-engine4/build/../src/lzlib/lzlib.c:585: undefined reference to `luaL_register'
../bin/Debug/libluabitop.a(bit.o): In function `barg':
/home/alex/Documents/t-engine4/build/../src/luabitop/bit.c:62: undefined reference to `lua_tonumber'
/home/alex/Documents/t-engine4/build/../src/luabitop/bit.c:87: undefined reference to `luaL_typerror'
../bin/Debug/libluabitop.a(bit.o): In function `luaopen_bit':
/home/alex/Documents/t-engine4/build/../src/luabitop/bit.c:183: undefined reference to `luaL_register'
collect2: error: ld returned 1 exit status
make[1]: *** [TEngine.make:112: ../bin/Debug/t-engine] Error 1
make: *** [Makefile:17: TEngine] Error 2
