Re: [sigc] libsigc++ 2.0.3 compile error
- From: Martin Schulze <martin-ml hippogriff de>
- To: Leif Bergerhoff <leif bergerhoff web de>
- Cc: libsigc-list gnome org
- Subject: Re: [sigc] libsigc++ 2.0.3 compile error
- Date: Tue, 27 Jul 2004 10:38:26 +0200
Hi Leif!
I'm afraid, your compiler
gcc-2.95.3
is not supported by libsigc++ 2.x. You need gcc >= 3.2.
This also holds true for gtkmm >= 2.2, by the way.
In the gcc 2.95 compiler series some bugs regarding template
support were never resolved.
Regards,
Martin
Am 18.07.2004 16:03:12 schrieb(en) Leif Bergerhoff:
Hi,
I'm having some problems while compiling libsigc++.
There aren't any problems while configuring, but only a few moments
after
starting make, make stops with the following error:
------------------------
make all-recursive
make[1]: Entering directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3'
Making all in sigc++
make[2]: Entering directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3/sigc++'
make all-am
make[3]: Entering directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3/sigc++'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3/sigc++'
make[2]: Leaving directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3/sigc++'
Making all in tests
make[2]: Entering directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3/tests'
source='test_functor_trait.cc' object='test_functor_trait.o'
libtool=no \
depfile='.deps/test_functor_trait.Po'
tmpdepfile='.deps/test_functor_trait.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -I. -I. -I.. -I.. -I.. -g -O2 -c -o test_functor_trait.o
`test
-f
'test_functor_trait.cc' || echo './'`test_functor_trait.cc
In file included from test_functor_trait.cc:7:
../sigc++/adaptors/bind.h:1049: `deduce_result_type_internal' is not
a
template
../sigc++/adaptors/bind.h:1049: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1049: ANSI C++ forbids declaration `type'
with no
type
../sigc++/adaptors/bind.h:1250: `deduce_result_type_internal' is not
a
template
../sigc++/adaptors/bind.h:1250: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1250: ANSI C++ forbids declaration `type'
with no
type
../sigc++/adaptors/bind.h:1426: `deduce_result_type_internal' is not
a
template
../sigc++/adaptors/bind.h:1426: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1426: ANSI C++ forbids declaration `type'
with no
type
../sigc++/adaptors/bind.h:1578: `deduce_result_type_internal' is not
a
template
../sigc++/adaptors/bind.h:1578: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1578: ANSI C++ forbids declaration `type'
with no
type
../sigc++/adaptors/bind.h:1707: `deduce_result_type_internal' is not
a
template
../sigc++/adaptors/bind.h:1707: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1707: ANSI C++ forbids declaration `type'
with no
type
../sigc++/adaptors/bind.h:1814: `deduce_result_type_internal' is not
a
template
../sigc++/adaptors/bind.h:1814: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1814: ANSI C++ forbids declaration `type'
with no
type
../sigc++/adaptors/bind.h:1903: `deduce_result_type_internal' is not
a
template
../sigc++/adaptors/bind.h:1903: `type' is not a class or namespace
../sigc++/adaptors/bind.h:1903: ANSI C++ forbids declaration `type'
with no
type
make[2]: *** [test_functor_trait.o] Error 1
make[2]: Leaving directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/gtk_and_friends/libsigc++/libsigc++-2.0.3'
make: *** [all] Error 2
------------------------
I tried libsigc++ 2.0.1, too, but the same error occured (I started
configure
like this: ./configure --prefix=/usr --enable-static --enable-
shared).
What went wrong? And what can I do to make make making?
Perhaps some information about my system would be useful:
glibc-2.2.5
gcc-2.95.3
automake-1.8.3
autoconf-2.5.9
Thanks,
Leif Bergerhoff
_______________________________________________
libsigc-list mailing list
libsigc-list gnome org
http://mail.gnome.org/mailman/listinfo/libsigc-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]