Open mghadam opened 1 year ago
An image for raspberry 4 with the system all working would be very useful.
I did all the compilation above, however, when I run ./tg2sip, I get the following error:
oot@raspberrypi:/usr/src/tg2sip-1.3.0/build# ./tg2sip [14:16:07.655][t:21847][p:21847][pjsip][info] pjsua version 2.9 for Linux-5.15.84/aarch64/glibc-2.31 initialized [14:16:07.657][t:21847][p:21847][pjsip][error] Invalid local URI: Invalid URI (PJSIP_EINVALIDURI) [status=171039] [14:16:07.657][t:21847][p:21847][pjsip][error] Error adding account: Invalid URI (PJSIP_EINVALIDURI) [status=171039] [14:16:07.657][t:21847][p:21847][pjsip][error] pjsua_acc_add(&pj_acc_cfg, make_default, &id) error: Invalid URI (PJSIP_EINVALIDURI) (status=171039) [../src/pjsua2/account.cpp:963] Abortado
Notes when compiling on Raspberry Pi 11 (bullseye) 64-bit-
@IchthysMaranathy has mentioned two patches for https://github.com/Infactum/tg2sip/issues/49#issue-925872339 . The first patch for
<emmintrin.h>
was not required for pjsip v2.12.1. However, tg2sip is not compatible with this version of pjsip and returns https://github.com/Infactum/tg2sip/issues/35#issue-666114258 regardingep.codecEnum2()
. Therefore it is needed to use pjsip v2.9 and apply the patch. The second patch for endianess is required for both pjsip v2.9 and v2.12.1Debian bullseye includes spdlog v1.8.1 while tg2sip requires v0.17. Therefore a manual compilation is needed for spdlog.
The latest version of tdlib v1.8.7 return errors
error: ‘td_api::authorizationStateWaitEncryptionKey’ has not been declared
when compiling. However, v1.8.0 release works fine.Here is the gist I used to compile tg2sip on RPi 64-bit bullseye. The compiled binaries are attached.
tg2sip_aarch64.zip