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

List:       kde-devel
Subject:    Problem compiling kdesupport
From:       Shantanu Tushar Jha <jhahoneyk () gmail ! com>
Date:       2009-03-24 17:27:24
Message-ID: ec556b640903241015n6d6bb770odc0c8b9c041fa8bd () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I am trying to build kdesupport, and getting the following error-

[ 24%] Built target testrunner-streams
[ 24%] Building CXX object
strigi/src/searchclient/filterwidget/CMakeFiles/filterwidgettest.dir/filterwidgettest.cpp.o
Linking CXX executable strigiasynctest
Linking CXX executable filterwidgettest
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to
`QString::indexOf(QLatin1String const&, int, Qt::CaseSensitivity) const'
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to
`QByteArray::replace(int, int, char const*)'
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to
`QString::replace(QLatin1String const&, QLatin1String const&,
Qt::CaseSensitivity)'
collect2: ld returned 1 exit status
make[2]: *** [strigi/src/searchclient/qtdbus/strigiasynctest] Error 1
make[1]: ***
[strigi/src/searchclient/qtdbus/CMakeFiles/strigiasynctest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable strigiqtdbustest
[ 24%] Built target filterwidgettest
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to
`QString::replace(QLatin1String const&, QLatin1String const&,
Qt::CaseSensitivity)'
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to
`QByteArray::replace(int, int, char const*)'
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to
`QString::indexOf(QLatin1String const&, int, Qt::CaseSensitivity) const'
collect2: ld returned 1 exit status
make[2]: *** [strigi/src/searchclient/qtdbus/strigiqtdbustest] Error 1
make[1]: ***
[strigi/src/searchclient/qtdbus/CMakeFiles/strigiqtdbustest.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/kde-devel/kde/build/kdesupport'

Before this, latest svn qt-copy successfully builds and gets installed. By
the way, I'm trying to build KDE on my friend's computer using the sources i
checked out (copied to his system) and following the procedure on techbase.
I have a working trunk build of KDE on my computer.
I tried doing make clean and make -B on both qt-copy and kdesupport, but
still the same error. I tried to remove
/home/kde-devel/qt-copy/lib/libQtXml.so and recompile qt-copy, but still the
error persists. Any ideas what am I doing wrong ?

Thanks :)

-- 
Shantanu Tushar    (GMT +0530)
http://www.shantanutushar.com

[Attachment #5 (text/html)]

I am trying to build kdesupport, and getting the following error-<br><br>[ 24%] Built \
target testrunner-streams<br>[ 24%] Building CXX object \
strigi/src/searchclient/filterwidget/CMakeFiles/filterwidgettest.dir/filterwidgettest.cpp.o<br>
 Linking CXX executable strigiasynctest<br>Linking CXX executable \
filterwidgettest<br>/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to \
                `QString::indexOf(QLatin1String const&amp;, int, Qt::CaseSensitivity) \
                const&#39;<br>
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to \
`QByteArray::replace(int, int, char \
const*)&#39;<br>/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to \
`QString::replace(QLatin1String const&amp;, QLatin1String const&amp;, \
                Qt::CaseSensitivity)&#39;<br>
collect2: ld returned 1 exit status<br>make[2]: *** \
[strigi/src/searchclient/qtdbus/strigiasynctest] Error 1<br>make[1]: *** \
[strigi/src/searchclient/qtdbus/CMakeFiles/strigiasynctest.dir/all] Error \
2<br>make[1]: *** Waiting for unfinished jobs....<br> Linking CXX executable \
strigiqtdbustest<br>[ 24%] Built target \
filterwidgettest<br>/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to \
`QString::replace(QLatin1String const&amp;, QLatin1String const&amp;, \
                Qt::CaseSensitivity)&#39;<br>
/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to \
`QByteArray::replace(int, int, char \
const*)&#39;<br>/home/kde-devel/qt-copy/lib/libQtXml.so.4: undefined reference to \
                `QString::indexOf(QLatin1String const&amp;, int, Qt::CaseSensitivity) \
                const&#39;<br>
collect2: ld returned 1 exit status<br>make[2]: *** \
[strigi/src/searchclient/qtdbus/strigiqtdbustest] Error 1<br>make[1]: *** \
[strigi/src/searchclient/qtdbus/CMakeFiles/strigiqtdbustest.dir/all] Error 2<br>make: \
*** [all] Error 2<br> makeobj[0]: Leaving directory \
`/home/kde-devel/kde/build/kdesupport&#39;<br><br>Before this, latest svn qt-copy \
successfully builds and gets installed. By the way, I&#39;m trying to build KDE on my \
friend&#39;s computer using the sources i checked out (copied to his system) and \
following the procedure on techbase. I have a working trunk build of KDE on my \
computer.<br> I tried doing make clean and make -B on both qt-copy and kdesupport, \
but still the same error. I tried to remove /home/kde-devel/qt-copy/lib/libQtXml.so \
and recompile qt-copy, but still the error persists. Any ideas what am I doing wrong \
?<br> <br>Thanks :)<br clear="all"><br>-- <br>Shantanu Tushar    (GMT +0530)<br><a \
href="http://www.shantanutushar.com">http://www.shantanutushar.com</a><br>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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