In fact I have a customized system; this may be the problem.
I have glibc2.5, gcc4.1.1, binutils2.17, standard kernel-2.6.14.3;
Apparently there are many header files where ptrdiff_t and size_t are not known;
I am currently compiling by putting by hand the following declarations:
typedef int ptrdiff_t;
typedef unsigned int size_t;
I have to do this in many files, like for instance:
c++/4.1.1/cstddef
bits/sigstack.h
gconv.h
I suppose it is not going to be easy to figure out where the problem is, or
why these definitions are not know to these files;
If you need to know a specific part of the system to try to figure out,
please let me know,
many thanks