[climm] trying to compile climm trunk
Alexander Krylowsky
wing at tversu.ru
Thu Dec 20 15:48:36 CET 2007
sometimes with messages from my contacts (xmpp) i also recieving different
garbage like this:
handleMessage <message iconset='classic'/>
may be i misunderstanding something, but i can't find which version of
gloox library climm actually use. i'm using Debian lenny and my libgloox version are:
# dpkg -l | grep libgloox
ii libgloox-dev 0.9.6.1-1 C++ jabber/xmpp library devel files
ii libgloox4 0.8.4-1 C++ jabber/xmpp library
ii libgloox7 0.9.6.1-1 C++ jabber/xmpp library
today i decided to compile trunk in hope of this messages disappearing.
of course, i hasn't find which versions of gloox library trunk needed..
after success with ./prepare and ./configure i run make and recieve this:
$ make
Making all in src
make[1]: Entering directory `/usr/src/climm/trunk/src'
depbase=`echo jabber_base.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../include -g -O2 -MT jabber_base.o -MD -MP -MF $depbase.Tpo -c -o jabber_base.o jabber_base.cpp &&\
mv -f $depbase.Tpo $depbase.Po
jabber_base.cpp: In constructor 'MICQXMPP::MICQXMPP(Connection*)':
jabber_base.cpp:104: error: 'class gloox::Client' has no member named 'setAutoPresence'
jabber_base.cpp:105: error: 'class gloox::Client' has no member named 'setInitialPriority'
jabber_base.cpp:109: error: 'class gloox::Client' has no member named 'fileDescriptor'
jabber_base.cpp: In function 'bool DropAttrib(gloox::Tag*, const std::string&)':
jabber_base.cpp:186: error: no matching function for call to 'std::list<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::erase(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
/usr/include/c++/4.1.3/bits/list.tcc:95: note: candidates are: typename std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::erase(std::_List_iterator<_Tp>) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]
/usr/include/c++/4.1.3/bits/stl_list.h:871: note: std::_List_iterator<_Tp> std::list<_Tp, _Alloc>::erase(std::_List_iterator<_Tp>, std::_List_iterator<_Tp>) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]
jabber_base.cpp: In member function 'virtual void MICQXMPP::handleMessage(gloox::Stanza*)':
jabber_base.cpp:615: error: invalid conversion from 'gloox::Tag*' to 'gloox::Stanza*'
jabber_base.cpp: In member function 'virtual void MICQXMPP::handlePresence(gloox::Stanza*)':
jabber_base.cpp:684: error: invalid conversion from 'gloox::Tag*' to 'gloox::Stanza*'
jabber_base.cpp: In member function 'virtual void MICQXMPP::handleSubscription(gloox::Stanza*)':
jabber_base.cpp:710: error: 'class gloox::Stanza' has no member named 'show'
jabber_base.cpp: In member function 'virtual void MICQXMPP::handleLog(gloox::LogLevel, gloox::LogArea, const std::string&)':
jabber_base.cpp:744: error: 'LogAreaClassConnection' is not a member of 'gloox'
jabber_base.cpp: In function 'Event* ConnectionInitXMPPServer(Connection*)':
jabber_base.cpp:952: error: cannot allocate an object of abstract type 'MICQXMPP'
jabber_base.cpp:43: note: because the following virtual functions are pure within 'MICQXMPP':
/usr/include/gloox/messagehandler.h:51: note: virtual void gloox::MessageHandler::handleMessage(gloox::Stanza*, gloox::MessageSession*)
make[1]: *** [jabber_base.o] Ошибка 1
make[1]: Leaving directory `/usr/src/climm/trunk/src'
make: *** [all-recursive] Ошибка 1
looks like i need to upgrade/downgrade my gloox library :-)
so, can anyone of developers say, which versions of gloox library they
are using and can i get rid of garbage messages at all?
thanks in advance
--
wbr, Alexander Krylowsky
mailto: wing at tversu.ru
All mail clients suck. This one just sucks less
-Michael R. Elkins, circa 1995. http://www.mutt.org/
More information about the climm-list
mailing list