![]() Registered Member ![]()
|
hi,
i am trying to compile 3.2.1 from tarbz. i had passed cmake .. withour errors/warning with one info about additional libtaskmanager then during make, at circa 29% i have such error: [ 29%] Building CXX object libbtcore/CMakeFiles/btcore.dir/btversion.o Linking CXX shared library ../lib/libbtcore.so CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `__static_initialization_and_destruction_0': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:38: undefined reference to `QCA::Initializer::Initializer(QCA::MemoryMode, int)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:38: undefined reference to `QCA::Initializer::~Initializer()' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `bt::SHA1HashGen::get() const': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:376: undefined reference to `QCA::MemoryRegion::constData() const' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:376: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:376: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `bt::SHA1HashGen::update(unsigned char const*, unsigned int)': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:238: undefined reference to `QCA::Hash::update(char const*, int)' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `bt::SHA1HashGen::generate(unsigned char const*, unsigned int)': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:67: undefined reference to `QCA::Hash::update(char const*, int)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:68: undefined reference to `QCA::MemoryRegion::constData() const' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:68: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:68: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `SHA1HashGen': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:51: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:53: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:44: undefined reference to `QCA::isSupported(char const*, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:45: undefined reference to `QCA::isSupported(char const*, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:51: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:53: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:44: undefined reference to `QCA::isSupported(char const*, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:45: undefined reference to `QCA::isSupported(char const*, QString const&)' collect2: ld returned 1 exit status make[2]: *** [lib/libbtcore.so.10.0.0] Błąd 1 make[1]: *** [libbtcore/CMakeFiles/btcore.dir/all] Błąd 2 make: *** [all] Błąd 2 my qt is 4.5.0 v955233 from kde's qt-copy svn last version i had used, 3.1.5 was compiled without errors and works good. thanks for any help |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
as requested;
Linking CXX shared library ../lib/libbtcore.so cd /home/src/ktorrent/ktorrent-3.2.1/build2/libbtcore && /usr/bin/cmake -E cmake_link_script CMakeFiles/btcore.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -O2 -g -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -shared -Wl,-soname,libbtcore.so.10 -o ../lib/libbtcore.so.10.0.0 CMakeFiles/btcore.dir/btcore_automoc.o CMakeFiles/btcore.dir/util/bitset.o CMakeFiles/btcore.dir/util/timer.o CMakeFiles/btcore.dir/util/urlencoder.o CMakeFiles/btcore.dir/util/sha1hashgen.o CMakeFiles/btcore.dir/util/sha1hash.o CMakeFiles/btcore.dir/util/functions.o CMakeFiles/btcore.dir/util/ptrmap.o CMakeFiles/btcore.dir/util/array.o CMakeFiles/btcore.dir/util/error.o CMakeFiles/btcore.dir/util/file.o CMakeFiles/btcore.dir/util/fileops.o CMakeFiles/btcore.dir/util/log.o CMakeFiles/btcore.dir/util/waitjob.o CMakeFiles/btcore.dir/util/autorotatelogjob.o CMakeFiles/btcore.dir/util/compressfilejob.o CMakeFiles/btcore.dir/util/logsystemmanager.o CMakeFiles/btcore.dir/bcodec/bdecoder.o CMakeFiles/btcore.dir/bcodec/bencoder.o CMakeFiles/btcore.dir/bcodec/bnode.o CMakeFiles/btcore.dir/bcodec/value.o CMakeFiles/btcore.dir/net/address.o CMakeFiles/btcore.dir/net/bufferedsocket.o CMakeFiles/btcore.dir/net/portlist.o CMakeFiles/btcore.dir/net/socket.o CMakeFiles/btcore.dir/net/socketmonitor.o CMakeFiles/btcore.dir/net/speed.o CMakeFiles/btcore.dir/net/uploadthread.o CMakeFiles/btcore.dir/net/downloadthread.o CMakeFiles/btcore.dir/net/networkthread.o CMakeFiles/btcore.dir/net/socketgroup.o CMakeFiles/btcore.dir/net/socks.o CMakeFiles/btcore.dir/net/wakeuppipe.o CMakeFiles/btcore.dir/mse/bigint.o CMakeFiles/btcore.dir/mse/functions.o CMakeFiles/btcore.dir/mse/rc4encryptor.o CMakeFiles/btcore.dir/mse/streamsocket.o CMakeFiles/btcore.dir/mse/encryptedauthenticate.o CMakeFiles/btcore.dir/mse/encryptedserverauthenticate.o CMakeFiles/btcore.dir/peer/authenticatebase.o CMakeFiles/btcore.dir/peer/authenticate.o CMakeFiles/btcore.dir/peer/serverauthenticate.o CMakeFiles/btcore.dir/peer/authenticationmonitor.o CMakeFiles/btcore.dir/peer/chunkcounter.o CMakeFiles/btcore.dir/peer/peerid.o CMakeFiles/btcore.dir/peer/peer.o CMakeFiles/btcore.dir/peer/peermanager.o CMakeFiles/btcore.dir/peer/peerdownloader.o CMakeFiles/btcore.dir/peer/peeruploader.o CMakeFiles/btcore.dir/peer/packetwriter.o CMakeFiles/btcore.dir/peer/packetreader.o CMakeFiles/btcore.dir/peer/utpex.o CMakeFiles/btcore.dir/peer/accessmanager.o CMakeFiles/btcore.dir/peer/badpeerslist.o CMakeFiles/btcore.dir/download/piece.o CMakeFiles/btcore.dir/download/request.o CMakeFiles/btcore.dir/download/packet.o CMakeFiles/btcore.dir/download/webseed.o CMakeFiles/btcore.dir/download/chunkdownload.o CMakeFiles/btcore.dir/download/chunkselector.o CMakeFiles/btcore.dir/download/downloader.o CMakeFiles/btcore.dir/download/httpconnection.o CMakeFiles/btcore.dir/interfaces/piecedownloader.o CMakeFiles/btcore.dir/interfaces/peerinterface.o CMakeFiles/btcore.dir/interfaces/peersource.o CMakeFiles/btcore.dir/interfaces/torrentinterface.o CMakeFiles/btcore.dir/interfaces/torrentfileinterface.o CMakeFiles/btcore.dir/interfaces/trackerslist.o CMakeFiles/btcore.dir/interfaces/logmonitorinterface.o CMakeFiles/btcore.dir/interfaces/blocklistinterface.o CMakeFiles/btcore.dir/interfaces/exitoperation.o CMakeFiles/btcore.dir/interfaces/chunkdownloadinterface.o CMakeFiles/btcore.dir/interfaces/monitorinterface.o CMakeFiles/btcore.dir/interfaces/queuemanagerinterface.o CMakeFiles/btcore.dir/interfaces/chunkselectorinterface.o CMakeFiles/btcore.dir/interfaces/cachefactory.o CMakeFiles/btcore.dir/interfaces/webseedinterface.o CMakeFiles/btcore.dir/torrent/globals.o CMakeFiles/btcore.dir/torrent/server.o CMakeFiles/btcore.dir/torrent/torrent.o CMakeFiles/btcore.dir/torrent/torrentfile.o CMakeFiles/btcore.dir/torrent/peersourcemanager.o CMakeFiles/btcore.dir/torrent/uploader.o CMakeFiles/btcore.dir/torrent/timeestimator.o CMakeFiles/btcore.dir/torrent/statsfile.o CMakeFiles/btcore.dir/torrent/choker.o CMakeFiles/btcore.dir/torrent/advancedchokealgorithm.o CMakeFiles/btcore.dir/torrent/torrentcontrol.o CMakeFiles/btcore.dir/torrent/torrentcreator.o CMakeFiles/btcore.dir/dht/announcetask.o CMakeFiles/btcore.dir/dht/dht.o CMakeFiles/btcore.dir/dht/kclosestnodessearch.o CMakeFiles/btcore.dir/dht/nodelookup.o CMakeFiles/btcore.dir/dht/rpcmsg.o CMakeFiles/btcore.dir/dht/taskmanager.o CMakeFiles/btcore.dir/dht/database.o CMakeFiles/btcore.dir/dht/dhttrackerbackend.o CMakeFiles/btcore.dir/dht/key.o CMakeFiles/btcore.dir/dht/pack.o CMakeFiles/btcore.dir/dht/rpcserver.o CMakeFiles/btcore.dir/dht/dhtbase.o CMakeFiles/btcore.dir/dht/kbucket.o CMakeFiles/btcore.dir/dht/node.o CMakeFiles/btcore.dir/dht/rpccall.o CMakeFiles/btcore.dir/dht/task.o CMakeFiles/btcore.dir/diskio/cache.o CMakeFiles/btcore.dir/diskio/chunk.o CMakeFiles/btcore.dir/diskio/dndfile.o CMakeFiles/btcore.dir/diskio/singlefilecache.o CMakeFiles/btcore.dir/diskio/multifilecache.o CMakeFiles/btcore.dir/diskio/preallocationthread.o CMakeFiles/btcore.dir/diskio/movedatafilesjob.o CMakeFiles/btcore.dir/diskio/deletedatafilesjob.o CMakeFiles/btcore.dir/diskio/piecedata.o CMakeFiles/btcore.dir/diskio/cachefile.o CMakeFiles/btcore.dir/diskio/chunkmanager.o CMakeFiles/btcore.dir/tracker/httptracker.o CMakeFiles/btcore.dir/tracker/tracker.o CMakeFiles/btcore.dir/tracker/udptracker.o CMakeFiles/btcore.dir/tracker/udptrackersocket.o CMakeFiles/btcore.dir/datachecker/datachecker.o CMakeFiles/btcore.dir/datachecker/datacheckerthread.o CMakeFiles/btcore.dir/datachecker/singledatachecker.o CMakeFiles/btcore.dir/datachecker/datacheckerlistener.o CMakeFiles/btcore.dir/datachecker/multidatachecker.o CMakeFiles/btcore.dir/migrate/cachemigrate.o CMakeFiles/btcore.dir/migrate/ccmigrate.o CMakeFiles/btcore.dir/migrate/migrate.o CMakeFiles/btcore.dir/btversion.o -L/usr/lib/qt/lib /usr/lib/libkdeui.so.5.2.0 /usr/lib/libkio.so.5.2.0 -lgmp -lqca /usr/lib/libkdeui.so.5.2.0 /usr/lib/qt/lib/libQtSvg.so /usr/lib/libkdecore.so.5.2.0 /usr/lib/qt/lib/libQtDBus.so /usr/lib/qt/lib/libQtCore.so -lpthread /usr/lib/qt/lib/libQtNetwork.so /usr/lib/qt/lib/libQtXml.so /usr/lib/qt/lib/libQtGui.so -Wl,-rpath,/usr/lib/qt/lib::::::::: CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `__static_initialization_and_destruction_0': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:38: undefined reference to `QCA::Initializer::Initializer(QCA::MemoryMode, int)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:38: undefined reference to `QCA::Initializer::~Initializer()' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `bt::SHA1HashGen::get() const': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:376: undefined reference to `QCA::MemoryRegion::constData() const' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:376: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:376: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `bt::SHA1HashGen::update(unsigned char const*, unsigned int)': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:238: undefined reference to `QCA::Hash::update(char const*, int)' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `bt::SHA1HashGen::generate(unsigned char const*, unsigned int)': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:67: undefined reference to `QCA::Hash::update(char const*, int)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:68: undefined reference to `QCA::MemoryRegion::constData() const' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:68: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:68: undefined reference to `QCA::MemoryRegion::~MemoryRegion()' CMakeFiles/btcore.dir/util/sha1hashgen.o: In function `SHA1HashGen': /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:51: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:53: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:44: undefined reference to `QCA::isSupported(char const*, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:45: undefined reference to `QCA::isSupported(char const*, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:51: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:53: undefined reference to `QCA::Hash::Hash(QString const&, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:44: undefined reference to `QCA::isSupported(char const*, QString const&)' /home/src/ktorrent/ktorrent-3.2.1/libbtcore/util/sha1hashgen.cpp:45: undefined reference to `QCA::isSupported(char const*, QString const&)' collect2: ld returned 1 exit status make[2]: *** [lib/libbtcore.so.10.0.0] Błąd 1 make[2]: Opuszczenie katalogu `/home/src/ktorrent/ktorrent-3.2.1/build2' make[1]: *** [libbtcore/CMakeFiles/btcore.dir/all] Błąd 2 make[1]: Opuszczenie katalogu `/home/src/ktorrent/ktorrent-3.2.1/build2' make: *** [all] Błąd 2 is this any help? |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar