I just tried 'make cfg MEMDBG=1' and the -DDBG_QM_MALLOC is there (you
can check config.mak).
Do a make proper before.
Cheers,
Daniel
On 10/2/12 2:25 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
Interesting, after compiling in the source tree,
can you paste the
output of:
./kamailio -I
(that's an upper case i).
given in source dir after compilation:
/usr/src/trunk-src/openxg-sip-proxy$ ./sip-proxy -I
Print out of sip-proxy internals
Version: sip-proxy 3.4.0-dev4 (x86_64/linux)
Default config: /etc/sip-proxy/sip-proxy.cfg
Default paths to modules:
/usr/lib/sip-proxy/modules:/usr/lib/sip-proxy/modules_s:/usr/lib/sip-proxy/modules_k
Compile flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
USE_STUN, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR,
USE_DST_BLACKLIST, HAVE_RESOLV_RES
MAX_RECV_BUFFER_SIZE=262144
MAX_LISTEN=16
MAX_URI_SIZE=1024
BUF_SIZE=65535
DEFAULT PKG_SIZE=4MB
DEFAULT SHM_SIZE=32MB
ADAPTIVE_WAIT_LOOPS=1024
TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select
Source code revision ID: unknown
Compiled with: cc 4.7.1
Compiled on: 14:40:42 Oct 2 2012
Thank you for flying sip-proxy!
for some reason MEMDBG does not show up in the flags although for sure
it was on the make line:
/usr/bin/make cfg CC=cc CFLAGS="-Wall -g" MEMDBG=1 QUIET=1 FMSTATS=1 KMSTATS=1
MAIN_NAME=sip-proxy SCTP=1 STUN=1 LIBDIR=lib ...
-- juha