[gnome-bluetooth] Building gnome-phone-manager for fedora

Nick nick at galaktika.ru
Fri Jan 14 22:11:47 PST 2005


I was actually trying to compile the gsmlib myself and I am getting the 
following error:

 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -D_REENTRANT -O2 -c 
gsm_phonebook.cc -MT gsm_phonebook.lo -MD -MP -MF 
.deps/gsm_phonebook.TPlo  -fPIC -o .libs/gsm_phonebook.o
In file included from ../gsmlib/gsm_phonebook.h:16,
                 from gsm_phonebook.cc:18:
../gsmlib/gsm_map_key.h: In instantiation of 
`gsmlib::MapKey<gsmlib::SortedPhonebookBase>':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:73:   
instantiated from `std::pair<const gsmlib::PhoneMapKey, 
gsmlib::PhonebookEntryBase*>'
../gsmlib/gsm_sorted_phonebook_base.h:115:   instantiated from here
../gsmlib/gsm_map_key.h:54: error: template-id `operator< <>' for `bool 
gsmlib::operator<(const gsmlib::MapKey<gsmlib::SortedPhonebookBase>&, 
const gsmlib::MapKey<gsmlib::SortedPhonebookBase>&)' does not match any 
template declaration
../gsmlib/gsm_map_key.h:61: error: template-id `operator==<>' for `bool 
gsmlib::operator==(const gsmlib::MapKey<gsmlib::SortedPhonebookBase>&, 
const gsmlib::MapKey<gsmlib::SortedPhonebookBase>&)' does not match any 
template declaration

I got it on the latest released source code, the latest snapshot and the 
archive you sent to me (which seems to have the same filename as the 
recent snapshot, are you sure it was patched?). I found some places 
mentioning gcc33-fix.patch and gcc34.patch for the gsmlib but I cannot 
find the patch itself.

Thank you,
Nick

Kolbjorn Bekkelund wrote:

>On Fri, 2005-01-14 at 17:16 -0800, Nick wrote:
>  
>
>>Hello, 
>>
>>I am trying to build the phone manager v 0.4 on FC3. I got to the
>>point where configure script fails to recognize the gsmlib library. I
>>have the library installed:
>>[nick at NS gnome-phone-manager-0.4]$ rpm -qa | grep gsm
>>gsm-devel-1.0.10-5.1.fc3.rf
>>gsm-1.0.10-5.1.fc3.rf
>>
>>The script actually complains about gsmme library that is not a part
>>of these packages. Could somebody please help me to find it? 
>>---------
>>Here is what in the config.log file:
>>configure:21790: checking for main in -lgsmme
>>configure:21814: g++ -o conftest -g -O2   conftest.cc -lgsmme   >&5
>>/usr/bin/ld: cannot find -lgsmme
>>collect2: ld returned 1 exit status
>>configure:21820: $? = 1
>>configure: failed program was:
>>| /* confdefs.h.  */
>>----------
>>
>>Thank you,
>>Nick
>>    
>>
>
>I also got this error on FC3. What I did then was compiling the gsmlib
>myself, using a patch I found out there. Attached is the patched versin
>of gsmlib. It should work! I does for me.
>
>Regards
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnomehack.com/pipermail/gnome-bluetooth/attachments/20050114/410dd141/attachment.htm


More information about the gnome-bluetooth mailing list