/usr/lib64/libkdecore.so.5: could not read symbols: Invalid operation

Hei,

I’m trying to build an Ekiga version with kde support, however, it fails to build with the message:

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'KAboutData::KAboutData(QByteArray const&, QByteArray const&, KLocalizedString const&, QByteArray const&, KLocalizedString const&, KAboutData::LicenseKey, KLocalizedString const&, KLocalizedString const&, QByteArray const&, QByteArray const&)' is defined in DSO /usr/lib64/libkdecore.so.5 so try adding it to the linker command line
 /usr/lib64/libkdecore.so.5: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 make[3]: *** [ekiga] Error 1

I also see a similar error message on another build project:

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: chrono.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'
 /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
 /lib64/librt.so.1: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 make[1]: *** [din] Error 1

I have specifically added the packages which provides /usr/lib64/libkdecore.so.5 and /lib64/librt.so.1in their corresponding .spec file, in the hope that that would solve anything, but it didn’t. And I haven’t got any further ideas.
Anyone got a clue what I’m doing wrong? I’m just a novice packer.

Thanks