Re: [pjsip] pjsip Digest, Vol 139, Issue 7

AM
Aleksandar Milenkovic
Mon, Mar 18, 2019 10:33 AM

Greetings,

Did you try building for ARMv8 with NDK 13b or a newer one? last time i
tried, only NDK 13b worked for ARMv8 libs

On Sun, Mar 17, 2019 at 5:01 PM pjsip-request@lists.pjsip.org wrote:

Send pjsip mailing list submissions to
pjsip@lists.pjsip.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
or, via email, send a message with subject or body 'help' to
pjsip-request@lists.pjsip.org

You can reach the person managing the list at
pjsip-owner@lists.pjsip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pjsip digest..."

Today's Topics:

1. Re: Build PJSIP on Raspberry Pi 3 (Sekar S)

Message: 1
Date: Sun, 17 Mar 2019 05:19:38 +0000
From: Sekar S sekarpdkt@hotmail.com
To: Alexandre Gon?alves alexandre@silvagoncalves.com
Cc: pjsip list pjsip@lists.pjsip.org
Subject: Re: [pjsip] Build PJSIP on Raspberry Pi 3
Message-ID:
<
TY2PR0101MB2383B1F4BFF6DE83EE88BC85AA460@TY2PR0101MB2383.apcprd01.prod.exchangelabs.com

Content-Type: text/plain; charset="iso-8859-1"

Hi

Can you share your user.mak.

Ideally it shall look like

export CFLAGS += -march=armv8-a -mtune=cortex-a53
-mfpu=crypto-neon-fp-armv8

If above doest not work, try

export CFLAGS += -march=armv8-a -mtune=cortex-a53

user.mak file shall be in base directory.

RPI3 is armv8-a.

Thanks.

Regards
Sekar


From: Alexandre Gon?alves alexandre@silvagoncalves.com
Sent: Friday, March 15, 2019 7:26 PM
To: Sekar S
Cc: pjsip list
Subject: Re: [pjsip] Build PJSIP on Raspberry Pi 3

Hi Sekar,

I'm getting an error on the step of make (make dep runs ok). The error
that comes up is:

/home/pi/source/pjproject-2.8/build/rules.mak:124: recipe for target
'../bin/pjlib-test-armv7l-unknown-linux-gnueabihf' failed
make[2]: *** [../bin/pjlib-test-armv7l-unknown-linux-gnueabihf] Error 1
make[2]: Leaving directory '/home/pi/source/pjproject-2.8/pjlib/build'
Makefile:113: recipe for target
'pjlib-test-armv7l-unknown-linux-gnueabihf' failed
make[1]: *** [pjlib-test-armv7l-unknown-linux-gnueabihf] Error 2
make[1]: Leaving directory '/home/pi/source/pjproject-2.8/pjlib/build'
Makefile:14: recipe for target 'all' failed
make: *** [all] Error 1

I'm building pjsua 2.8.

Thanks.

Alexandre Gon?alves

............................................................................................................................

Email: alexandre@silvagoncalves.commailto:alexandre@silvagoncalves.com

Sekar S <sekarpdkt@hotmail.commailto:sekarpdkt@hotmail.com> escreveu no
dia ter?a, 12/03/2019 ?(s) 04:38:
hi

Did you try the steps mentioned this Stackoverflow discussion?

https://stackoverflow.com/questions/53736284/how-to-install-pjsua2-packages-for-python/53968703#53968703

[
https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded
]<
https://stackoverflow.com/questions/53736284/how-to-install-pjsua2-packages-for-python/53968703#53968703

pjsip - How to install pjsua2 packages for python? - Stack Overflow<
https://stackoverflow.com/questions/53736284/how-to-install-pjsua2-packages-for-python/53968703#53968703

These steps shall work. Step1: Create a directory. /PJSUA2/pjproject/src.
Step2: install required modules. sudo apt-get install libasound2-dev
libssl-dev libv4l-dev ...
stackoverflow.comhttp://stackoverflow.com

which is based on

https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=178384#p1137398

I am able to do it using these steps. In the above discussion you will
also find a clue that
for PI3B use:
-march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8

This shall be your

user.mak

This is for PJSUA2 (which can be used with python3).

Sekar


From: Alexandre Gon?alves <alexandre@silvagoncalves.com<mailto:
alexandre@silvagoncalves.com>>
Sent: Monday, March 11, 2019 7:30 PM
To: pjsip list
Subject: [pjsip] Build PJSIP on Raspberry Pi 3

Hi,

Has anyone succeeded to build and use pjsip2.8 on Raspberry Pi 3, with
Python bindings?

