I Tested the Git Version..
Now seems to be working fine..
Thanks Daniel....
Ricardo.-
P.S. : I also tested the 3.0.0-rc3 and the problem persist.
De: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Enviado el: lunes, 14 de diciembre de 2009 16:54
Para: Ricardo Martinez
CC: users(a)lists.kamailio.org
Asunto: Re: [Kamailio-Users] Problem
Hello,
it was missing include of lib/kcore/statistics.h and linking agains
libkcore (due to librarization of statistics engine). I fixed on git,
branch kamailio_3.0, please try and let me know if works now.
Thanks,
Daniel
On 12/14/09 8:37 PM, Ricardo Martinez wrote:
Hello.
What this error means?
Dec 14 15:20:19 kamailio: ERROR: <core> [sr_module.c:390]: ERROR:
load_module: could not open module
</usr/local/lib/kamailio/modules_k/nat_traversal.so>:
/usr/local/lib/kamailio/modules_k/nat_traversal.so: undefined symbol:
register_module_stats
Dec 14 15:20:19 kamailio: : <core> [cfg.y:3210]: parse error in config
file /usr/local/etc/kamailio/kamailio.cfg, line 48, column 12-29: failed
to load module
I have :
# ------------------ module loading ----------------------------------
#set module path
mpath="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/module
s/"
# Uncomment this if you want to use SQL database
loadmodule "db_mysql.so"
loadmodule "kex.so"
loadmodule "tm.so"
loadmodule "tmx.so"
loadmodule "sl.so"
loadmodule "rr.so"
loadmodule "pv.so"
loadmodule "maxfwd.so"
loadmodule "siputils.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "uri_db.so"
loadmodule "domain.so"
loadmodule "permissions.so"
loadmodule "group.so"
loadmodule "mi_fifo.so"
loadmodule "avpops.so"
loadmodule "xlog.so"
loadmodule "dialog.so"
loadmodule "nathelper.so"
loadmodule "nat_traversal.so"
loadmodule "mediaproxy.so"
I'm using Kamailio
version: kamailio 3.0.0-rc2 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC,
USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER,
USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
@(#) $Id$
main.c compiled on 18:09:39 Dec 9 2009 with gcc 4.3.2
In the directory /usr/local/lib/kamailio/modules_K/ the file
nat_traversal.so exists :
[root@ nat_traversal]# ls /usr/local/lib/kamailio/modules_k/
acc.so cfgutils.so drouting.so mi_datagram.so
permissions.so registrar.so speeddial.so uac.so
alias_db.so db_text.so exec.so mi_fifo.so
pike.so rr.so sqlops.so uri_db.so
auth_db.so dialog.so group.so msilo.so
presence_mwi.so rtimer.so sst.so userblacklist.so
auth_diameter.so dispatcher.so htable.so nathelper.so
pua_mi.so siptrace.so statistics.so usrloc.so
auth.so diversion.so imc.so nat_traversal.so pv.so
siputils.so textops.so xlog.so
benchmark.so domainpolicy.so kex.so path.so qos.so
sl.so tmx.so
call_control.so domain.so maxfwd.so pdt.so
ratelimit.so sms.so uac_redirect.so
Can someone help me?
Regards,
Ricardo
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
*
http://www.asipto.com/