I have been having trouble compiling an older gcc. I get the following when I try to compile either gcc-3.1.1 or gcc-3.1. I have also tried compiling with a gcc-3.1.1 compiler, not the gcc-3.3. I think the problem is not related to the compiler, but maybe something I have installed or don't have installed. I have the following devel related packages installed: glibc-2.3.2-6 glibc-locale-2.3.2-6 glibc-devel-2.3.2-6 libgcc-3.3-23 gcc-3.3-23 gcc-c++-3.3-23 Here is the output from compiling gcc-3.1.1 with gcc-3.3, the errors are at the bottom and thanks for any help: /bin/sh ../libtool --tag CXX --mode=compile /usr/local/src/gcc-3.1.1/gcc/xgcc -s hared-libgcc -B/usr/local/src/gcc-3.1.1/gcc/ -nostdinc++ -L/usr/local/src/gcc-3 .1.1/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/local/src/gcc-3.1.1/i686-pc-linux -gnu/libstdc++-v3/src/.libs -B/usr/local/gcc-3.1.1/i686-pc-linux-gnu/bin/ -B/usr /local/gcc-3.1.1/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-3.1.1/i686-pc-li nux-gnu/include -nostdinc++ -I/usr/local/src/gcc-3.1.1/i686-pc-linux-gnu/libstdc ++-v3/include/i686-pc-linux-gnu -I/usr/local/src/gcc-3.1.1/i686-pc-linux-gnu/lib stdc++-v3/include -I../libsupc++ -I../libmath -g -O2 -D_GNU_SOURCE -fno-impl icit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-sho w-location=once -ffunction-sections -fdata-sections -g -c c++locale.cc /usr/local/src/gcc-3.1.1/gcc/xgcc -shared-libgcc -B/usr/local/src/gcc-3.1.1/gcc/ -nostdinc++ -L/usr/local/src/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/src -L/us r/local/src/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/gcc- 3.1.1/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-3.1.1/i686-pc-linux-gnu/lib/ -isys tem /usr/local/gcc-3.1.1/i686-pc-linux-gnu/include -nostdinc++ -I/usr/local/src/ gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/usr/local/ src/gcc-3.1.1/i686-pc-linux-gnu/libstdc++-v3/include -I../libsupc++ -I../libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strin gs -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c c++locale.cc -fPIC -DPIC -o .libs/c++locale.o 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: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 `/usr/local/src/gcc-3.1.1/i686-pc-linux-gnu/libstdc++ -v3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/gcc-3.1.1/i686-pc-linux-gnu/libstdc++ -v3' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/usr/local/src/gcc-3.1.1/i686-pc-linux-gnu/libstdc++ -v3' make: *** [all-target-libstdc++-v3] Error 2