2010/1/4 Daniel-Constantin Mierla <miconda(a)gmail.com>om>:
Hi Santiago,
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.
I have a similar problem with latest git version, no compilation
error. Here's the error starting kamailio:
kamailio: ERROR: <core> [sr_module.c:390]: ERROR: load_module: could
not open module </usr/local/lib/kamailio/modules_k/snmpstats.so>:
/usr/lib64/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader
I'm using Centos 5.3 x86_64. Istalled net-snmp packages:
net-snmp-devel-5.3.2.2-7.el5_4.2
net-snmp-5.3.2.2-7.el5_4.2
net-snmp-utils-5.3.2.2-7.el5_4.2
net-snmp-libs-5.3.2.2-7.el5_4.2
net-snmp-perl-5.3.2.2-7.el5_4.2
Thanks,
Daniel
Thanks. Regards.
--
Antonio