linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Build error in EP_linphone on debian 11


From: Peio Rigaux
Subject: Re: [Linphone-developers] Build error in EP_linphone on debian 11
Date: Thu, 25 Nov 2021 15:45:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

Hello.

I'm currently writing the Debian 11 CI jobs.

The only way I found to work around the issue is to allow multiple definitions at link time for pulseaudio.

Here is my commit explaining the issue and the workaround.

The issue is only shown by GCC, Clang doesn't have the issue.


I have written a bug report to Debian with a test example, and I'm waiting for a reply.


Regards,

Peio Rigaux
Junior DevOps Engineer
Belledonne Communications, the company behind Linphone
Linphone.org

Le 10/11/2021 à 07:47, Ian Coetzee a écrit :
Hi All,

I would just like to raise this issue again. The issue persists on the latest commit

/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


Just a note, the build still succeeds on ubuntu 21.10, I have engaged with the debian community as well, but so far have not had any luck getting to a resolution.

Kind regards
Ian Coetzee

On 2021/10/18 08:47, Ian Coetzee wrote:
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


_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers

Attachment: OpenPGP_0x99D28356FED78143.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]