[OpenSIPS-Users] Opensips 2.1.0: Compiling Error

Bogdan-Andrei Iancu bogdan at opensips.org
Fri May 15 14:02:05 CEST 2015


Hi Hamid,

You enabled too many compile options, some of them conflicting one 
each-other.

DBG_QM_MALLOC conflicts with F_MALLOC (both are memory managers). So, comment back:
	
USE_SHM_MEM
DBG_QM_MALLOC
DBG_F_MALLOC

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 15.05.2015 14:00, Hamid Hashmi wrote:
> Makefile is attached and my gcc version is
>
> root at Debian-VirtualBox:~# gcc --version
> *gcc (Debian 4.9.2-10) 4.9.2*
> *
> *
> Regards
> Hamid R. Hashmi
>
> ------------------------------------------------------------------------
> Date: Fri, 15 May 2015 12:50:36 +0300
> From: bogdan at opensips.org
> To: hamid2kviii at hotmail.com; users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] Opensips 2.1.0: Compiling Error
>
> Hamid,
>
> What is you gcc version ?
>
> Also, what compile option you have ? (you can attach the Makefile.conf 
> file)
>
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> On 13.05.2015 09:49, Hamid Hashmi wrote:
>
>     Previously, I have tried `make clean` but now i have also tried
>     'make proper' and 'make'. But faced the same error.
>
>     root at Debian-VirtualBox:~# lsb_release -a
>     No LSB modules are available.
>     Distributor ID:Debian
>     Description:*Debian GNU/Linux 7.8 (wheezy)*
>     Release:7.8
>     Codename:wheezy
>
>     root at Debian-VirtualBox:~# uname -a
>     Linux Debian-VirtualBox *3.16.0-4-amd64* #1 SMP Debian
>     3.16.7-ckt9-2 (2015-04-13) x86_64 GNU/Linux
>
>     Regards
>     Hamid R. Hashmi
>
>     ------------------------------------------------------------------------
>     Date: Tue, 12 May 2015 18:15:29 +0300
>     From: bogdan at opensips.org <mailto:bogdan at opensips.org>
>     To: users at lists.opensips.org <mailto:users at lists.opensips.org>;
>     hamid2kviii at hotmail.com <mailto:hamid2kviii at hotmail.com>
>     Subject: Re: [OpenSIPS-Users] Opensips 2.1.0: Compiling Error
>
>     Hi Hamid,
>
>     Are you sure you do not have some partial compiled code ? try to
>     do "make proper" and "make" again.
>
>     Regards.
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>     On 12.05.2015 13:32, Hamid Hashmi wrote:
>
>         I have successfully installed v1.11.5 but when i compile
>         v2.1.0 on the same machine, have the following ERROR
>
>
>         Compiling lex.yy.c
>         Compiling cfg.tab.c
>         Linking opensips
>         mem/q_malloc.o: In function `qm_mem_check':
>         /usr/local/src/opensips-2.1.0/mem/q_malloc.c:727: undefined
>         reference to `qm_debug_frag'
>         collect2: error: ld returned 1 exit status
>         make[1]: *** [opensips] Error 1
>         make[1]: Leaving directory `/usr/local/src/opensips-2.1.0'
>
>         Regards
>         Hamid R. Hashmi
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

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


More information about the Users mailing list