[sigc] libsigc++ 2.0.11 - compilation error on Linux



Hello,

I am trying to build libsigc++-2.0.11 in Linux, but I am getting the
following error.
The same package is getting compiled perfectly in Cygwin environment in
Windows XP.
Please help.

Thanks.

make  all-am
make[1]: Entering directory `/home/sivakumars/GTK/libsigc++-2.0.11/sigc++'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H   -I..
-I..   -g -O2 -MT signal.lo -MD -MP -MF ".deps/signal.Tpo" -c -o signal.lo
signal.cc; \
then mv -f ".deps/signal.Tpo" ".deps/signal.Plo"; else rm -f
".deps/signal.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT signal.lo -MD -MP -MF
.deps/signal.Tpo -c signal.cc  -fPIC -DPIC -o .libs/signal.o
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT signal.lo -MD -MP -MF
.deps/signal.Tpo -c signal.cc -o signal.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H   -I..
-I..   -g -O2 -MT signal_base.lo -MD -MP -MF ".deps/signal_base.Tpo" -c -o
signal_base.lo signal_base.cc; \
then mv -f ".deps/signal_base.Tpo" ".deps/signal_base.Plo"; else rm -f
".deps/signal_base.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT signal_base.lo -MD -MP -MF
.deps/signal_base.Tpo -c signal_base.cc  -fPIC -DPIC -o .libs/signal_base.o
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT signal_base.lo -MD -MP -MF
.deps/signal_base.Tpo -c signal_base.cc -o signal_base.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H   -I..
-I..   -g -O2 -MT trackable.lo -MD -MP -MF ".deps/trackable.Tpo" -c -o
trackable.lo trackable.cc; \
then mv -f ".deps/trackable.Tpo" ".deps/trackable.Plo"; else rm -f
".deps/trackable.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT trackable.lo -MD -MP -MF
.deps/trackable.Tpo -c trackable.cc  -fPIC -DPIC -o .libs/trackable.o
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT trackable.lo -MD -MP -MF
.deps/trackable.Tpo -c trackable.cc -o trackable.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H   -I..
-I..   -g -O2 -MT connection.lo -MD -MP -MF ".deps/connection.Tpo" -c -o
connection.lo connection.cc; \
then mv -f ".deps/connection.Tpo" ".deps/connection.Plo"; else rm -f
".deps/connection.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT connection.lo -MD -MP -MF
.deps/connection.Tpo -c connection.cc  -fPIC -DPIC -o .libs/connection.o
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT connection.lo -MD -MP -MF
.deps/connection.Tpo -c connection.cc -o connection.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H   -I..
-I..   -g -O2 -MT slot.lo -MD -MP -MF ".deps/slot.Tpo" -c -o slot.lo `test
-f 'functors/slot.cc' || echo './'`functors/slot.cc; \
then mv -f ".deps/slot.Tpo" ".deps/slot.Plo"; else rm -f ".deps/slot.Tpo";
exit 1; fi
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT slot.lo -MD -MP -MF .deps/slot.Tpo
-c functors/slot.cc  -fPIC -DPIC -o .libs/slot.o
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT slot.lo -MD -MP -MF .deps/slot.Tpo
-c functors/slot.cc -o slot.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H   -I..
-I..   -g -O2 -MT slot_base.lo -MD -MP -MF ".deps/slot_base.Tpo" -c -o
slot_base.lo `test -f 'functors/slot_base.cc' || echo
'./'`functors/slot_base.cc; \
then mv -f ".deps/slot_base.Tpo" ".deps/slot_base.Plo"; else rm -f
".deps/slot_base.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT slot_base.lo -MD -MP -MF
.deps/slot_base.Tpo -c functors/slot_base.cc  -fPIC -DPIC -o
.libs/slot_base.o
 g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT slot_base.lo -MD -MP -MF
.deps/slot_base.Tpo -c functors/slot_base.cc -o slot_base.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile 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
make[1]: Leaving directory `/home/sivakumars/GTK/libsigc++-2.0.11/sigc++'
gc::lambda_base, sigc::internal::lambda_select1>':
adaptors/lambda/lambda.cc:8:   instantiated from
`sigc::lambda<sigc::internal::lambda_select1>'
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_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:8:   instantiated from here
adaptors/lambda/lambda.cc:8: 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:9:   instantiated from
`sigc::lambda<sigc::internal::lambda_select2>'
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_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:9:   instantiated from here
adaptors/lambda/lambda.cc:9: 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:10:   instantiated from
`sigc::lambda<sigc::internal::lambda_select3>'
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_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:10:   instantiated from here
adaptors/lambda/lambda.cc:10: 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:11:   instantiated from
`sigc::lambda<sigc::internal::lambda_select4>'
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_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:11:   instantiated from here
adaptors/lambda/lambda.cc:11: 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:12:   instantiated from
`sigc::lambda<sigc::internal::lambda_select5>'
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_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:12:   instantiated from here
adaptors/lambda/lambda.cc:12: 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:13:   instantiated from
`sigc::lambda<sigc::internal::lambda_select6>'
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_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:13:   instantiated from here
adaptors/lambda/lambda.cc:13: 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:14:   instantiated from
`sigc::lambda<sigc::internal::lambda_select7>'
adaptors/lambda/lambda.cc:14:   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:14:   instantiated from here
adaptors/lambda/lambda.cc:14: non-constant `
   sigc::is_base_and_derived<sigc::lambda_base, 
   sigc::internal::lambda_select7>::value' cannot be used as template
argument
make[1]: *** [lambda.lo] Error 1
make: *** [all] Error 2

Thanks and Regards, 
Sivakumar S. 
DISCLAIMER 
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies 
and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the 
individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to 
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, 
please notify the sender immediately by return e-mail and delete it from your computer




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