Re: Build PJSIP on Raspberry Pi 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sekar,

My use.mak is:

export CFLAGS += -march=armv8-a -mtune=cortex-a53
#export CFLAGS += -march=armv7-a -mfpu=neon-vfpv4 -ffast-math -mfloat-abi=hard
#export CFLAGS += -march=armv8-a -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -mlittle-endian -munaligned-access -ffast-math -lasound
export LDFLGS += 

I tryed both options that you suggested and it fails for both. The output of the make process is attached, in case you can look at it.

Thanks.

Alexandre Gonçalves

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



Sekar S <sekarpdkt@xxxxxxxxxxx> escreveu no dia domingo, 17/03/2019 à(s) 05:19:
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@xxxxxxxxxxxxxxxxxx>
Sent: Friday, March 15, 2019 7:26 PM
To: Sekar S
Cc: pjsip list
Subject: Re: 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

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



Sekar S <sekarpdkt@xxxxxxxxxxx> escreveu no dia terça, 12/03/2019 à(s) 04:38:
hi

Did you try the steps mentioned this Stackoverflow discussion?


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 ...

which is based on


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@xxxxxxxxxxxxxxxxxx>
Sent: Monday, March 11, 2019 7:30 PM
To: pjsip list
Subject: 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 

<<attachment: make.zip>>

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux