On 26/11/2009, at 00:54, Aleix Pol wrote: > You can easily check that using ldd. > It's useful to check the compilation line using "make VERBOSE=1"
Well, not really true, depending on what -L<dir> flags you are using, the library being used to link the plugin might be different from the one ldd knows about. Cheers Boiko > On Wed, Nov 25, 2009 at 2:56 PM, Gustavo Boiko <gustavo.bo...@kdemail.net> > wrote: > > On 24/11/2009, at 21:02, Lamarque Vieira Souza wrote: > > > Em Terça-feira 24 Novembro 2009, Dâniel Fraga escreveu: > >> On Tue, 24 Nov 2009 16:38:11 -0200 > >> > >> Lamarque Vieira Souza <lamar...@gmail.com> wrote: > >>> This is weird, if the #ifdef is resolving to false the error message > >>> should be different (like ‘inboxUrl’ was not declared in this scope). You > >>> can confirm if the #ifdef is resolving to true by adding this line inside > >>> the #ifdef: > >> > >> No. The #ifdef is resolving to true, but the reference > >> > >> remains undefined... See below: > > > >> /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmlibmsn.h:463:6: > >> warning: #warning Inside ifdef > >> (...) > >> > >> Everything is ok until: > >> > >> Linking CXX shared module ../../../lib/kopete_wlm.so > >> 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[1]: *** [kopete/protocols/wlm/CMakeFiles/kopete_wlm.dir/all] Error 2 > >> make: *** [all] Error 2 > >> > >> Really weird problem... > > > > I agree, it seems more and more like a bug in cpp or g++. One more > > test, try > > surrounding the newEmailNotification signal with the same #ifdef in > > wlmlibmsn.h to see if starts to have the same problem. > > Very unlikely it is. > > Dâniel, could you please rm -f /usr/local/lib/libmsn.so* and try building wlm > again? > I'm suspecting it is linking to another libmsn somewhere else. > > Cheers > > Boiko > _______________________________________________ > kopete-devel mailing list > kopete-devel@kde.org > https://mail.kde.org/mailman/listinfo/kopete-devel > > _______________________________________________ > kopete-devel mailing list > kopete-devel@kde.org > https://mail.kde.org/mailman/listinfo/kopete-devel
_______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel