Bug 515801 - Build is broken since 0.15.0 (linking error)
Summary: Build is broken since 0.15.0 (linking error)
Status: RESOLVED FIXED
Alias: None
Product: kaidan
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Other
: NOR normal
Target Milestone: ---
Assignee: melvo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-10 07:01 UTC by Schrijvers Luc
Modified: 2026-02-10 11:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Schrijvers Luc 2026-02-10 07:01:15 UTC
SUMMARY

At the end of the build it errors out with linking errors

STEPS TO REPRODUCE
1. build with kde-builder or building 0.15.0 with cmake


OBSERVED RESULT

Build errors out with:

```
[ 97%] Linking CXX executable ../../bin/kaidan
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../../lib/liblibkaidancore.a(Call.cpp.o): in function `Call::setCall(std::unique_ptr<QXmppCall, std::default_delete<QXmppCall> >)':
Call.cpp:(.text+0x78a): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: Call.cpp:(.text+0x7da): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../../lib/liblibkaidancore.a(Call.cpp.o): in function `Call::setUpCall()':
Call.cpp:(.text+0xe55): undefined reference to `QXmppCall::streamCreated(QXmppCallStream*)'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: Call.cpp:(.text+0xea5): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../../lib/liblibkaidancore.a(Call.cpp.o): in function `Call::handleCallReceived(std::unique_ptr<QXmppCall, std::default_delete<QXmppCall> >&)':
Call.cpp:(.text+0xfe3): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: Call.cpp:(.text+0x102f): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: Call.cpp:(.text+0x108b): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: Call.cpp:(.text+0x10db): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../../lib/liblibkaidancore.a(Call.cpp.o): in function `QtPrivate::QCallableObject<Call::startCall()::{lambda(std::variant<std::shared_ptr<QXmppJingleMessageInitiation>, QXmppError>&&)#1}::operator()(std::variant<std::shared_ptr<QXmppJingleMessageInitiation>, QXmppError>&&) const::{lambda(QString const&, QString const&)#1}, QtPrivate::List<QString const&, QString const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)':
Call.cpp:(.text+0x1280): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: Call.cpp:(.text+0x12d0): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: ../../lib/liblibkaidancore.a(CallController.cpp.o): in function `CallController::CallController(AccountSettings*, Connection*, NotificationController*, QXmppJingleMessageInitiationManager*, QXmppCallManager*, QObject*)':
CallController.cpp:(.text+0x152): undefined reference to `QXmppCallManager::callReceived(std::unique_ptr<QXmppCall, std::default_delete<QXmppCall> >&)'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld: CallController.cpp:(.text+0x19e): undefined reference to `QXmppCallManager::staticMetaObject'
collect2: error: ld returned 1 exit status
```

EXPECTED RESULT

Build completes with proper linking.

SOFTWARE/OS VERSIONS
Haiku R1B5 64bit: 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0 (system), 6.24.0 (kde-builder)
Qt Version: 6.10.2

ADDITIONAL INFORMATION

Build/packaging for 0.14.0 went fine and Kaidan launches OK.
Comment 1 Schrijvers Luc 2026-02-10 11:40:58 UTC
After the latest commit this seems to be resolved, sorry for the noise.