[OpenSIPS-Devel] How to compile *just* a module with TLS enabled?
Iñaki Baz Castillo
ibc at aliax.net
Mon Nov 24 18:10:08 CET 2008
El Lunes, 24 de Noviembre de 2008, Iñaki Baz Castillo escribió:
> 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?
I've got it by setting TLS=1 in Makefile.defs.
It's not enough if I set TLS=1 in Makefile.
Is it normal?
--
Iñaki Baz Castillo
More information about the Devel
mailing list