<div dir="ltr">This is not a compilation issue, it's a linking problem. Perhaps you need to clean up your cmake cache and reconfigure.<div><br></div><div>Note : Using -DBUILD_TESTING=OFF will disable kxmlkipicmd compilation. It's a test tool.</div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-22 14:35 GMT+01:00 Andrew Goodbody <span dir="ltr"><<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Attempting to build on Debian testing which has just been updated, I get the build failure as below. This Ubuntu bug seems to be relevant suggesting the gold linker is a problem, can this be disabled somehow?<br>
<br>
<a href="https://www.mail-archive.com/ubuntu-sdk-bugs@lists.launchpad.net/msg07489.html" rel="noreferrer" target="_blank">https://www.mail-archive.com/u<wbr>buntu-sdk-bugs@lists.launchpad<wbr>.net/msg07489.html</a><br>
<br>
Andrew<br>
<br>
[ 2%] Linking CXX executable kxmlkipicmd<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_end'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'<br>
/usr/lib/x86_64-linux-gnu/libQ<wbr>t5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'<br>
//usr/lib/x86_64-linux-gnu/lib<wbr>Qt5Network.so.5:(*IND*+0x0): multiple definition of `_edata'<br>
//usr/lib/x86_64-linux-gnu/lib<wbr>Qt5Network.so.5:(*IND*+0x0): multiple definition of `__bss_start'<br>
//usr/lib/x86_64-linux-gnu/lib<wbr>Qt5Network.so.5:(*IND*+0x0): multiple definition of `_end'<br>
collect2: error: ld returned 1 exit status<br>
extra/libkipi/tests/CMakeFiles<wbr>/kxmlkipicmd.dir/build.make:<wbr>384: recipe for target 'extra/libkipi/tests/kxmlkipic<wbr>md' failed<br>
make[2]: *** [extra/libkipi/tests/kxmlkipic<wbr>md] Error 1<br>
CMakeFiles/Makefile2:1180: recipe for target 'extra/libkipi/tests/CMakeFile<wbr>s/kxmlkipicmd.dir/all' failed<br>
make[1]: *** [extra/libkipi/tests/CMakeFile<wbr>s/kxmlkipicmd.dir/all] Error 2<br>
Makefile:138: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
</blockquote></div><br></div>