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@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: [email protected]
To: [email protected]; [email protected]
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@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@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: [email protected] <mailto:[email protected]>
    To: [email protected] <mailto:[email protected]>;
    [email protected] <mailto:[email protected]>
    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
        [email protected]  <mailto:[email protected]>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to