[SR-Users] Module version mismatch ERROR

aft aftnix at gmail.com
Mon Jul 1 16:36:08 CEST 2013


Well after

make uninstall prefix=/opt/kamailio
make clean
git clean -x -d -f

Same error shows up.

But
arif at khost:~/src/kamailio$ tree /opt/kamailio/lib64/kamailio/modules/
| grep mysql

├── db_mysql.so

And

arif at khost:~/src/kamailio$ readelf -s
/opt/kamailio/lib64/kamailio/modules/db_mysql.so  | grep module
   114: 000000000021b608     8 OBJECT  GLOBAL DEFAULT   22 module_flags
   136: 000000000021b610     8 OBJECT  GLOBAL DEFAULT   22 module_version
   156: 000000000021ba30     4 OBJECT  GLOBAL DEFAULT   23 module_interface_ver
   128: 000000000021ba30     4 OBJECT  GLOBAL DEFAULT   23 module_interface_ver
   169: 000000000021b608     8 OBJECT  GLOBAL DEFAULT   22 module_flags
   193: 000000000021b610     8 OBJECT  GLOBAL DEFAULT   22 module_version



On Mon, Jul 1, 2013 at 8:18 PM, Victor Seva
<linuxmaniac at torreviejawireless.org> wrote:
> 2013/7/1 aft <aftnix at gmail.com>:
>> Hi,
>>
>> After updating my git tree I'm on this commit :
>>
>> * master                                        1123ed4 core: Also
>> consider PROTO_WS(S) in forward().
>>
>> origin/master                               1123ed4 core: Also
>> consider PROTO_WS(S) in  forward().
>>
>> After building kamailio is showing this and refusing to start :
>>
>> arif at khost:~/src/kamailio$ kamailio -f /opt/kamailio/etc/kamailio/kamailio.cfg
>>  0(21753) DEBUG: <core> [sr_module.c:591]: load_module(): load_module:
>> trying to load </opt/kamailio/lib64/kamailio/modules/db_mysql.so>
>>  0(21753) ERROR: <core> [sr_module.c:449]: version_control(): ERROR:
>> module version mismatch for
>> /opt/kamailio/lib64/kamailio/modules/db_mysql.so; core: kamailio
>> 4.1.0-dev6 (x86_64/linux); module: kamailio 4.0.2 (x86_64/linux)
>>
>> Not understand what happened here.
>
> You have to clean and make again. You have modules built with a
> different version.
>
> Cheers,
> Victor
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



-- 
-Cheers
-Arif



More information about the sr-users mailing list