[Kamailio-Devel] TM error with -DEXTRA_DEBUG

Henning Westerholt henning.westerholt at 1und1.de
Tue Jan 20 14:49:19 CET 2009


On Monday 19 January 2009, Torben Friese wrote:
> I only want to inform you that the tm module have some errors if you
> compile with the DEXTRA_DEBUG option.
>
> timer.c: In function 'check_timer_list':
> timer.c:625: error: too many arguments to function 'abort'
> timer.c:632: error: too many arguments to function 'abort'
> timer.c:641: error: too many arguments to function 'abort'
> timer.c:650: error: too many arguments to function 'abort'
> timer.c:655: error: too many arguments to function 'abort'
> timer.c:664: error: too many arguments to function 'abort'
>
>
> In these lines have the abort function a '0' as parameter but
> the abort() function never returns.

Hi Torben,

thanks for the report. I've tried to reproduce this, without luck.

Compiling timer.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize 
-mtune=prescott -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"tm"' 
-DNAME='"kamailio"' -DVERSION='"1.5.0-dev22-notls"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 
4.2.4"' -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC
-DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL
-DUSE_LOCAL_ROUTE -DEXTRA_DEBUG  -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c 
timer.c -o timer.o                                                                 

It seems that two years ago there was a fix related to compile problems with 
EXTRA_DEBUG (r1656, 2007-02-16). For what version of openser/ kamailio do you 
encounter this problem?

Cheers,

Henning



More information about the Devel mailing list