Re: [pjsip] pj_array_erase

C(
Carsten (Tropby)
Wed, Jun 8, 2016 4:20 PM

Hello,

I had the same error!

You have to change the order of the included libs:

"pj-.." has to be included before "pjlib-util-...".

In my case:

LIBS += -lpjlib-util-i686-pc-mingw32

LIBS += -lpj-i686-pc-mingw32

Kind Regards

Carsten

Von: pjsip [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von Suresh
Kumar Reddy
Gesendet: Mittwoch, 8. Juni 2016 16:59
An: pjsip@lists.pjsip.org
Betreff: [pjsip] pj_array_erase

Hi,

Developing Voip client in android and using pjsip for audio.

For Android generated static libraries (.a) files and linked them in my voip
client

I want use ConferenceBridge and when I call pjmedia_conf_create
<http://www.pjsip.org/docs/latest/pjmedia/docs/html/group__PJMEDIA__CONF.htm
#gad5472b9cfd45952fa209e830188b63ae> () function iam getting

error : undefined reference to 'pj_array_erase'

Kindly help me to resolve this issue.

Regards,

Suresh.


Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

Hello, I had the same error! You have to change the order of the included libs: "pj-.." has to be included before "pjlib-util-...". In my case: LIBS += -lpjlib-util-i686-pc-mingw32 LIBS += -lpj-i686-pc-mingw32 Kind Regards Carsten Von: pjsip [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von Suresh Kumar Reddy Gesendet: Mittwoch, 8. Juni 2016 16:59 An: pjsip@lists.pjsip.org Betreff: [pjsip] pj_array_erase Hi, Developing Voip client in android and using pjsip for audio. For Android generated static libraries (.a) files and linked them in my voip client I want use ConferenceBridge and when I call pjmedia_conf_create <http://www.pjsip.org/docs/latest/pjmedia/docs/html/group__PJMEDIA__CONF.htm #gad5472b9cfd45952fa209e830188b63ae> () function iam getting error : undefined reference to 'pj_array_erase' Kindly help me to resolve this issue. Regards, Suresh. --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus
SK
Suresh Kumar Reddy
Thu, Jun 9, 2016 12:26 PM

Dear Carsten,

As you suggested I changed the order of the included libs and not getting the error now.

Thank you very much for the reply.

Best Regards,
Suresh.

From: pjsip [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Carsten (Tropby)
Sent: 08 June 2016 21:50
To: 'pjsip list'
Subject: Re: [pjsip] pj_array_erase

Hello,
I had the same error!
You have to change the order of the included libs:

"pj-......" has to be included before "pjlib-util-.....".
In my case:
LIBS += -lpjlib-util-i686-pc-mingw32
LIBS += -lpj-i686-pc-mingw32

Kind Regards
Carsten

Von: pjsip [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von Suresh Kumar Reddy
Gesendet: Mittwoch, 8. Juni 2016 16:59
An: pjsip@lists.pjsip.orgmailto:pjsip@lists.pjsip.org
Betreff: [pjsip] pj_array_erase

Hi,

Developing Voip client in android and using pjsip for audio.

For Android generated static libraries (.a) files and linked them in my voip client

I want use ConferenceBridge and when I call pjmedia_conf_createhttp://www.pjsip.org/docs/latest/pjmedia/docs/html/group__PJMEDIA__CONF.htm#gad5472b9cfd45952fa209e830188b63ae() function iam getting

error : undefined reference to 'pj_array_erase'

Kindly help me to resolve this issue.

Regards,
Suresh.

[https://ipmcdn.avast.com/images/2016/icons/icon-envelope-tick-round-orange_184x116-v1.png]https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient

Virenfrei. www.avast.comhttps://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient

Dear Carsten, As you suggested I changed the order of the included libs and not getting the error now. Thank you very much for the reply. Best Regards, Suresh. From: pjsip [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Carsten (Tropby) Sent: 08 June 2016 21:50 To: 'pjsip list' Subject: Re: [pjsip] pj_array_erase Hello, I had the same error! You have to change the order of the included libs: "pj-......" has to be included before "pjlib-util-.....". In my case: LIBS += -lpjlib-util-i686-pc-mingw32 LIBS += -lpj-i686-pc-mingw32 Kind Regards Carsten Von: pjsip [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von Suresh Kumar Reddy Gesendet: Mittwoch, 8. Juni 2016 16:59 An: pjsip@lists.pjsip.org<mailto:pjsip@lists.pjsip.org> Betreff: [pjsip] pj_array_erase Hi, Developing Voip client in android and using pjsip for audio. For Android generated static libraries (.a) files and linked them in my voip client I want use ConferenceBridge and when I call pjmedia_conf_create<http://www.pjsip.org/docs/latest/pjmedia/docs/html/group__PJMEDIA__CONF.htm#gad5472b9cfd45952fa209e830188b63ae>() function iam getting error : undefined reference to 'pj_array_erase' Kindly help me to resolve this issue. Regards, Suresh. [https://ipmcdn.avast.com/images/2016/icons/icon-envelope-tick-round-orange_184x116-v1.png]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virenfrei. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>