libjungle is an orphaned Google project that is not supported anymore. However, it is in the source tree of Kopete project. To build libjungle two issues must be fixed: 1. explicit convert from 'const ASN1_ITEM* (* const)()' {aka 'const ASN1_ITEM_st* (* const)()'} to 'const ASN1_ITEM*' {aka 'const ASN1_ITEM_st*'}; 2. build against srtp2 with build-conflict with older srtp.
A possibly relevant merge request was started @ https://invent.kde.org/network/kopete/-/merge_requests/10
Dear user, unfortunately Kopete is no longer maintained. Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.