On Oct 07, 2010 at 11:42, Juha Heinanen <jh(a)tutpro.com> wrote:
Andrei Pelinescu-Onciul writes:
No, it's compiled with MALLOC_STATS only if
FLAVOUR=kamailio :
ifeq ($(FLAVOUR),sip-router)
# main binary name
MAIN_NAME=ser
else ifeq ($(FLAVOUR),ser)
^^^^^^^^^^^^^ note the else
sorry, i didn't notice it. now the question still remains, if i don't
use flavor=KAMAILIO, is it so that there is nothing i can do to get rid
of the warning?
Oct 6 20:57:31 sip /usr/sbin/sip-proxy[7455]: WARNING: tls
[tls_init.c:592]: tls: ser compiled without MALLOC_STATS support: the
workaround for low mem. openssl bugs will _not_ work
or can i just add -DFMSTATS to my make command without specifying any
flavor?
You need to add FMSTATS=1 or extra_defs=-DMALLOC_STATS to make cfg
(if you compile with MEMDBG=0, otherwise stats are on anyway).
E.g.: make cfg FMSTATS=1 include_modules=tls .... ; make all
Andrei