Quantcast
Channel: KUserFeedback:42235444fd76ff4c75f8a3acfcf2684867610b12 commits
Viewing all articles
Browse latest Browse all 29

Fix linking libKUserFeedbackCommon.a

$
0
0
It needs to be compiled with -fPIC because it's linking a static lib with a shared lib; otherwise we get: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: ../../common/libKUserFeedbackCommon.a(surveytargetexpression.cpp.o): warning: relocation against `_ZN7QString6_emptyE@@Qt_6' in read-only section `.text' /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: ../../common/libKUserFeedbackCommon.a(surveytargetexpressionevaluator.cpp.o): relocation R_X86_64_PC32 against symbol `_ZN7QString6_emptyE@@Qt_6' can not be used when making a shared object; recompile with -fPIC Thanks to Fabian Vogt for figuring it out.

Viewing all articles
Browse latest Browse all 29

Trending Articles