[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: Miles Bader <miles@...>
- Date: Sat, 06 Jul 2013 15:01:13 +0900
btw, LPeg (version 0.11) doesn't seem to compile with Lua 5.3 work 1...
I get errors like:
$ gcc -DHAVE_CONFIG_H -I. -I/usr/include/libpng12 -Wall -pthread -I/usr/include/OpenEXR -I/usr/local/src/lua-5.3.0-work1/src -O3 -fomit-frame-pointer -flto -ffast-math -march=native -mfpmath=sse -g -fno-finite-math-only -ftrapping-math -fno-associative-math -ffunction-sections -pthread -MT lptree.o -MD -MP -MF .deps/lptree.Tpo -c -o lptree.o lptree.c
lptree.c: In function ‘getsize’:
lptree.c:156:3: warning: implicit declaration of function ‘lua_objlen’ [-Wimplicit-function-declaration]
return (lua_objlen(L, idx) - sizeof(Pattern)) / sizeof(TTree) + 1;
^
lptree.c: In function ‘addtoktable’:
lptree.c:216:5: warning: implicit declaration of function ‘lua_getfenv’ [-Wimplicit-function-declaration]
lua_getfenv(L, -1); /* get ktable from pattern */
^
...etc...
lptree.c:328: error: undefined reference to 'lua_objlen'
lptree.c:328: error: undefined reference to 'lua_objlen'
lptree.c:1033: error: undefined reference to 'lua_getfenv'
lptree.c:1223: error: undefined reference to 'luaL_register'
lptree.c:1224: error: undefined reference to 'luaL_register'
lptree.c:216: error: undefined reference to 'lua_getfenv'
lptree.c:217: error: undefined reference to 'lua_objlen'
lptree.c:224: error: undefined reference to 'lua_setfenv'
...etc...
Thanks,
-miles
--
Politeness, n. The most acceptable hypocrisy.