Hi all!
I'm trying to compile kamailio 3.1 from branch 3.1 in a 64 bit squeeze setup. I've experienced several warning and issues:
- Purple modules don't compile when using purple lib >=7. That was an issue in kamailio_3.0 too. I can exclude this module as I did in 3.0, but squeeze is already frozen and will become stable before 3.1 gets outdated.
- I get a warning about ssl < 1 being used. Maybe because I'm using openssl instead of gnutls lib?
- I needed to install libsasl2-dev for compilation although it's not in the dependency list. Can anybody confirm this?
- lua module fails to compile. I haven't tested yet in lenny or lucid:
make[1]: se sale del directorio `/usr/src/kamailio/kam31' /usr/bin/make every-module group_include="klua" make[1]: se ingresa al directorio `/usr/src/kamailio/kam31' Package lua was not found in the pkg-config search path. Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable No package 'lua' found Package lua was not found in the pkg-config search path. Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable No package 'lua' found CC (gcc) [M app_lua.so] app_lua_api.o In file included from app_lua_api.c:37: app_lua_api.h:27:17: warning: lua.h: No existe el fichero o el directorio app_lua_api.h:28:21: warning: lauxlib.h: No existe el fichero o el directorio app_lua_api.h:29:20: warning: lualib.h: No existe el fichero o el directorio 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 app_lua_api.h:60: error: expected ‘)’ before ‘*’ token In file included from app_lua_api.c:38: app_lua_sr.h:29: error: expected ‘)’ before ‘*’ token In file included from app_lua_api.c:39: app_lua_exp.h:31: error: expected ‘)’ before ‘*’ token app_lua_api.c:106: error: expected ‘)’ before ‘*’ token app_lua_api.c: In function ‘lua_sr_init_probe’: app_lua_api.c:128: error: ‘lua_State’ undeclared (first use in this function) app_lua_api.c:128: error: (Each undeclared identifier is reported only once app_lua_api.c:128: error: for each function it appears in.) app_lua_api.c:128: error: ‘L’ undeclared (first use in this function) app_lua_api.c:133: warning: implicit declaration of function ‘lua_open’ app_lua_api.c:139: warning: implicit declaration of function ‘luaL_openlibs’ app_lua_api.c:140: warning: implicit declaration of function ‘lua_sr_openlibs’ app_lua_api.c:143: warning: implicit declaration of function ‘luaL_dostring’ app_lua_api.c:145: warning: implicit declaration of function ‘lua_tostring’ app_lua_api.c:147: warning: implicit declaration of function ‘lua_pop’ app_lua_api.c:148: warning: implicit declaration of function ‘lua_close’ app_lua_api.c: In function ‘lua_sr_init_child’: app_lua_api.c:184: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:185: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:190: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:191: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:194: warning: implicit declaration of function ‘lua_pushstring’ app_lua_api.c:194: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:195: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:196: warning: implicit declaration of function ‘lua_settable’ app_lua_api.c:196: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:196: error: ‘LUA_GLOBALSINDEX’ undeclared (first use in this function) app_lua_api.c:200: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:200: warning: implicit declaration of function ‘luaL_newstate’ app_lua_api.c:201: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:206: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:207: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:210: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:211: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:212: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:215: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:217: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:219: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:227: warning: implicit declaration of function ‘luaL_dofile’ app_lua_api.c:227: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:232: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:234: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c: In function ‘lua_sr_destroy’: app_lua_api.c:250: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:252: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:253: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:255: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:257: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:258: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c: In function ‘lua_sr_initialized’: app_lua_api.c:268: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c: At top level: app_lua_api.c:277: error: expected ‘)’ before ‘*’ token app_lua_api.c: In function ‘app_lua_dostring’: app_lua_api.c:295: warning: implicit declaration of function ‘lua_gettop’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:296: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:297: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:300: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:302: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:304: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c: In function ‘app_lua_dofile’: app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:318: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:319: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:322: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:324: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:326: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c: In function ‘app_lua_runstring’: app_lua_api.c:338: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:346: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:347: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:350: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:352: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:354: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c: In function ‘app_lua_run’: app_lua_api.c:368: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:376: warning: implicit declaration of function ‘lua_getglobal’ app_lua_api.c:376: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:377: warning: implicit declaration of function ‘lua_isfunction’ app_lua_api.c:377: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: warning: implicit declaration of function ‘lua_type’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: warning: implicit declaration of function ‘lua_typename’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:383: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:390: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:394: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:398: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:403: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:404: warning: implicit declaration of function ‘lua_pcall’ app_lua_api.c:404: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:405: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:409: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:411: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c: At top level: app_lua_api.c:418: error: expected ‘)’ before ‘*’ token make[2]: *** [app_lua_api.o] Error 1 make[1]: *** [modules] Error 1 make[1]: se sale del directorio `/usr/src/kamailio/kam31' make: *** [build-stamp] Error 2 dpkg-buildpackage: fallo: debian/rules build devolvió un estado de salida de error 2
Hello,
On 10/5/10 11:27 PM, Jon Bonilla (Manwe) wrote:
Hi all!
I'm trying to compile kamailio 3.1 from branch 3.1 in a 64 bit squeeze setup. I've experienced several warning and issues:
- Purple modules don't compile when using purple lib>=7. That was an issue in kamailio_3.0 too. I can exclude this module as I did in 3.0, but squeeze is already frozen and will become stable before 3.1 gets outdated.
just remove the package from there -- it needs some time to update for newer version of libpurple.
- I get a warning about ssl< 1 being used. Maybe because I'm using openssl instead of gnutls lib?
ignore, is informative message. It is not because of not using gnutls, but to signal some features are not available.
- I needed to install libsasl2-dev for compilation although it's not in the dependency list. Can anybody confirm this?
which part threw error?
- lua module fails to compile. I haven't tested yet in lenny or lucid:
hopefully is fixed now, at least debian-like OSes.
Thanks, Daniel
make[1]: se sale del directorio `/usr/src/kamailio/kam31' /usr/bin/make every-module group_include="klua" make[1]: se ingresa al directorio `/usr/src/kamailio/kam31' Package lua was not found in the pkg-config search path. Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable No package 'lua' found Package lua was not found in the pkg-config search path. Perhaps you should add the directory containing `lua.pc' to the PKG_CONFIG_PATH environment variable No package 'lua' found CC (gcc) [M app_lua.so] app_lua_api.o In file included from app_lua_api.c:37: app_lua_api.h:27:17: warning: lua.h: No existe el fichero o el directorio app_lua_api.h:28:21: warning: lauxlib.h: No existe el fichero o el directorio app_lua_api.h:29:20: warning: lualib.h: No existe el fichero o el directorio 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 app_lua_api.h:60: error: expected ‘)’ before ‘*’ token In file included from app_lua_api.c:38: app_lua_sr.h:29: error: expected ‘)’ before ‘*’ token In file included from app_lua_api.c:39: app_lua_exp.h:31: error: expected ‘)’ before ‘*’ token app_lua_api.c:106: error: expected ‘)’ before ‘*’ token app_lua_api.c: In function ‘lua_sr_init_probe’: app_lua_api.c:128: error: ‘lua_State’ undeclared (first use in this function) app_lua_api.c:128: error: (Each undeclared identifier is reported only once app_lua_api.c:128: error: for each function it appears in.) app_lua_api.c:128: error: ‘L’ undeclared (first use in this function) app_lua_api.c:133: warning: implicit declaration of function ‘lua_open’ app_lua_api.c:139: warning: implicit declaration of function ‘luaL_openlibs’ app_lua_api.c:140: warning: implicit declaration of function ‘lua_sr_openlibs’ app_lua_api.c:143: warning: implicit declaration of function ‘luaL_dostring’ app_lua_api.c:145: warning: implicit declaration of function ‘lua_tostring’ app_lua_api.c:147: warning: implicit declaration of function ‘lua_pop’ app_lua_api.c:148: warning: implicit declaration of function ‘lua_close’ app_lua_api.c: In function ‘lua_sr_init_child’: app_lua_api.c:184: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:185: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:190: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:191: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:194: warning: implicit declaration of function ‘lua_pushstring’ app_lua_api.c:194: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:195: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:196: warning: implicit declaration of function ‘lua_settable’ app_lua_api.c:196: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:196: error: ‘LUA_GLOBALSINDEX’ undeclared (first use in this function) app_lua_api.c:200: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:200: warning: implicit declaration of function ‘luaL_newstate’ app_lua_api.c:201: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:206: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:207: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:210: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:211: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:212: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:215: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:217: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:219: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:227: warning: implicit declaration of function ‘luaL_dofile’ app_lua_api.c:227: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:232: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:234: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c: In function ‘lua_sr_destroy’: app_lua_api.c:250: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:252: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:253: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:255: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:257: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:258: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c: In function ‘lua_sr_initialized’: app_lua_api.c:268: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c: At top level: app_lua_api.c:277: error: expected ‘)’ before ‘*’ token app_lua_api.c: In function ‘app_lua_dostring’: app_lua_api.c:295: warning: implicit declaration of function ‘lua_gettop’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:295: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:296: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:297: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:300: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:302: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:304: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c: In function ‘app_lua_dofile’: app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:317: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:318: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:319: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:322: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:324: error: ‘sr_lua_env_t’ has no member named ‘L’ app_lua_api.c:326: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c: In function ‘app_lua_runstring’: app_lua_api.c:338: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:345: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:346: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:347: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:350: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:352: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:354: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c: In function ‘app_lua_run’: app_lua_api.c:368: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:375: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:376: warning: implicit declaration of function ‘lua_getglobal’ app_lua_api.c:376: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:377: warning: implicit declaration of function ‘lua_isfunction’ app_lua_api.c:377: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: warning: implicit declaration of function ‘lua_type’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: warning: implicit declaration of function ‘lua_typename’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:382: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:383: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:390: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:394: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:398: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:403: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:404: warning: implicit declaration of function ‘lua_pcall’ app_lua_api.c:404: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:405: error: ‘sr_lua_env_t’ has no member named ‘msg’ app_lua_api.c:409: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c:411: error: ‘sr_lua_env_t’ has no member named ‘LL’ app_lua_api.c: At top level: app_lua_api.c:418: error: expected ‘)’ before ‘*’ token make[2]: *** [app_lua_api.o] Error 1 make[1]: *** [modules] Error 1 make[1]: se sale del directorio `/usr/src/kamailio/kam31' make: *** [build-stamp] Error 2 dpkg-buildpackage: fallo: debian/rules build devolvió un estado de salida de error 2
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
El Tue, 05 Oct 2010 23:42:09 +0200 Daniel-Constantin Mierla miconda@gmail.com escribió:
- I needed to install libsasl2-dev for compilation although it's not in the dependency list. Can anybody confirm this?
which part threw error?
I'll try to reproduce it later, in a fresh chroot. I think it was something related to ldap.
El Tue, 5 Oct 2010 23:54:06 +0200 Jon Bonilla (Manwe) manwe@aholab.ehu.es escribió:
El Tue, 05 Oct 2010 23:42:09 +0200 Daniel-Constantin Mierla miconda@gmail.com escribió:
- I needed to install libsasl2-dev for compilation although it's not in
the dependency list. Can anybody confirm this?
which part threw error?
I'll try to reproduce it later, in a fresh chroot. I think it was something related to ldap.
Here's the error reproduced (when you don't have libsasl2-dev)
/usr/bin/make every-module group_include="kldap" make[1]: se ingresa al directorio `/usr/src/kamailio/kama31' CC (gcc) [M ldap.so] ld_cfg.o CC (gcc) [M ldap.so] ld_cmd.o CC (gcc) [M ldap.so] ld_con.o ld_con.c:43:23: warning: sasl/sasl.h: No existe el fichero o el directorio ld_con.c: In function ‘lutil_sasl_interact’: ld_con.c:131: error: ‘sasl_interact_t’ undeclared (first use in this function) ld_con.c:131: error: (Each undeclared identifier is reported only once ld_con.c:131: error: for each function it appears in.) ld_con.c:131: error: ‘interact’ undeclared (first use in this function) ld_con.c:138: error: ‘SASL_CB_LIST_END’ undeclared (first use in this function) ld_con.c:141: error: ‘SASL_CB_AUTHNAME’ undeclared (first use in this function) ld_con.c:146: error: ‘SASL_CB_PASS’ undeclared (first use in this function) ld_con.c:151: error: ‘SASL_CB_GETREALM’ undeclared (first use in this function) ld_con.c:153: error: ‘SASL_CB_USER’ undeclared (first use in this function) ld_con.c:155: error: ‘SASL_CB_NOECHOPROMPT’ undeclared (first use in this function) ld_con.c:157: error: ‘SASL_CB_ECHOPROMPT’ undeclared (first use in this function) ld_con.c: In function ‘ld_con_connect’: ld_con.c:241: warning: implicit declaration of function ‘ldap_simple_bind_s’ make[2]: *** [ld_con.o] Error 1 make[1]: *** [modules_s] Error 1 make[1]: se sale del directorio `/usr/src/kamailio/kama31' make: *** [build-stamp] Error 2 dpkg-buildpackage: fallo: debian/rules build devolvió un estado de salida de error 2
Jon Bonilla (Manwe) writes:
- I get a warning about ssl < 1 being used. Maybe because I'm using openssl instead of gnutls lib?
jon,
andrei told that tls module is based on openssl lib and if that lib is below version 1, some warnings about bugs get issued. since squeeze does not have openssl version 1.0 yet, there is nothing to do to get rid of them.
- I needed to install libsasl2-dev for compilation although it's not in the dependency list. Can anybody confirm this?
i don't have that in my control file, but it may be that i'm not including a module that would require it.
i don't know about purple or lua, since i'm not including them.
-- juha