Hello, We have a need to keep/maintain multiple versions of the gcc suite of compilers on our RedHat 9 network. Previously when our network was made up of RedHat 7.3 desktops we were successful in building all of the necessary gcc versions. I have tried to build different versions of the gcc suite on RedHat 9 without much luck. gcc-2.95.3 -- successful gcc-3.0.4 -- unsuccessful gcc-3.1 -- unsuccessful gcc-3.2 -- unsuccessful The only one I have been successful building on RedHat 9 is 2.95.3. The others fail to make. I have attached the error messages in hopes of someone seeing something. Thanks in advance. -Richard -- Richard N. Cleary Sandia National Laboratories Dept. 9324 Infrastructure Computing Systems Email: <rnclear@xxxxxxxxxx> Phone: 505.845.7836
In file included from locale.cc:557: /var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h: In constructor `std::ctype<char>::ctype(const short unsigned int*, bool, unsigned int)': /var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:44: `__ctype_toupper' undeclared (first use this function) /var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:44: (Each undeclared identifier is reported only once for each function it appears in.) /var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:44: `__ctype_tolower' undeclared (first use this function) /var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45: `__ctype_b' undeclared (first use this function) make[3]: *** [locale.lo] Error 1 make[3]: Leaving directory `/var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/var/scratch2/gcc-3.0.4/i686-pc-linux-gnu/libstdc++-v3' make: *** [all-target-libstdc++-v3] Error 2
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long int]': c++locale.cc:51: `__strtol_l' undeclared (first use this function) c++locale.cc:51: (Each undeclared identifier is reported only once for each function it appears in.) c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long unsigned int]': c++locale.cc:69: `__strtoul_l' undeclared (first use this function) c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long long int]': c++locale.cc:87: `__strtoll_l' undeclared (first use this function) c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long long unsigned int]': c++locale.cc:106: `__strtoull_l' undeclared (first use this function) c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = float]': c++locale.cc:124: `__strtof_l' undeclared (first use this function) c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = double]': c++locale.cc:141: `__strtod_l' undeclared (first use this function) c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long double]': c++locale.cc:158: `__strtold_l' undeclared (first use this function) c++locale.cc: In static member function `static void std::locale::facet::_S_create_c_locale(__locale_struct*&, const char*, __locale_struct*)': c++locale.cc:170: `__newlocale' undeclared (first use this function) c++locale.cc: In static member function `static void std::locale::facet::_S_destroy_c_locale(__locale_struct*&)': c++locale.cc:180: `__freelocale' undeclared (first use this function) c++locale.cc: In static member function `static __locale_struct* std::locale::facet::_S_clone_c_locale(__locale_struct*&)': c++locale.cc:184: `__duplocale' undeclared (first use this function) make[3]: *** [c++locale.lo] Error 1 make[3]: Leaving directory `/var/scratch2/gcc-3.1/i686-pc-linux-gnu/libstdc++-v3 /src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/scratch2/gcc-3.1/i686-pc-linux-gnu/libstdc++-v3 ' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/var/scratch2/gcc-3.1/i686-pc-linux-gnu/libstdc++-v3 ' make: *** [all-target-libstdc++-v3] Error 2