Can you share the followed steps?

Thanks.

Alexandre

Greetings, Did you try building for ARMv8 with NDK 13b or a newer one? last time i tried, only NDK 13b worked for ARMv8 libs On Sun, Mar 17, 2019 at 5:01 PM <pjsip-request@lists.pjsip.org> wrote: > Send pjsip mailing list submissions to > pjsip@lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request@lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner@lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. Re: Build PJSIP on Raspberry Pi 3 (Sekar S) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 17 Mar 2019 05:19:38 +0000 > From: Sekar S <sekarpdkt@hotmail.com> > To: Alexandre Gon?alves <alexandre@silvagoncalves.com> > Cc: pjsip list <pjsip@lists.pjsip.org> > Subject: Re: [pjsip] Build PJSIP on Raspberry Pi 3 > Message-ID: > < > TY2PR0101MB2383B1F4BFF6DE83EE88BC85AA460@TY2PR0101MB2383.apcprd01.prod.exchangelabs.com > > > > Content-Type: text/plain; charset="iso-8859-1" > > Hi > > Can you share your user.mak. > > Ideally it shall look like > > export CFLAGS += -march=armv8-a -mtune=cortex-a53 > -mfpu=crypto-neon-fp-armv8 > > If above doest not work, try > > export CFLAGS += -march=armv8-a -mtune=cortex-a53 > > user.mak file shall be in base directory. > > RPI3 is armv8-a. > > Thanks. > > Regards > Sekar > > ________________________________ > From: Alexandre Gon?alves <alexandre@silvagoncalves.com> > Sent: Friday, March 15, 2019 7:26 PM > To: Sekar S > Cc: pjsip list > Subject: Re: [pjsip] Build PJSIP on Raspberry Pi 3 > > Hi Sekar, > > I'm getting an error on the step of make (make dep runs ok). The error > that comes up is: > > /home/pi/source/pjproject-2.8/build/rules.mak:124: recipe for target > '../bin/pjlib-test-armv7l-unknown-linux-gnueabihf' failed > make[2]: *** [../bin/pjlib-test-armv7l-unknown-linux-gnueabihf] Error 1 > make[2]: Leaving directory '/home/pi/source/pjproject-2.8/pjlib/build' > Makefile:113: recipe for target > 'pjlib-test-armv7l-unknown-linux-gnueabihf' failed > make[1]: *** [pjlib-test-armv7l-unknown-linux-gnueabihf] Error 2 > make[1]: Leaving directory '/home/pi/source/pjproject-2.8/pjlib/build' > Makefile:14: recipe for target 'all' failed > make: *** [all] Error 1 > > I'm building pjsua 2.8. > > Thanks. > > > Alexandre Gon?alves > > > ............................................................................................................................ > > Email: alexandre@silvagoncalves.com<mailto:alexandre@silvagoncalves.com> > > > Sekar S <sekarpdkt@hotmail.com<mailto:sekarpdkt@hotmail.com>> escreveu no > dia ter?a, 12/03/2019 ?(s) 04:38: > hi > > Did you try the steps mentioned this Stackoverflow discussion? > > > https://stackoverflow.com/questions/53736284/how-to-install-pjsua2-packages-for-python/53968703#53968703 > > [ > https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded > ]< > https://stackoverflow.com/questions/53736284/how-to-install-pjsua2-packages-for-python/53968703#53968703 > > > > pjsip - How to install pjsua2 packages for python? - Stack Overflow< > https://stackoverflow.com/questions/53736284/how-to-install-pjsua2-packages-for-python/53968703#53968703 > > > These steps shall work. Step1: Create a directory. /PJSUA2/pjproject/src. > Step2: install required modules. sudo apt-get install libasound2-dev > libssl-dev libv4l-dev ... > stackoverflow.com<http://stackoverflow.com> > > > which is based on > > https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=178384#p1137398 > > I am able to do it using these steps. In the above discussion you will > also find a clue that > for PI3B use: > -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 > > This shall be your > > user.mak > > > This is for PJSUA2 (which can be used with python3). > > Sekar > > ________________________________ > From: Alexandre Gon?alves <alexandre@silvagoncalves.com<mailto: > alexandre@silvagoncalves.com>> > Sent: Monday, March 11, 2019 7:30 PM > To: pjsip list > Subject: [pjsip] Build PJSIP on Raspberry Pi 3 > > Hi, > > Has anyone succeeded to build and use pjsip2.8 on Raspberry Pi 3, with > Python bindings? > > Can you share the followed steps? > > Thanks. > > Alexandre >