Version: 2.0.0 (using Devel) OS: Linux When building the latest libkdcraw library, the following compiler error occurs : /usr/bin/c++ -fPIC -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O4 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-Bsymbolic-functions -shared -Wl,-soname,libkdcraw.so.20 -o ../lib/libkdcraw.so.20.0.0 CMakeFiles/kdcraw.dir/kdcraw_automoc.o CMakeFiles/kdcraw.dir/kdcraw.o CMakeFiles/kdcraw.dir/kdcraw_p.o CMakeFiles/kdcraw.dir/dcrawsettingswidget.o CMakeFiles/kdcraw.dir/dcrawinfocontainer.o CMakeFiles/kdcraw.dir/rawdecodingsettings.o CMakeFiles/kdcraw.dir/rcombobox.o CMakeFiles/kdcraw.dir/rnuminput.o CMakeFiles/kdcraw.dir/rexpanderbox.o CMakeFiles/kdcraw.dir/squeezedcombobox.o -L/usr/src/packages/BUILD/libkdcraw-4.6.41_20110401/build/lib ../lib/liblibraw.a /usr/lib64/libkdeui.so.5.7.0 /usr/lib64/libkio.so.5.7.0 -lm -llcms -ljpeg -lgomp /usr/lib64/libQtNetwork.so /usr/lib64/libQtXml.so /usr/lib64/libkdeui.so.5.7.0 /usr/lib64/libkdecore.so.5.7.0 /usr/lib64/libQtDBus.so /usr/lib64/libQtCore.so -lpthread /usr/lib64/libQtGui.so /usr/lib64/libQtSvg.so /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: ../lib/liblibraw.a(libraw_cxx.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../lib/liblibraw.a: could not read symbols: Bad value As that libkdcraw no longer compiles, also digikam and kipi-plugins no longer builds. This happened only after the changes of today, Reproducible: Always
Created attachment 58514 [details] fix linking problem
Thanks for the patch Gilles Caulier
Git commit 9061f79a6da25ce497bc8e8fd4cb6457f02883f6 by Gilles Caulier. Committed on 02/04/2011 at 10:35. Pushed by cgilles into branch 'master'. apply patch #58514 BUGS: 269903 M +2 -1 CMakeLists.txt http://commits.kde.org/libkdcraw/9061f79a6da25ce497bc8e8fd4cb6457f02883f6