>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

Bo> I am glad that my problem get your attention. Here is more
Bo> information:
>>  Can you tell us what is the code around the following error:
>> /usr/include/sys/stat.h:253: parse error before "blksize_t"
>> 


Bo> blksize_t st_blksize; /* -------------------------:LINE 253

Hmm, we have a test for BLKSIZE in configure, but I cannot see how it
may hurt.

>> Is you gcc compiled for solaris 2.7? (gcc -v should tell you that).
>> 

Bo> bpeng@stat007:~ % gcc -v Reading specs from
Bo> /usr/site/gcc-3.1.0/lib/gcc-lib/sparc-sun-solaris2.6/3.1/specs
Bo> Configured with: /build/gcc-3.1.0/src/dist/configure
Bo> --prefix=/usr/site/gcc-3.1.0 --enable-shared=libstdc++ Thread
Bo> model: posix gcc version 3.1

So you are using a gcc 3.1 configured for solaris 2.6 on solaris 2.7.
I do not know about this particular case, but I know such mismatch
causes problems with some OS. Actually, I did a little google search
  http://www.google.fr/search?q=gcc%20blksize_t%20solaris&hl=fr&meta=
and you will notice that in the case where solaris and gcc versions
are given, they do not match.

JMarc

Reply via email to