[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [ktorrent] [Bug 334164] New: building ktorrent from the repository fails: undefined reference to `bt
From:       George R. Goffe <grgoffe () yahoo ! com>
Date:       2014-05-01 6:40:25
Message-ID: bug-334164-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=334164

            Bug ID: 334164
           Summary: building ktorrent from the repository fails: undefined
                    reference to `bt::qHash(bt::SHA1Hash const&)'
    Classification: Unclassified
           Product: ktorrent
           Version: 4.3.1
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: joris.guisson@gmail.com
          Reporter: grgoffe@yahoo.com

I'm building ktorrent from the master on my Fedora 19 x86_64 system. Here's
what git status says:

git status
On branch master
Your branch is up-to-date with 'origin/master'.

I'm seeing this error message:
[ 12%] Building CXX object libktcore/CMakeFiles/ktcore.dir/settings.o
Linking CXX shared library ../lib/libktcore.so
CMakeFiles/ktcore.dir/torrent/magnetmanager.o: In function `QHash<bt::SHA1Hash,
QHashDummyValue>::findNode(bt::SHA1Hash const&, unsigned int*) const':
/usr/include/QtCore/qhash.h:882: undefined reference to `bt::qHash(bt::SHA1Hash
const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libktcore.so.14.0.0] Error 1
make[1]: *** [libktcore/CMakeFiles/ktcore.dir/all] Error 2
make: *** [all] Error 2

Is this a bug or a George FU? Can you let me know what I'm doing wrong and what
the correct method is please.

Thanks,

George...



Reproducible: Always

Steps to Reproduce:
1.attempt to build ktorrent 
2.
3.
Actual Results:  
[ 12%] Building CXX object libktcore/CMakeFiles/ktcore.dir/settings.o
Linking CXX shared library ../lib/libktcore.so
CMakeFiles/ktcore.dir/torrent/magnetmanager.o: In function `QHash<bt::SHA1Hash,
QHashDummyValue>::findNode(bt::SHA1Hash const&, unsigned int*) const':
/usr/include/QtCore/qhash.h:882: undefined reference to `bt::qHash(bt::SHA1Hash
const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libktcore.so.14.0.0] Error 1
make[1]: *** [libktcore/CMakeFiles/ktcore.dir/all] Error 2
make: *** [all] Error 2


Expected Results:  
Clean build.

I have a full build log available if needed.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic