[sigc] libsig++ compilation error.



Hello,

I 've tried to compile the 2.0.11 and CVS versions of libsig++ and i obtain always the following compilation error message.

gcc --version :
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)

System :
RedHat entreprise 3.

Any idea ?

Thanks a lot,

Cyril.

######################################################################################

make  all-recursive
make[1]: Entre dans le répertoire `/home/cyril/outils/GTK/libsigc++2'
Making all in sigc++
make[2]: Entre dans le répertoire `/home/cyril/outils/GTK/libsigc++2/sigc++'
make  all-am
make[3]: Entre dans le répertoire `/home/cyril/outils/GTK/libsigc++2/sigc++'
if /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT lambda.lo -MD -MP -MF ".deps/lambda.Tpo" -c -o lambda.lo `test -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.. -g -O2 -MT lambda.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[3]: *** [lambda.lo] Erreur 1
make[3]: Quitte le répertoire `/home/cyril/outils/GTK/libsigc++2/sigc++'
make[2]: *** [all] Erreur 2
make[2]: Quitte le répertoire `/home/cyril/outils/GTK/libsigc++2/sigc++'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/cyril/outils/GTK/libsigc++2'
make: *** [all] Erreur 2





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]