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
............................................................................................................................
Email: alexandre@xxxxxxxxxxxxxxxxxx
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.
RegardsSekar
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 3Hi 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' failedmake[2]: *** [../bin/pjlib-test-armv7l-unknown-linux-gnueabihf] Error 1make[2]: Leaving directory '/home/pi/source/pjproject-2.8/pjlib/build'Makefile:113: recipe for target 'pjlib-test-armv7l-unknown-linux-gnueabihf' failedmake[1]: *** [pjlib-test-armv7l-unknown-linux-gnueabihf] Error 2make[1]: Leaving directory '/home/pi/source/pjproject-2.8/pjlib/build'Makefile:14: recipe for target 'all' failedmake: *** [all] Error 1
I'm building pjsua 2.8.
Thanks.
Alexandre Gonçalves
............................................................................................................................
Email: alexandre@xxxxxxxxxxxxxxxxxx
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 thatfor PI3B use:
-march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8
This shall be youruser.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 3Hi,
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