[Kamailio-Users] Problems with snmpstats in Kamailio-3.0.0

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 4 21:36:17 CET 2010


Hi Santiago,

On 1/4/10 8:39 PM, Santiago Gimeno wrote:
> Hi,
>
> I'm trying to migrate from K-1.5 to K-3.0.0 and I'm having problems 
> loading the snmpstats module in kamailio-3.0.0. The error is:
>
> ERROR: <core> [sr_module.c:390]: ERROR: load_module: could not open 
> module </usr/local/lib/kamailio/modules_k/snmpstats.so>: 
> /usr/local/lib/kamailio/modules_k/snmpstats.so: undefined symbol: 
> module_loaded
>
> By checking the code it looks like module_loaded function is not 
> implemented in sr_module.c anymore. Could this be the problem?
the function prototype was declared, but no implementation, therefore no 
compilation error.

I added a define for module_loaded to reuse find_module_by_name() 
function. Please get the git version and try again. I am not using this 
module so I cannot test. Report if all ok now.

Thanks,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/





More information about the sr-users mailing list