ctype error in the Make of gcc3.0.1 on redhat linux 9.0 (intel)
Jingming Wang
wangj@ee.ucla.edu
Sun Apr 20 01:24:00 GMT 2003
Hi,
I just installed Redhat Linux 9.0 which has gcc3.2.2 coming with it.
However, due to the compatibility issue, I have to trace back and install
gcc3.0.1 to have my old codes compiled. I'm using the default way
('configure' and then 'make bootstrap') to install gcc3.0.1 into
/usr/local while keeping the original gcc3.2.2 under /usr. I think I've
met a similar problem as happened before (see the links below), but just
can't figure out a way through reading the old threads.
http://gcc.gnu.org/ml/gcc-help/2002-12/msg00026.html
http://gcc.gnu.org/ml/gcc-help/2002-11/msg00026.html
http://gcc.gnu.org/ml/gcc-prs/2002-10/msg00212.html
Here is the error reported from 'make bootstrap' command:
In file included from
../../../../gcc-3.0.1/libstdc++-v3/src/locale.cc:557:
/home/jingming/software/gcc/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)':
/home/jingming/software/gcc/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:44:
`__ctype_toupper'
undeclared (first use this function)
/home/jingming/software/gcc/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.)
/home/jingming/software/gcc/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:44:
`__ctype_tolower'
undeclared (first use this function)
/home/jingming/software/gcc/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/ctype_noninline.h:45:
`__ctype_b'
undeclared (first use this function)
make[4]: *** [locale.lo] Error 1
make[4]: Leaving directory
`/home/jingming/software/gcc/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/jingming/software/gcc/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/home/jingming/software/gcc/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/jingming/software/gcc'
make: *** [bootstrap] Error 2
If the solution is a patch, please kindly guide me through the patching
process in detail since I'm rather new to this software stuff. I
appreciate any help you may provide. Thanks a lot!
Jingming Wang
More information about the Gcc-help
mailing list