|
From: | Ian Coetzee |
Subject: | Re: [Linphone-developers] Build error in EP_linphone on debian 11 |
Date: | Wed, 10 Nov 2021 08:47:15 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 |
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
collect2: error: ld returned 1 exit status
gmake[11]: *** [console/CMakeFiles/linphonec.dir/build.make:122: console/linphonec] Error 1
gmake[10]: *** [CMakeFiles/Makefile2:507: console/CMakeFiles/linphonec.dir/all] Error 2
gmake[9]: *** [Makefile:149: all] Error 2
gmake[8]: *** [CMakeFiles/EP_linphone.dir/build.make:145: /home/ianc/linphone-desktop/build/WORK/WORK/desktop/Stamp/EP_linphone/EP_linphone-build] Error 2
gmake[7]: *** [CMakeFiles/Makefile2:158: CMakeFiles/EP_linphone.dir/all] Error 2
gmake[6]: *** [Makefile:103: all] Error 2
gmake[5]: *** [CMakeFiles/sdk.dir/build.make:133: sdk-prefix/src/sdk-stamp/sdk-build] Error 2
gmake[4]: *** [CMakeFiles/Makefile2:95: CMakeFiles/sdk.dir/all] Error 2
gmake[3]: *** [Makefile:103: all] Error 2
gmake[2]: *** [CMakeFiles/sdk.dir/build.make:132: WORK/stamp/sdk-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:209: CMakeFiles/sdk.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
Hi All,
I am trying to compile linphone-desktop (Branch: origin/release/4.3, commit: 8d9c3d28df7d12d2674f4ac77304def3d030f10c) on debian 11 and ran into the following issue while building EP_linphone.
[ 76%] Linking CXX executable linphonec
/usr/bin/ld: /lib/x86_64-linux-gnu/libtirpc.so.3: warning: common of `rpc_createerr@@GLIBC_2.2.5' overridden by definition from /lib/x86_64-linux-gnu/libc.so.6
collect2: error: ld returned 1 exit status
gmake[11]: *** [console/CMakeFiles/linphonec.dir/build.make:122: console/linphonec] Error 1
gmake[10]: *** [CMakeFiles/Makefile2:507: console/CMakeFiles/linphonec.dir/all] Error 2
gmake[9]: *** [Makefile:149: all] Error 2
gmake[8]: *** [CMakeFiles/EP_linphone.dir/build.make:145: /home/ianc/linphone-desktop/build/WORK/WORK/desktop/Stamp/EP_linphone/EP_linphone-build] Error 2
gmake[7]: *** [CMakeFiles/Makefile2:158: CMakeFiles/EP_linphone.dir/all] Error 2
gmake[6]: *** [Makefile:103: all] Error 2
gmake[5]: *** [CMakeFiles/sdk.dir/build.make:133: sdk-prefix/src/sdk-stamp/sdk-build] Error 2
gmake[4]: *** [CMakeFiles/Makefile2:95: CMakeFiles/sdk.dir/all] Error 2
gmake[3]: *** [Makefile:103: all] Error 2
gmake[2]: *** [CMakeFiles/sdk.dir/build.make:132: WORK/stamp/sdk-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:209: CMakeFiles/sdk.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
Using the exact same build config on ubuntu 21.04 the build succeeds
Cmake config command:
cmake .. -DENABLE_STRICT=NO -DENABLE_PULSE=ON -DENABLE_G729=ON -DCMAKE_BUILD_PARALLEL_LEVEL=$(nproc) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_DAEMON=ON -DENABLE_CONSOLE_UI=ON -DENABLE_PCAP=NO -DENABLE_LDAP=NO -DENABLE_GTK_UI=ON -DENABLE_ADVANCED_IM=NO -DENABLE_LIME_X3DH=NO -DENABLE_VPX=NO -DENABLE_BV16=NO -DENABLED_PACKAGING=ON -DCPACK_GENERATOR=DEB -DCPACK_DEBIAN_CONTACT="ian@iancoetzee.za.net" -DCPACK_DEBIAN_PACKAGE_MAINTAINER="Ian Coetzee" -DENABLE_FFMPEG=NO -DENABLE_WEBRTC=ON
Cmake build command:
cmake --build . --target install --parallel $(nproc)
I am pretty sure this is a Debian issue, but I am not sure
Please let me know what information I can provide additionally
Kind regards
Ian Coetzee
[Prev in Thread] | Current Thread | [Next in Thread] |