Hello,

On 1/25/13 4:16 AM, MASebastian wrote:
Hi everyone,

Recently I work on kamailio's snmpstats module. I'm trying to retrieve some data from database, the code pass the compilation but when starting kamailio always get this error.

Jan 25 10:57:05 localhost kamailio: ERROR: <core> [sr_module.c:572]: 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: db_bind_mod 

 I take the code from 
http://www.asipto.com/pub/kamailio-devel-guide/#c09database and ursloc module for example. not sure 
if I still miss something to make db access work. 

Any suggestion? 

if you changed the module to connect to database, you have to update its database to link to srdb1 lib -- see a Makefile from another module connecting to database (like auth_db, msilo...).

Cheers,
Daniel

Thanks,


Sebastian





_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
 - http://conference.kamailio.com -