Hello, It sounds like you did not properly delete your libmsn build directory, or you are disabling LIBMSN_INBOX_URL_ENABLED. Make sure you are not calling CMake with -DLIBMSN_INBOX_URL_ENABLED:BOOL=FALSE.
On Mon, Nov 23, 2009 at 4:54 PM, Dâniel Fraga <frag...@gmail.com> wrote: > On Mon, 23 Nov 2009 09:40:24 -0200 > Tiago Salem Herrmann <sa...@mandriva.com> wrote: > >> Hi, >> >> the libmsn soname has changed, and you are probably linking against the >> old libmsn, try to clean your cmake cache and compile kopete again. > > Ok Tiago. I deleted the CMakeCache.txt file and it still > doesn't compile (with the same error). The I removed libmsn, > reinstalled from scratch and got the same error... Then I cleaned all > the build directory and it gave me the same error. > > Here are the details of my installation: > > fr...@tux ~/src$ ls /usr/local/include/msn -l > total 144 > -rw-r--r-- 1 root root 1301 Nov 16 2008 authdata.h > -rw-r--r-- 1 root root 4361 Dec 18 2008 buddy.h > -rw-r--r-- 1 root root 90 Nov 23 13:34 config.h > -rw-r--r-- 1 root root 4875 Dec 18 2008 connection.h > -rw-r--r-- 1 root root 2943 Dec 18 2008 errorcodes.h > -rw-r--r-- 1 root root 16755 Jul 27 21:24 externals.h > -rw-r--r-- 1 root root 558 Jan 6 2009 libmsn_export.h > -rw-r--r-- 1 root root 6456 Jul 22 10:46 message.h > -rw-r--r-- 1 root root 1252 Nov 16 2008 msn.h > -rw-r--r-- 1 root root 2057 Nov 16 2008 msnobject.h > -rw-r--r-- 1 root root 21107 Jul 27 21:24 notificationserver.h > -rw-r--r-- 1 root root 11893 Jun 23 20:35 p2p.h > -rw-r--r-- 1 root root 2729 Dec 17 2008 passport.h > -rw-r--r-- 1 root root 7410 Jan 17 2009 soap.h > -rw-r--r-- 1 root root 1893 Nov 16 2008 sstream_fix.h > -rw-r--r-- 1 root root 9791 Dec 23 2008 switchboardserver.h > -rw-r--r-- 1 root root 9266 Jul 27 21:24 util.h > > fr...@tux ~/src$ ls /usr/local/lib/libmsn.so* -lt > lrwxrwxrwx 1 root root 13 Nov 23 13:36 /usr/local/lib/libmsn.so -> > libmsn.so.0.2 > lrwxrwxrwx 1 root root 15 Nov 23 13:36 /usr/local/lib/libmsn.so.0.2 -> > libmsn.so.0.2.0 > -rw-r--r-- 1 root root 1568068 Nov 23 13:35 /usr/local/lib/libmsn.so.0.2.0 > > fr...@tux ~/svn/kdenetwork/b$ pkg-config --modversion libmsn > 0.4.0 > > And the error again for your convenience (remember that I > absolutely cleaned the build directory and tried to compile Kopete from > scratch): > > [ 21%] Building CXX object > kopete/protocols/wlm/CMakeFiles/kopete_wlm.dir/wlmtransfermanager.o > cd /home/fraga/svn/kdenetwork/b/kopete/protocols/wlm && /usr/local/bin/c++ > -DMAKE_KOPETE_WLM_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE > -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS > -DHAVE_MEDIASTREAMER -DHAVE_GIFLIB -O3 -march=native -pipe -floop-interchange > -floop-strip-mine -floop-block -ftree-loop-linear -ftree-loop-distribution > -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align > -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions > -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual > -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 > -g -DNDEBUG -DQT_NO_DEBUG -fPIC > -I/home/fraga/svn/kdenetwork/b/kopete/protocols/wlm > -I/home/fraga/svn/kdenetwork/kopete/protocols/wlm > -I/home/fraga/svn/kdenetwork -I/home/fraga/svn/kdenetwork/b > -I/home/fraga/svn/kdenetwork/b/kopete > -I/home/fraga/svn/kdenetwork/kopete/libkopete > -I/home/fraga/svn/kdenetwork/b/kopete/libkopete > -I/home/fraga/svn/kdenetwork/kopete/libkopete/ui > -I/home/fraga/svn/kdenetwork/b/kopete/libkopete/ui > -I/home/fraga/svn/kdenetwork/kopete/libkopete/private > -I/home/fraga/svn/kdenetwork/kopete/libkopete/contactlist > -I/home/fraga/svn/kdenetwork/kopete/libkopete/tasks > -I/home/fraga/svn/kdenetwork/kopete/protocols/wlm/ui > -I/usr/local/kde4/include -I/usr/local/kde4/include/KDE > -I/usr/local/Trolltech/Qt-4.6.0/include/QtScriptTools > -I/usr/local/Trolltech/Qt-4.6.0/include/phonon > -I/usr/local/Trolltech/Qt-4.6.0/include/QtXmlPatterns > -I/usr/local/Trolltech/Qt-4.6.0/include/QtWebKit > -I/usr/local/Trolltech/Qt-4.6.0/include/QtHelp > -I/usr/local/Trolltech/Qt-4.6.0/include/QtAssistant > -I/usr/local/Trolltech/Qt-4.6.0/include/QtDBus > -I/usr/local/Trolltech/Qt-4.6.0/include/QtTest > -I/usr/local/Trolltech/Qt-4.6.0/include/QtUiTools > -I/usr/local/Trolltech/Qt-4.6.0/include/QtScript > -I/usr/local/Trolltech/Qt-4.6.0/include/QtSvg > -I/usr/local/Trolltech/Qt-4.6.0/include/QtXml > -I/usr/local/Trolltech/Qt-4.6.0/include/QtSql > -I/usr/local/Trolltech/Qt-4.6.0/include/QtOpenGL > -I/usr/local/Trolltech/Qt-4.6.0/include/QtNetwork > -I/usr/local/Trolltech/Qt-4.6.0/include/QtDesigner > -I/usr/local/Trolltech/Qt-4.6.0/include/Qt3Support > -I/usr/local/Trolltech/Qt-4.6.0/include/QtGui > -I/usr/local/Trolltech/Qt-4.6.0/include/QtCore > -I/usr/local/Trolltech/Qt-4.6.0/include/Qt > -I/usr/local/Trolltech/Qt-4.6.0/mkspecs/default > -I/usr/local/Trolltech/Qt-4.6.0/include -I/usr/local/include -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -o CMakeFiles/kopete_wlm.dir/wlmtransfermanager.o -c > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmtransfermanager.cpp > In file included from > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmtransfermanager.cpp:18: > /home/fraga/svn/kdenetwork/kopete/libkopete/kopetecontact.h:237: warning: > ‘virtual QList<KAction*>* > Kopete::Contact::customContextMenuActions(Kopete::ChatSession*)’ was hidden > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmcontact.h:70: warning: > by ‘virtual QList<KAction*>* WlmContact::customContextMenuActions()’ > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmtransfermanager.cpp:83: > warning: unused parameter ‘conn’ > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmtransfermanager.cpp:164: > warning: unused parameter ‘conn’ > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmtransfermanager.cpp:242: > warning: unused parameter ‘conn’ > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmtransfermanager.cpp:242: > warning: unused parameter ‘error’ > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmtransfermanager.cpp:269: > warning: unused parameter ‘conn’ > Linking CXX shared module ../../../lib/kopete_wlm.so > cd /home/fraga/svn/kdenetwork/b/kopete/protocols/wlm && /usr/local/bin/cmake > -E cmake_link_script CMakeFiles/kopete_wlm.dir/link.txt --verbose=1 > /usr/local/bin/c++ -fPIC -O3 -march=native -pipe -floop-interchange > -floop-strip-mine -floop-block -ftree-loop-linear -ftree-loop-distribution > -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align > -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions > -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual > -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 > -g -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings > -Wl,--no-undefined -lc -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB/lib > -shared -Wl,-soname,kopete_wlm.so -o ../../../lib/kopete_wlm.so > CMakeFiles/kopete_wlm.dir/kopete_wlm_automoc.o > CMakeFiles/kopete_wlm.dir/ui/wlmaddcontactpage.o > CMakeFiles/kopete_wlm.dir/ui/wlmeditaccountwidget.o > CMakeFiles/kopete_wlm.dir/wlmprotocol.o > CMakeFiles/kopete_wlm.dir/wlmcontact.o CMakeFiles/kopete_wlm.dir/wlmaccount.o > CMakeFiles/kopete_wlm.dir/wlmlibmsn.o CMakeFiles/kopete_wlm.dir/wlmsocket.o > CMakeFiles/kopete_wlm.dir/wlmserver.o > CMakeFiles/kopete_wlm.dir/wlmchatmanager.o > CMakeFiles/kopete_wlm.dir/wlmchatsession.o > CMakeFiles/kopete_wlm.dir/wlmchatsessioninkarea.o > CMakeFiles/kopete_wlm.dir/wlmchatsessioninkaction.o > CMakeFiles/kopete_wlm.dir/wlmtransfermanager.o > -L/home/fraga/svn/kdenetwork/b/lib -L/usr/local/kde4/lib > -L/usr/local/Trolltech/Qt-4.6.0/lib -L/usr/local/lib > /usr/local/kde4/lib/libkdeui.so.5.4.0 /usr/local/kde4/lib/libkutils.so.4.4.0 > /usr/local/kde4/lib/libkio.so.5.4.0 /usr/local/kde4/lib/libkmime.so.4.4.0 > /usr/local/Trolltech/Qt-4.6.0/lib/libQtXml.so > /usr/local/Trolltech/Qt-4.6.0/lib/libQtNetwork.so > ../../../lib/libkopete.so.4.4.0 /usr/local/lib/libmsn.so -lmediastreamer > -lortp -lpthread -lssl -lcrypto /usr/local/lib/libortp.so > /usr/local/lib/libgif.so /usr/local/kde4/lib/libkutils.so.4.4.0 > /usr/local/kde4/lib/libkio.so.5.4.0 /usr/local/kde4/lib/libkdeui.so.5.4.0 > /usr/local/Trolltech/Qt-4.6.0/lib/libQtSvg.so > /usr/local/Trolltech/Qt-4.6.0/lib/libQtXml.so > /usr/local/Trolltech/Qt-4.6.0/lib/libQtNetwork.so > /usr/local/Trolltech/Qt-4.6.0/lib/libQtGui.so > /usr/local/kde4/lib/libkdecore.so.5.4.0 > /usr/local/Trolltech/Qt-4.6.0/lib/libQtDBus.so > /usr/local/Trolltech/Qt-4.6.0/lib/libQtCore.so -lpthread > -Wl,-rpath,/home/fraga/svn/kdenetwork/b/lib:/usr/local/kde4/lib:/usr/local/Trolltech/Qt-4.6.0/lib:/usr/local/lib > -Wl,-rpath-link,/home/fraga/svn/kdenetwork/b/lib:/usr/local/kde4/lib > CMakeFiles/kopete_wlm.dir/wlmlibmsn.o: In function > `Callbacks::gotInboxUrl(MSN::NotificationServerConnection*, > MSN::hotmailInfo)': > /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmlibmsn.cpp:581: undefined > reference to `Callbacks::inboxUrl(MSN::hotmailInfo&)' > collect2: ld returned 1 exit status > make[2]: *** [lib/kopete_wlm.so] Error 1 > make[2]: Leaving directory `/usr/local/src/svn/kdenetwork/b' > make[1]: *** [kopete/protocols/wlm/CMakeFiles/kopete_wlm.dir/all] Error 2 > make[1]: Leaving directory `/usr/local/src/svn/kdenetwork/b' > make: *** [all] Error 2 > > *** > > This 581 line is absolutely essential? Because I can comment it > out and it compiles fine. And I don't even use a hotmail e-mail (I use > the gmail in MSN). Anyway, of course it would be better to find the > real reason for that. Very strange. > > Thanks again. > > -- > Linux 2.6.31: Man-Eating Seals of Antiquity > > > _______________________________________________ > kopete-devel mailing list > kopete-devel@kde.org > https://mail.kde.org/mailman/listinfo/kopete-devel > -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel