gmp-4.1.2 installation
Kevin Ryde
user42@zip.com.au
Wed, 16 Jul 2003 09:12:43 +1000
"Law Chong Fatt" <ECFLaw@ntu.edu.sg> writes:
>
> configure:4105: gcc -c -g -O2 -Wa,-xarch=v8plus -mcpu=ultrasparc conftest.c >&5
> In file included from configure:4060:
> /usr/include/sys/stat.h:253: error: parse error before "blksize_t"
> /usr/include/sys/stat.h:257: error: parse error before '}' token
> /usr/include/sys/stat.h:313: error: parse error before "blksize_t"
> /usr/include/sys/stat.h:314: error: conflicting types for `st_blocks'
> /usr/include/sys/stat.h:254: error: previous declaration of `st_blocks'
> /usr/include/sys/stat.h:317: error: parse error before '}' token
> configure:4108: $? = 1
> configure: failed program was:
> #line 4056 "configure"
> #include "confdefs.h"
> #include <stdarg.h>
> #include <stdio.h>
> #include <sys/types.h>
> #include <sys/stat.h>
> ...
Looks like there's something dodgy in sys/stat.h. Perhaps you can
find where blksize_t is meant to come from. I'd have expected it to
be either in types.h, or stat.h itself. Perhaps the "stat" man page
says otherwise.
Either way, this test is part of autoconf, so a problem here probably
affects all gnu packages in one way or another, not just gmp.