[SR-Users] lua.h / lauxlib.h issue while making deb pkgs ! (for 3.1 master branch i.e)
X- x -X
myonlinedisk at gmail.com
Wed Oct 6 10:55:55 CEST 2010
Hey Jony,
while during "make deb" it complains of lua files
output
..................................
In file included from app_lua_api.c:37:
app_lua_api.h:27:17: warning: lua.h: No such file or directory
app_lua_api.h:28:21: warning: lauxlib.h: No such file or directory
app_lua_api.h:29:20: warning: lualib.h: No such file or directory
In file included from app_lua_api.c:37:
app_lua_api.h:35: error: expected specifier-qualifier-list before
‘lua_State’
app_lua_api.h:58: error: expected ‘)’ before ‘*’ token
---------------------------------
I have all the 3 versions devs of lua installed
debbox:~/kamailio# apt-file search lualib.h
liblua5.1-0-dev: /usr/include/lua5.1/lualib.h
liblualib40-dev: /usr/include/lua40/lualib.h
liblualib50-dev: /usr/include/lua50/lualib.h
dpkg - L | grep -i liblua
debbox:~/kamailio# dpkg -l |grep lua
ii liblua40 4.0-13 Main
interpreter library for the Lua 4.0 programming language
ii liblua40-dev 4.0-13 Main
interpreter library for lua40: static library and headers
ii liblua5.1-0 5.1.3-1 Simple,
extensible, embeddable programming language
ii liblua5.1-0-dev 5.1.3-1 Simple,
extensible, embeddable programming language
ii liblua50 5.0.3-3 Main
interpreter library for the Lua 5.0 programming language
ii liblua50-dev 5.0.3-3 Main
interpreter library for Lua 5.0: static library and heade
ii liblualib40 4.0-13 Extension
library for the Lua 4.0 programming language
ii liblualib40-dev 4.0-13 Extension
library for Lua 4.0: static and headers
ii liblualib50 5.0.3-3 Extension
library for the Lua 5.0 programming language
ii liblualib50-dev 5.0.3-3 Extension
library for Lua 5.0: static and headers
ii lua50 5.0.3-3 Small
embeddable language with simple procedural syntax
I reckon the path is not correct in one of the header files.
vi modules/app_lua/app_lua_api.h
.....................
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
........................
could you enlighten me ?
Thanx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101006/0ceb8694/attachment.htm>
More information about the sr-users
mailing list