[SR-Dev] [PATCH 1/8] Define OPENSER_MOD_INTERFACE in Makefile.

Jan Janak jan at iptel.org
Tue Mar 3 13:09:28 CET 2009


On 03-03 13:01, Henning Westerholt wrote:
> On Tuesday 03 March 2009, Jan Janak wrote:
> > This patch adds -DOPENSER_MOD_INTERFACE to the modules Makefile, this
> > is needed to make Kamailio modules compile with the sip router core.
> 
> Hi Jan,
> 
> thank you for the patches, i've commited them to master. The only remaining 
> error (after /lib/kcore/km_crc was merged) is some incompatiblity with the 
> LM_GEN1 macro from dprint.h.

Yes, we don't have logging macros with support for va_list style
arguments. One possible solution is to print the whole string using vsnprintf
before passing it to LOG or LM_LOG1. Another one is adding support for such
parameters to the macros in dprint.h. I don't know yet which one is simpler.

  Jan.



More information about the sr-dev mailing list