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: > #warning Inside ifdef > > and search for a line like this in make's output: As you suggested, the code is the following: #ifdef LIBMSN_INBOX_URL_ENABLED #warning Inside ifdef void inboxUrl(MSN::hotmailInfo & info); #endif As you can see the warning is there: [ 91%] Building CXX object kopete/protocols/wlm/CMakeFiles/kopete_wlm.dir/wlmaccount.o In file included from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmserver.h:20, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmaccount.h:24, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmaccount.cpp:17: /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmlibmsn.h:463:6: warning: #warning Inside ifdef In file included from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmserver.h:20, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmaccount.h:24, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmprotocol.cpp:18: /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmlibmsn.h:463:6: warning: #warning Inside ifdef In file included from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmserver.h:20, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmaccount.h:24, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/ui/wlmeditaccountwidget.cpp:33: /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmlibmsn.h:463:6: warning: #warning Inside ifdef In file included from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmserver.h:20, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmaccount.h:24, from /home/fraga/svn/kdenetwork/kopete/protocols/wlm/wlmcontact.cpp:36: /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... -- 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