linphone-sdk icon indicating copy to clipboard operation
linphone-sdk copied to clipboard

Error in Build of Linphone-SDK for Android

Open shivbuyya opened this issue 6 months ago • 0 comments

Hi,

I am trying to build latest Linphone SDK for Android in Ubuntu. 20.04. I have installed all the dependencies mentioned as per README.

But my compilation ends with the below error, kindly help to resolve this.

-- Build files have been written to: /opt/linphone-sdk/build [ 0%] Performing build step for 'vpx' [ 0%] Built target libaom [ 0%] Built target dav1d [ 2%] Built target bv16 [ 3%] Built target gsm [ 3%] Built target jpeg16 [ 5%] Built target simd [ 5%] Built target turbojpeg12 [ 5%] Built target turbojpeg16 [ 7%] Built target jpeg12 [ 7%] Built target sqlite3 [ 7%] Built target decaf-gen-c25519-ntab [ 7%] Built target mediastreamer2-yuv2rgb-vs-header [ 8%] Built target speexdsp [ 8%] Built target decaf-gen-ed448-ntab [ 8%] Built target bcmatroska2-ebml-objects [ 12%] Built target mbedcrypto [ 13%] Built target speex CMake Warning at /opt/linphone-sdk/bctoolbox/cmake/BCGitVersion.cmake:43 (message): Project version (5.4.0) and git tag (5.4.0-alpha) differ. Please put them identical

[ 13%] Built target decaf-generator-common-code [ 13%] Built target mediastreamer2-basedescs-header [ 13%] Built target mediastreamer2-git-version [ 14%] Built target bcmatroska2-corec-objects [ 14%] Built target liblinphone-plugins [ 14%] Built target bv16-exe [ 15%] Built target jsoncpp_lib [ 15%] Built target mediastreamer2-voipdescs-header CMake Error at /opt/linphone-sdk/build/vpx-prefix/src/vpx-stamp/vpx-build-.cmake:37 (message): Command failed: 2

'sh' '/opt/linphone-sdk/build/EP_vpx_build.sh'

See also

/opt/linphone-sdk/build/vpx-prefix/src/vpx-stamp/vpx-build-*.log

-- stdout output is:**

-- stderr output is: make[3]: *** read jobs pipe: Bad file descriptor. Stop. make[3]: *** Waiting for unfinished jobs.... make[4]: *** read jobs pipe: Bad file descriptor. Stop. make[4]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:17: .DEFAULT] Error 2

CMake Error at /opt/linphone-sdk/build/vpx-prefix/src/vpx-stamp/vpx-build-.cmake:47 (message): Stopping after outputting logs.

make[2]: *** [CMakeFiles/vpx.dir/build.make:86: vpx-prefix/src/vpx-stamp/vpx-build] Error 1 make[1]: *** [CMakeFiles/Makefile2:2156: CMakeFiles/vpx.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 15%] Built target mediastreamer2-fragment-shader-header [ 15%] Built target cjpeg12 [ 15%] Built target cjpeg16 [ 15%] Built target mediastreamer2-vertex-shader-header [ 15%] Built target djpeg12 [ 15%] Built target djpeg16 [ 21%] Built target opus [ 21%] Built target mediastreamer2-yuv2rgb-fs-header [ 25%] Built target ZXing make: *** [Makefile:156: all] Error 2

Thanks, Shiv

shivbuyya avatar Aug 13 '24 13:08 shivbuyya