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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
http://www.asipto.com