Alan Ezust wrote: > I am trying to build ktorrent 4.3.1 for my first time. I want to fix some > bugs in it. I'm using Kubuntu wily, and I got the sources from "apt-get > source ktorrent". > > I do not understand this error, could someone explain it to me? > > [ 38%] Built target ipblocklisttest_automoc > Linking CXX executable ipblocklisttest > /usr/bin/ld: CMakeFiles/ipblocklisttest.dir/__/ipblocklist.o: undefined > reference to symbol '_ZNK12QHostAddress13toIPv4AddressEv' > /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4: error adding symbols: DSO > missing from command line > collect2: error: ld returned 1 exit status > plugins/ipfilter/tests/CMakeFiles/ipblocklisttest.dir/build.make:137: > recipe for target 'plugins/ipfilter/tests/ipblocklisttest' failed > make[2]: *** [plugins/ipfilter/tests/ipblocklisttest] Error 1 > CMakeFiles/Makefile2:953: recipe for target > 'plugins/ipfilter/tests/CMakeFiles/ipblocklisttest.dir/all' failed > make[1]: *** [plugins/ipfilter/tests/CMakeFiles/ipblocklisttest.dir/all] > Error 2 > Makefile:126: recipe for target 'all' failed > make: *** [all] Error 2 > [ezust@cerberus] /usr/local/ktorrent-4.3.1/build>
It's been fixed in 4.3 branch, just no new release including the fix has been made yet. https://quickgit.kde.org/?p=ktorrent.git&a=commit&h=51fb21577392476b731c776f94668daf6a00ff1f -- Rex