Looks like you have hit a current defect. c.f. <a href="http://lists.kde.org/?l=kdelibs-bugs&m=123332291824866&w=2">http://lists.kde.org/?l=kdelibs-bugs&m=123332291824866&w=2</a><br><br>A quick Google didn't turn up any qHash method that takes a QUrl.<br>
<br>V<br><br><div class="gmail_quote">On Tue, Jul 28, 2009 at 2:18 AM, Altair Linux <span dir="ltr"><<a href="mailto:altairlinux@gmail.com">altairlinux@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello people,<br><br>I am compiling KDE-4.2.4 from stable source code in my Debian Lenny, and in one step of "make", I have this:<br><br>[ 97%] Built target nepomuk-rcgen<br>Linking CXX shared library ../../lib/libnepomuk.so<br>

CMakeFiles/nepomuk.dir/resourcedata.o: In function `QHash<QUrl, Nepomuk::Variant>::findNode(QUrl const&, un<br>signed int*) const':<br>resourcedata.cpp:(.text._ZNK5QHashI4QUrlN7Nepomuk7VariantEE8findNodeERKS0_Pj[QHash<QUrl, Nepomuk::Variant>:<br>

:findNode(QUrl const&, unsigned int*) const]+0x1b): undefined reference to `qHash(QUrl const&)'<br>CMakeFiles/nepomuk.dir/ontology/ontology.o: In function `Nepomuk::Ontology::findPropertyByUri(QUrl const&)<br>

const':<br>ontology.cpp:(.text+0xd3): undefined reference to `qHash(QUrl const&)'<br>CMakeFiles/nepomuk.dir/ontology/ontology.o: In function `Nepomuk::Ontology::findClassByUri(QUrl const&) con<br>st':<br>

ontology.cpp:(.text+0x183): undefined reference to `qHash(QUrl const&)'<br>CMakeFiles/nepomuk.dir/ontology/class.o: In function `Nepomuk::Class::findPropertyByUri(QUrl const&) const'<br>:<br>class.cpp:(.text+0x2b4): undefined reference to `qHash(QUrl const&)'<br>

CMakeFiles/nepomuk.dir/ontology/ontologymanager.o: In function `QHash<QUrl, Nepomuk::Ontology>::findNode(QU<br>rl const&, unsigned int*) const':<br>ontologymanager.cpp:(.text._ZNK5QHashI4QUrlN7Nepomuk8OntologyEE8findNodeERKS0_Pj[QHash<QUrl, Nepomuk::Ontol<br>

ogy>::findNode(QUrl const&, unsigned int*) const]+0x1b): undefined reference to `qHash(QUrl const&)'<br>CMakeFiles/nepomuk.dir/ontology/ontologymanager.o:ontologymanager.cpp:(.text._ZNK5QHashI4QUrlN7Nepomuk5Clas<br>

sEE8findNodeERKS0_Pj[QHash<QUrl, Nepomuk::Class>::findNode(QUrl const&, unsigned int*) const]+0x1b): more u<br>ndefined references to `qHash(QUrl const&)' follow<br>collect2: ld returned 1 exit status<br>

make[2]: *** [lib/libnepomuk.so.4.2.0] Error 1<br>make[1]: *** [nepomuk/core/CMakeFiles/nepomuk.dir/all] Error 2<br><br>I search the file "libnepomuk" in <a href="http://rpmfind.net" target="_blank">rpmfind.net</a> and I see is part of the KDE core.<br>

<br>I go to the nepomuk directory, and I make:<br><br>Hades:/usr/src/KDE-4.2.4/kdelibs/kdelibs-4.2.4/build/nepomuk# make -f Makefile<br>[  0%] Built target nepomuk-rcgen<br>[ 35%] Built target kdecore<br>[ 94%] Built target kdeui<br>

Linking CXX shared library ../../lib/libnepomuk.so<br>CMakeFiles/nepomuk.dir/resourcedata.o: In function `QHash<QUrl, Nepomuk::Variant>::findNode(QUrl const&, unsigned int*) const':<br>resourcedata.cpp:(.text._ZNK5QHashI4QUrlN7Nepomuk7VariantEE8findNodeERKS0_Pj[QHash<QUrl, Nepomuk::Variant>::findNode(QUrl const&, unsigned int*) const]+0x1b): undefined reference to `qHash(QUrl const&)'<br>

CMakeFiles/nepomuk.dir/ontology/ontology.o: In function `Nepomuk::Ontology::findPropertyByUri(QUrl const&) const':<br>ontology.cpp:(.text+0xd3): undefined reference to `qHash(QUrl const&)'<br>CMakeFiles/nepomuk.dir/ontology/ontology.o: In function `Nepomuk::Ontology::findClassByUri(QUrl const&) const':<br>

ontology.cpp:(.text+0x183): undefined reference to `qHash(QUrl const&)'<br>CMakeFiles/nepomuk.dir/ontology/class.o: In function `Nepomuk::Class::findPropertyByUri(QUrl const&) const':<br>class.cpp:(.text+0x2b4): undefined reference to `qHash(QUrl const&)'<br>

CMakeFiles/nepomuk.dir/ontology/ontologymanager.o: In function `QHash<QUrl, Nepomuk::Ontology>::findNode(QUrl const&, unsigned int*) const':<br>ontologymanager.cpp:(.text._ZNK5QHashI4QUrlN7Nepomuk8OntologyEE8findNodeERKS0_Pj[QHash<QUrl, Nepomuk::Ontology>::findNode(QUrl const&, unsigned int*) const]+0x1b): undefined reference to `qHash(QUrl const&)'<br>

CMakeFiles/nepomuk.dir/ontology/ontologymanager.o:ontologymanager.cpp:(.text._ZNK5QHashI4QUrlN7Nepomuk5ClassEE8findNodeERKS0_Pj[QHash<QUrl, Nepomuk::Class>::findNode(QUrl const&, unsigned int*) const]+0x1b): more undefined references to `qHash(QUrl const&)' follow<br>

collect2: ld returned 1 exit status<br>make[2]: *** [lib/libnepomuk.so.4.2.0] Error 1<br>make[1]: *** [nepomuk/core/CMakeFiles/nepomuk.dir/all] Error 2<br><br>I try:<br><br># find /usr/src/KDE-4.2.4/kdelibs/kdelibs-4.2.4 -name libnepomuk*.*<br>

<br>File not found<br><br>My last try, by the moment, search any lib with apt-get, with this name. Not found. In this moment, I am reading some threads in Google about libnepomuk, but by the moment not solve the problem.<br>

<br>Any idea?<br>
<br>___________________________________________________<br>
This message is from the kde-linux mailing list.<br>
Account management:  <a href="https://mail.kde.org/mailman/listinfo/kde-linux" target="_blank">https://mail.kde.org/mailman/listinfo/kde-linux</a>.<br>
Archives: <a href="http://lists.kde.org/" target="_blank">http://lists.kde.org/</a>.<br>
More info: <a href="http://www.kde.org/faq.html" target="_blank">http://www.kde.org/faq.html</a>.<br></blockquote></div><br>