[gnome-bluetooth] Gnome-phone-manager compile failure

alnightingale at copperstream.co.uk alnightingale at copperstream.co.uk
Thu Aug 26 01:57:22 BST 2004


Hi downloaded gnome-phone-manager and tried to compile but it failed as 
indicated below.
Running Gentoo with 2.6.7-r11 kernel, checked dependencies with emerge
and all seem OK.
Any ideas.
cheers

/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../intl   
-I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -g -O2 -c gsm.cc
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/lib/sigc++-1.2/include 
-I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-g -O2 -c gsm.cc -o gsm.o
In file included from gsm.cc:3:
gsm.h:58: error: `vector' was not declared in this scope
gsm.h:58: error: parse error before `>' token
gsm.h:60: error: 'string' is used as a type, but is not defined as a type.
gsm.h:61: error: syntax error before `*' token
gsm.h:97: error: 'vector' is used as a type, but is not defined as a type.
gsm.h:98: error: 'vector' is used as a type, but is not defined as a type.
gsm.cc: In member function `void
   PhoneListener::queue_outgoing_message(std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >)':
gsm.cc:52: error: `sendQueue' undeclared (first use this function)
gsm.cc:52: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
gsm.cc: In member function `bool 
PhoneListener::connect(std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >)':
gsm.cc:137: error: `newMessages' undeclared (first use this function)
gsm.cc:140: error: `cerr' undeclared (first use this function)
gsm.cc:140: error: `endl' undeclared (first use this function)
gsm.cc: In member function `void
   EventHandler::setStoreName(std::basic_string<char, std::char_traits<char>,
   std::allocator<char> >)':
gsm.cc:310: error: `receiveStoreName' undeclared (first use this function)
gsm.cc: At global scope:
gsm.cc:314: error: `vector' was not declared in this scope
gsm.cc:314: error: parse error before `>' token
gsm.cc: In member function `void EventHandler::setMessageQueue(...)':
gsm.cc:316: error: `nm' undeclared (first use this function)
make[2]: *** [gsm.lo] Error 1
make[2]: Leaving directory `/home/albert/phone/gnome-phone-manager-0.4/libgsm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/albert/phone/gnome-phone-manager-0.4'
make: *** [all-recursive-am] Error 2



More information about the gnome-bluetooth mailing list