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

Failed to build linphone-desktop on centos 7.8

Open patrickvsi opened this issue 4 years ago • 1 comments

Hi,

I tried to build linphone-desktop on centos 7.8 with Gnome using the following commands:

git clone https://gitlab.linphone.org/BC/public/linphone-desktop.git --recursive

cd linphone-desktop

git submodule update --init --recursive

mkdir build

cd build

Qt5_DIR="~/Qt/5.12.5/gcc_64/lib/cmake"
PATH="~/Qt/5.12.5/gcc_64/bin/:$PATH"

cmake .. -DCMAKE_BUILD_PARALLEL_LEVEL=10 -DCMAKE_BUILD_TYPE=RelWithDebInfo

cmake --build . --config RelWithDebInfo

I got the following error:

[100%] Built target speexdsp
-- Install configuration: "RelWithDebInfo"
[100%] Built target xml2
make[9]: *** INTERNAL: readdir: Bad file descriptor
.  Stop.
make[9]: ../../../../../..//linphone-sdk/external/openh264/Makefile: Field 'stem' not cached: Makefile

gmake[8]: *** [/home/freedom/linphone-desktop/build/WORK/WORK/desktop/Stamp/EP_openh264/EP_openh264-build] Error 2
gmake[7]: *** [CMakeFiles/EP_openh264.dir/all] Error 2
gmake[7]: *** Waiting for unfinished jobs....
[ 12%] Completed 'EP_bv16'
Install the project...
[ 13%] Completed 'EP_srtp'
[ 13%] Performing install step for 'EP_vpx'
[ 87%] Built target mbedx509
-- Install configuration: "RelWithDebInfo"
[ 13%] Forcing build for 'EP_opus'
[ 71%] Built target generatedCode
Install the project...
-- Install configuration: "RelWithDebInfo"
[ 13%] Performing build step for 'EP_opus'
[ 15%] Built target EP_bv16
[ 15%] Completed 'EP_speex'
make[9]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
[ 17%] Built target EP_srtp
[ 24%] Built target ebml2-objects
[100%] Built target mbedtls
[ 17%] Completed 'EP_xml2'
[ 81%] Built target CURVE25519
[ 89%] Built target corec-objects
[ 18%] Built target EP_speex
Install the project...
-- Install configuration: "RelWithDebInfo"
[ 20%] Built target EP_xml2
[ 90%] Built target CURVE448
[100%] Built target bcmatroska2
[ 20%] Completed 'EP_mbedtls'
Install the project...
[100%] Built target decaf
-- Install configuration: "RelWithDebInfo"
[ 22%] Built target EP_mbedtls
[ 23%] Completed 'EP_matroska2'
[ 24%] Performing install step for 'EP_decaf'
[ 26%] Built target EP_matroska2
[ 26%] Completed 'EP_vpx'
[ 30%] Built target generatorCommonCode
[ 28%] Built target EP_vpx
[100%] Built target opus
[ 33%] Built target generatorP448
[ 28%] Performing install step for 'EP_opus'
[ 37%] Built target generatorP25519
[ 49%] Built target generatorEd448goldilocks
[ 60%] Built target generatorCurve25519
[ 66%] Built target p25519
[ 71%] Built target p448
[ 71%] Built target generatedCode
[ 81%] Built target CURVE25519
[ 90%] Built target CURVE448
[100%] Built target decaf
[100%] Built target opus
Install the project...
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Install configuration: "RelWithDebInfo"
[ 28%] Completed 'EP_decaf'
[ 29%] Completed 'EP_opus'
[ 30%] Built target EP_decaf
[ 32%] Built target EP_opus
gmake[6]: *** [all] Error 2
gmake[5]: *** [sdk-prefix/src/sdk-stamp/sdk-build] Error 2
gmake[4]: *** [CMakeFiles/sdk.dir/all] Error 2
gmake[3]: *** [all] Error 2
gmake[2]: *** [WORK/stamp/sdk-build] Error 2
gmake[1]: *** [CMakeFiles/sdk.dir/all] Error 2
gmake: *** [all] Error 2

Any idea on how to fix the problem?

Thanks

patrickvsi avatar Sep 17 '20 23:09 patrickvsi

+1

wmailn avatar Nov 19 '21 03:11 wmailn