Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building feeds-service on RPi ubuntu arm64 #410

Open
ademcan opened this issue Aug 17, 2020 · 3 comments
Open

Error when building feeds-service on RPi ubuntu arm64 #410

ademcan opened this issue Aug 17, 2020 · 3 comments

Comments

@ademcan
Copy link

ademcan commented Aug 17, 2020

Hi team,

I am having the following error when I try to build https://github.com/elastos-trinity/feeds-service on a Raspberry Pi 4 running Ubuntu (arm64). I am posting here as the issue occurs while building the carrier SDK:

[ 88%] Linking C shared library libelasession.so
/usr/bin/ld: cannot find -lpjmedia
/usr/bin/ld: cannot find -lpjnath
/usr/bin/ld: cannot find -lpjlib-util
/usr/bin/ld: cannot find -lpj
/usr/bin/ld: cannot find -lsrtp
collect2: error: ld returned 1 exit status
make[5]: *** [src/session/CMakeFiles/elasession-shared.dir/build.make:235: src/session/libelasession.so] Error 1
make[4]: *** [CMakeFiles/Makefile2:925: src/session/CMakeFiles/elasession-shared.dir/all] Error 2
make[3]: *** [Makefile:152: all] Error 2
make[2]: *** [deps/Elastos.NET.Carrier.Native.SDK/CMakeFiles/Elastos.NET.Carrier.Native.SDK.dir/build.make:115: deps/Elastos.NET.Carrier.Native.SDK/external/src/Elastos.NET.Carrier.Native.SDK-stamp/Elastos.NET.Carrier.Native.SDK-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:466: deps/Elastos.NET.Carrier.Native.SDK/CMakeFiles/Elastos.NET.Carrier.Native.SDK.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

The issue is the same as #173 but this should have been fixed already. Thank you for your help.

@stiartsly
Copy link
Contributor

@ademcan Please check whether the dependency "pjsip" has been compiled successfully or not on your raspberry. You can check there are pjsip libraries mentioned your error list under $YOUR-BUILD-PATH/intermediate/lib .

@stiartsly
Copy link
Contributor

stiartsly commented Aug 19, 2020

In the case, you can try to rebuild pjsip dependency to see what's real reason of failure with the commands below:

$ cd $YOUR-BUILD-PATH
$ rm -rf deps/pjsip
$ make pjsip

let's see what's the real error information in screen, and decide how to resolve later.

@libbin
Copy link
Contributor

libbin commented Oct 4, 2021

The new code should build on ubuntu arm64
79c8d02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants