[OpenSIPS-Devel] How to compile *just* a module with TLS enabled?

Iñaki Baz Castillo ibc at aliax.net
Mon Nov 24 18:04:04 CET 2008


Hi, I compile OpenSIPS with TLS=1 using "make deb".

Later, I modify a module source and want to compile it just by running "make" 
in the module directoy, and copying the xxxx.so 
to /usr/lib/opensips/modules/.

But ufortunatelly OpenSIPS gives an error when restarting due to version 
mismatch:

------
ERROR:core:version_control: module version mismatch   
for /usr/lib/opensips/modules/xxxx.so; core: opensips 1.5.0dev2-tls 
(x86_64/linux); module: opensips 1.5.0dev2-notls (x86_64/linux)
-------

How could I force TLS when compiling this module separately?

Thanks.



-- 
Iñaki Baz Castillo



More information about the Devel mailing list