Q: I am get this error, when I compile jabsh:
g++ -c main.cpp jabber.cpp config.cpp shell.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:33: error: cannot declare variable 'b' to be of abstract type 'JSH'
jabber.h:22: note: because the following virtual functions are pure within
'JSH':
/usr/local/include/gloox/messagehandler.h:51: note: virtual void
gloox::MessageHandler::handleMessage(gloox::Stanza*, gloox::MessageSession*)
jabber.cpp: In member function 'void JSH::JSHConnect()':
jabber.cpp:52: error: 'class gloox::Client' has no member named
'setAutoPresence'
jabber.cpp:53: error: 'class gloox::Client' has no member named
'setInitialPriority'
config.cpp: In constructor 'ConfigReader::ConfigReader()':
config.cpp:52: warning: NULL used in arithmetic
make: *** [all] Error 1
A: You use old jabsh version - 0.1-alpha or 0.1-beta. This jabsh versions do not work with gloox-0.9.9.5 - latest stable version of libgloox. Please, use newest version of jabsh.