Re: Build failure in libsigc++ (building gnome coaster)
- From: Paul Drain <pd cipherfunk org>
- To: Vincent Rubiolo <vincent rubiolo free fr>
- Cc: garnome-list gnome org
- Subject: Re: Build failure in libsigc++ (building gnome coaster)
- Date: Mon, 02 May 2005 16:41:00 +1000
Hi Vincent,
> Did anyone had the following problem while building libsigc++?
While building GARNOME on a box with Red Hat Enterprise Linux 3 (gcc
3.2.x) on it, I encountered the same bug, looks (unfortunately) like a
GCCism.
>From looking through CVS for a fix, it appears Murray has also seen the
bug before, i'd try having a look at the comments in the change:
http://cvs.gnome.org/viewcvs/libsigc%2B%2B2/sigc%2B%
2B/type_traits.h?r1=1.15&r2=1.16
...then file a bug if that doesn't work :)
Paul
[original bug snipped]
> g++ -DHAVE_CONFIG_H -I.. -I.. -I/folk/vrubiolo/InstalledProgs/GARNOME-2.10.0.1/include -I/folk/vrubiolo/In stalledProgs/GARNOME-2.10.0.1/include -L/folk/vrubiolo/InstalledProgs/GARNOME-2.10.0.1/lib -O2 -pipe -MT sl ot_base.lo -MD -MP -MF .deps/slot_base.Tpo -c functors/slot_base.cc -fPIC -DPIC -o .libs/slot_base.o
> if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I.. -I/folk/vrubiolo/InstalledPr ogs/GARNOME-2.10.0.1/include -I/folk/vrubiolo/InstalledProgs/GARNOME-2.10.0.1/include -L/folk/vrubiolo/Ins talledProgs/GARNOME-2.10.0.1/lib -O2 -pipe -MT lambda.lo -MD -MP -MF ".deps/lambda.Tpo" -c -o lambda.lo `te st -f 'adaptors/lambda/lambda.cc' || echo './'`adaptors/lambda/lambda.cc; \
> then mv -f ".deps/lambda.Tpo" ".deps/lambda.Plo"; else rm -f ".deps/lambda.Tpo"; exit 1; fi
> g++ -DHAVE_CONFIG_H -I.. -I.. -I/folk/vrubiolo/InstalledProgs/GARNOME-2.10.0.1/include -I/folk/vrubiolo/In stalledProgs/GARNOME-2.10.0.1/include -L/folk/vrubiolo/InstalledProgs/GARNOME-2.10.0.1/lib -O2 -pipe -MT la mbda.lo -MD -MP -MF .deps/lambda.Tpo -c adaptors/lambda/lambda.cc -fPIC -DPIC -o .libs/lambda.o
> ../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal:: lambda_select1>':
> adaptors/lambda/lambda.cc:7: instantiated from `sigc::lambda<sigc::internal::lambda_select1>'
> adaptors/lambda/lambda.cc:7: instantiated from here
> ../sigc++/type_traits.h:118: invalid use of undefined type `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select1>
> '
> ../sigc++/type_traits.h:96: declaration of `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select1>
> '
> adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select1>':
> adaptors/lambda/lambda.cc:7: instantiated from here
> adaptors/lambda/lambda.cc:7: non-constant `
> sigc::is_base_and_derived<sigc::lambda_base,
> sigc::internal::lambda_select1>::value' cannot be used as template argument
> ../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal:: lambda_select2>':
> adaptors/lambda/lambda.cc:8: instantiated from `sigc::lambda<sigc::internal::lambda_select2>'
> adaptors/lambda/lambda.cc:8: instantiated from here
> ../sigc++/type_traits.h:118: invalid use of undefined type `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select2>
> '
> ../sigc++/type_traits.h:96: declaration of `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select2>
> '
> adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select2>':
> adaptors/lambda/lambda.cc:8: instantiated from here
> adaptors/lambda/lambda.cc:8: non-constant `
> sigc::is_base_and_derived<sigc::lambda_base,
> sigc::internal::lambda_select2>::value' cannot be used as template argument
> ../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal:: lambda_select3>':
> adaptors/lambda/lambda.cc:9: instantiated from `sigc::lambda<sigc::internal::lambda_select3>'
> adaptors/lambda/lambda.cc:9: instantiated from here
> ../sigc++/type_traits.h:118: invalid use of undefined type `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select3>
> '
> ../sigc++/type_traits.h:96: declaration of `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select3>
> '
> adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select3>':
> adaptors/lambda/lambda.cc:9: instantiated from here
> adaptors/lambda/lambda.cc:9: non-constant `
> sigc::is_base_and_derived<sigc::lambda_base,
> sigc::internal::lambda_select3>::value' cannot be used as template argument
> ../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal:: lambda_select4>':
> adaptors/lambda/lambda.cc:10: instantiated from `sigc::lambda<sigc::internal::lambda_select4>'
> adaptors/lambda/lambda.cc:10: instantiated from here
> ../sigc++/type_traits.h:118: invalid use of undefined type `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select4>
> '
> ../sigc++/type_traits.h:96: declaration of `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select4>
> '
> adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select4>':
> adaptors/lambda/lambda.cc:10: instantiated from here
> adaptors/lambda/lambda.cc:10: non-constant `
> sigc::is_base_and_derived<sigc::lambda_base,
> sigc::internal::lambda_select4>::value' cannot be used as template argument
> ../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal:: lambda_select5>':
> adaptors/lambda/lambda.cc:11: instantiated from `sigc::lambda<sigc::internal::lambda_select5>'
> adaptors/lambda/lambda.cc:11: instantiated from here
> ../sigc++/type_traits.h:118: invalid use of undefined type `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select5>
> '
> ../sigc++/type_traits.h:96: declaration of `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select5>
> '
> adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select5>':
> adaptors/lambda/lambda.cc:11: instantiated from here
> adaptors/lambda/lambda.cc:11: non-constant `
> sigc::is_base_and_derived<sigc::lambda_base,
> sigc::internal::lambda_select5>::value' cannot be used as template argument
> ../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal:: lambda_select6>':
> adaptors/lambda/lambda.cc:12: instantiated from `sigc::lambda<sigc::internal::lambda_select6>'
> adaptors/lambda/lambda.cc:12: instantiated from here
> ../sigc++/type_traits.h:118: invalid use of undefined type `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select6>
> '
> ../sigc++/type_traits.h:96: declaration of `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select6>
> '
> adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select6>':
> adaptors/lambda/lambda.cc:12: instantiated from here
> adaptors/lambda/lambda.cc:12: non-constant `
> sigc::is_base_and_derived<sigc::lambda_base,
> sigc::internal::lambda_select6>::value' cannot be used as template argument
> ../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal:: lambda_select7>':
> adaptors/lambda/lambda.cc:13: instantiated from `sigc::lambda<sigc::internal::lambda_select7>'
> adaptors/lambda/lambda.cc:13: instantiated from here
> ../sigc++/type_traits.h:118: invalid use of undefined type `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select7>
> '
> ../sigc++/type_traits.h:96: declaration of `struct
> sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select7>
> '
> adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select7>':
> adaptors/lambda/lambda.cc:13: instantiated from here
> adaptors/lambda/lambda.cc:13: non-constant `
> sigc::is_base_and_derived<sigc::lambda_base,
> sigc::internal::lambda_select7>::value' cannot be used as template argument
> make[8]: *** [lambda.lo] Error 1
> make[8]: Leaving directory `/folk/vrubiolo/Archives/GARNOME/garnome-2.10.0.1/bindings/libsigc++/work/main.d /libsigc++-2.0.10/sigc++'
> make[7]: *** [all] Error 2
> make[7]: Leaving directory `/folk/vrubiolo/Archives/GARNOME/garnome-2.10.0.1/bindings/libsigc++/work/main.d /libsigc++-2.0.10/sigc++'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory `/folk/vrubiolo/Archives/GARNOME/garnome-2.10.0.1/bindings/libsigc++/work/main.d /libsigc++-2.0.10'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory `/folk/vrubiolo/Archives/GARNOME/garnome-2.10.0.1/bindings/libsigc++/work/main.d /libsigc++-2.0.10'
> make[4]: *** [build-work/main.d/libsigc++-2.0.10/Makefile] Error 2
> make[4]: Leaving directory `/folk/vrubiolo/Archives/GARNOME/garnome-2.10.0.1/bindings/libsigc++'
> make[3]: *** [../../bindings/libsigc++/cookies/main.d/install] Error 2
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]