Fri Jun 27 13:02:00 GMT 2003
I am trying to build gcc 3.1. Compilation fails with
the following message
`__ctype_tolower' undeclared (first use this function)
(I know this isn't the most current version. I am
installing it to try to study a profiling problem I am
having under gcc 3.3 which I did not have with 3.1...
before I bug you guys with my profiling problem.)
In the host/target specific install notes under
*-*-linux-gnu there is the note "If you use glibc 2.2
(or 2.1.9x), GCC 2.95.2 won't install out-of-the-box.
You'll get compile errors while building libstdc++.
The patch glibc-2.2.patch, that is applied in the GCC
source tree, fixes the compatibility problems."
Well, I don't use glibc 2.2 (I'm using 2.3.1) and I am
not installing gcc 2.95.2, but it is suspicious that
the errors are in libstdc++. I downloaded 2.95.2 to
get the patch (just in case it would fix the problem)
but didn't find a glibc-2.2.patch in the directory.
So, simple question, does anyone know what is causing
the above compiler error?
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
More information about the Gcc-help