<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
<title></title>
I was actually trying to compile the gsmlib myself and I am getting the
following error:<br>
<br>
š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<br>
In file included from ../gsmlib/gsm_phonebook.h:16,<br>
šššššššššššššššš from gsm_phonebook.cc:18:<br>
../gsmlib/gsm_map_key.h: In instantiation of
`gsmlib::MapKey&lt;gsmlib::SortedPhonebookBase&gt;':<br>
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:73:šš
instantiated from `std::pair&lt;const gsmlib::PhoneMapKey,
gsmlib::PhonebookEntryBase*&gt;'<br>
../gsmlib/gsm_sorted_phonebook_base.h:115:šš instantiated from here<br>
../gsmlib/gsm_map_key.h:54: error: template-id `operator&lt; &lt;&gt;'
for `bool gsmlib::operator&lt;(const
gsmlib::MapKey&lt;gsmlib::SortedPhonebookBase&gt;&amp;, const
gsmlib::MapKey&lt;gsmlib::SortedPhonebookBase&gt;&amp;)' does not match
any template declaration<br>
../gsmlib/gsm_map_key.h:61: error: template-id `operator==&lt;&gt;' for
`bool gsmlib::operator==(const
gsmlib::MapKey&lt;gsmlib::SortedPhonebookBase&gt;&amp;, const
gsmlib::MapKey&lt;gsmlib::SortedPhonebookBase&gt;&amp;)' does not match
any template declaration<br>
<br>
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. <br>
<br>
Thank you,<br>
Nick<br>
<br>
Kolbjorn Bekkelund wrote:
<blockquote
 cite="mid1105764946.8116.5.camel@messiah.arctic-linux.tnett.no"
 type="cite">
  <pre wrap="">On Fri, 2005-01-14 at 17:16 -0800, Nick wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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@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   &gt;&amp;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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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
  </pre>
</blockquote>
<br>
</body>
</html>