Guest
Got this error while in make step of building SCV.
Any help is appreciated:
Linux debian 2.6.22.18-co-0.7.3 #1 PREEMPT Sat May 24 22:27:30 UTC
2008 i686 GNU/Linux
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
While tring to make SCV
make all-recursive
make[1]: Entering directory `/Home_2/scv-1.0p2-sysc2.2/objdir'
....
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/
backward/backwar
d_warning.h:32:2: warning: #warning This file includes at least one
deprecated o
r antiquated header. Please consider using one of the 32 headers found
in sectio
n 17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for
the <X.h> header for C++ includes, or <iostream> instead of the
deprecated head
er <iostream.h>. To disable this warning use -Wno-deprecated.
.../../../src/scv/_scv_associative_array.h:273: error: specialization
of 'templat
e<class _Key> struct __gnu_cxx::hash' in different namespace
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/
hash_fun.h:7
1: error: from definition of 'template<class _Key> struct
__gnu_cxx::hash'
.../../../src/scv/_scv_associative_array.h:280: error: specialization
of 'templat
e<class _Key> struct __gnu_cxx::hash' in different namespace
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/
hash_fun.h:7
1: error: from definition of 'template<class _Key> struct
__gnu_cxx::hash'
make[3]: *** [scv_constraint.o] Error 1
make[3]: Leaving directory `/Home_2/scv-1.0p2-sysc2.2/objdir/src/scv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Home_2/scv-1.0p2-sysc2.2/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Home_2/scv-1.0p2-sysc2.2/objdir'
make: *** [all] Error 2
Any help is appreciated:
Linux debian 2.6.22.18-co-0.7.3 #1 PREEMPT Sat May 24 22:27:30 UTC
2008 i686 GNU/Linux
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
While tring to make SCV
make all-recursive
make[1]: Entering directory `/Home_2/scv-1.0p2-sysc2.2/objdir'
....
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/
backward/backwar
d_warning.h:32:2: warning: #warning This file includes at least one
deprecated o
r antiquated header. Please consider using one of the 32 headers found
in sectio
n 17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for
the <X.h> header for C++ includes, or <iostream> instead of the
deprecated head
er <iostream.h>. To disable this warning use -Wno-deprecated.
.../../../src/scv/_scv_associative_array.h:273: error: specialization
of 'templat
e<class _Key> struct __gnu_cxx::hash' in different namespace
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/
hash_fun.h:7
1: error: from definition of 'template<class _Key> struct
__gnu_cxx::hash'
.../../../src/scv/_scv_associative_array.h:280: error: specialization
of 'templat
e<class _Key> struct __gnu_cxx::hash' in different namespace
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/
hash_fun.h:7
1: error: from definition of 'template<class _Key> struct
__gnu_cxx::hash'
make[3]: *** [scv_constraint.o] Error 1
make[3]: Leaving directory `/Home_2/scv-1.0p2-sysc2.2/objdir/src/scv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Home_2/scv-1.0p2-sysc2.2/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Home_2/scv-1.0p2-sysc2.2/objdir'
make: *** [all] Error 2