Unix Programming - libSigc++ Problem in building gtkmm 2.4 project

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > November 2004 > libSigc++ Problem in building gtkmm 2.4 project





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author libSigc++ Problem in building gtkmm 2.4 project
Shriram

2004-11-04, 2:47 am

HI all,

We are currently having following development platform,

OS- Redhat Linux 7.3
Lang- C++
Library- Gtkmm 2.0,gnomemm2.0,libsigc++1.2
IDE- Anjuta 1.0
Compiler- Gcc-2.96

But now we are going to switch on fedora core2
(gtkmm2.4,gnomemm2.6,libsigc++2.0 etc,gcc-3.3.3)
We have already installed gtkmm 2.4 and we are
Building our modules on the same.

We got one hint to make changes in configure.in
i.e use gtkmm2.4 instead of 2.0 & gnomemm2.6 instead
of gnomemm2.0.

So we make changes and run autogen.sh and then make.

But have following error,

In file included from /usr/include/c++/3.3.3/bits/stl_alloc.h:89,
from /usr/include/c++/3.3.3/list:68,
from /usr/local/include/sigc++-2.0/sigc++/signal.h:7,
from /usr/include/pthread.h:24,
from
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:37,
from
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr.h:98,
from
/usr/include/c++/3.3.3/i386-redhat-linux/bits/c++io.h:37,
from /usr/include/c++/3.3.3/bits/fpos.h:44,
from /usr/include/c++/3.3.3/iosfwd:49,
from /usr/include/c++/3.3.3/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.3/algorithm:66,
from
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:25,
from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:24,
from /usr/include/glibmm-2.4/glibmm.h:27,
from /usr/include/gdkmm-2.4/gdkmm/cursor.h:6,
from CCanvasInfo.h:10,
from CCanvasInfo.cc:7:
/usr/include/c++/3.3.3/bits/stl_threads.h:69: error:
'__gthread_mutex_t' is
used as a type, but is not defined as a type.
In file included from /usr/include/c++/3.3.3/bits/stl_alloc.h:89,
from /usr/include/c++/3.3.3/list:68,
from /usr/local/include/sigc++-2.0/sigc++/signal.h:7,
from /usr/include/pthread.h:24,
from
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr-default.h:37,
from
/usr/include/c++/3.3.3/i386-redhat-linux/bits/gthr.h:98,
from
/usr/include/c++/3.3.3/i386-redhat-linux/bits/c++io.h:37,
from /usr/include/c++/3.3.3/bits/fpos.h:44,
from /usr/include/c++/3.3.3/iosfwd:49,
from /usr/include/c++/3.3.3/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.3/algorithm:66,
from
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:25,
from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:24,
from /usr/include/glibmm-2.4/glibmm.h:27,
from /usr/include/gdkmm-2.4/gdkmm/cursor.h:6,
from CCanvasInfo.h:10,
from CCanvasInfo.cc:7:
/usr/include/c++/3.3.3/bits/stl_threads.h:79:2: #error
__GTHREAD_MUTEX_INIT or __GTHREAD_MUTEX_INIT_FUNCTION should be
defined by gthr.h abstraction layer, report problem to
libstdc++@gcc.gnu.org

(I sent mail to above ID but it bounced back)
Thanks in advance,

Shriram
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com