[OpenSIPS-Devel] rls: compile errors
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Jan 26 19:23:27 CET 2015
Hi Ovidiu,
Thanks for the heads up, now it is fixed.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 26.01.2015 19:51, Ovidiu Sas wrote:
> Compiling rls.c
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona
> -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
> -DMOD_NAME='"rls"' -DNAME='"opensips"' -DVERSION='"2.1.1dev-notls"'
> -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 4.8"' -D__CPU_x86_64
> -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local//etc/opensips/"'
> -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
> -I/usr/include/libxml2 -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6
> -DUSE_MCAST -DDISABLE_NAGLE -DSTATISTICS -DHAVE_RESOLV_RES
> -DF_MALLOC -DUSE_TCP -c rls.c -o rls.o
> In file included from ../../pt.h:37:0,
> from rls.c:39:
> rls.c: In function âmod_initâ:
> ../../timer.h:51:36: error: called object âclean_periodâ is not a
> function or function pointer
> #define TIMER_FLAG_DELAY_ON_DELAY (1<<2)
> ^
> rls.c:482:3: note: in expansion of macro âTIMER_FLAG_DELAY_ON_DELAYâ
> TIMER_FLAG_DELAY_ON_DELAY);
> ^
> rls.c:81:5: note: declared here
> int clean_period= 100;
> ^
> rls.c:482:3: error: too few arguments to function âregister_timerâ
> TIMER_FLAG_DELAY_ON_DELAY);
> ^
> In file included from ../../pt.h:37:0,
> from rls.c:39:
> ../../timer.h:86:5: note: declared here
> int register_timer(char *label, timer_function f, void* param,
> ^
> ../../timer.h:50:36: error: called object âclean_periodâ is not a
> function or function pointer
> #define TIMER_FLAG_SKIP_ON_DELAY (1<<1)
> ^
> rls.c:485:3: note: in expansion of macro âTIMER_FLAG_SKIP_ON_DELAYâ
> TIMER_FLAG_SKIP_ON_DELAY);
> ^
> rls.c:81:5: note: declared here
> int clean_period= 100;
> ^
> rls.c:485:3: error: too few arguments to function âregister_timerâ
> TIMER_FLAG_SKIP_ON_DELAY);
> ^
> In file included from ../../pt.h:37:0,
> from rls.c:39:
> ../../timer.h:86:5: note: declared here
> int register_timer(char *label, timer_function f, void* param,
> ^
> make: *** [rls.o] Error 1
>
>
>
>
More information about the Devel
mailing list