[OpenSIPS-Users] Opensips 2.2 compile problem

Răzvan Crainea razvan at opensips.org
Wed Nov 18 13:11:16 CET 2015


 From your previous output, I noticed you are using the DBG_F_MALLOC, 
which is obsoleted. Can you use DBG_QM_MALLOC instead?

BR

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 11/18/2015 01:39 PM, Dragomir Haralambiev wrote:
> Here results with new git pull:
> make all
> .......
> Compiling lex.yy.c
> lex.yy.c: In function ‘yy_get_next_buffer’:
> lex.yy.c:3602: warning: old-style function definition
> lex.yy.c: In function ‘yy_get_previous_state’:
> lex.yy.c:3734: warning: old-style function definition
> Compiling cfg.tab.c
> Linking opensips
> mem/q_malloc.o: In function `qm_mem_check':
> /root/opensips_head/mem/q_malloc.c:728: undefined reference to 
> `qm_debug_frag'
> collect2: ld returned 1 exit status
> make: *** [opensips] Error 1
>
>
> 2015-11-18 13:21 GMT+02:00 Răzvan Crainea <razvan at opensips.org 
> <mailto:razvan at opensips.org>>:
>
>     I've just pushed a fix on the master branch. Can you run a test?
>
>     Best regards,
>
>     Răzvan Crainea
>     OpenSIPS Solutions
>     www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     On 11/18/2015 01:16 PM, Dragomir Haralambiev wrote:
>>     Here is error:
>>     lex.yy.c:3734: warning: old-style function definition
>>     Compiling cfg.tab.c
>>     gcc -g -m32 -O9 -funroll-loops -Wcast-align -Wall
>>     -minline-all-stringops -falign-loops -ftree-vectorize
>>     -mtune=prescott -Wold-style-definition
>>     -Wmissing-field-initializers -Wredundant-decls
>>      -I/usr/include/json-c -DPKG_MALLOC  -DSHM_MMAP  -DUSE_MCAST
>>      -DDISABLE_NAGLE  -DSTATISTICS  -DHAVE_RESOLV_RES  -DDBG_F_MALLOC
>>     -DNAME='"opensips"' -DVERSION='"2.2-dev"' -DARCH='"i386"'
>>     -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux
>>     -D__SMP_yes -DCFG_DIR='"/usr/local//etc/opensips/"'
>>      -DVERSIONTYPE='"git"' -DTHISREVISION='"8268bf8"' -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 cfg.tab.c -o cfg.tab.o
>>     Linking opensips
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151118/f241a3ad/attachment.htm>


More information about the Users mailing list