Can't Compile 1.6

Jaime Villela Jaime.Villela at fnc.fujitsu.com
Tue Jun 20 15:45:18 EDT 2000


I'm trying to compile the latest version of Python and I'm getting the
following error (Solaris 5.6):

gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./posixmodule.c
In file included from ./posixmodule.c:3031:
/usr/include/sys/statvfs.h:38: parse error before `fsblkcnt_t'
/usr/include/sys/statvfs.h:38: warning: no semicolon at end of struct or
union
/usr/include/sys/statvfs.h:39: warning: data definition has no type or
storage class
/usr/include/sys/statvfs.h:40: parse error before `f_bavail'
/usr/include/sys/statvfs.h:40: warning: data definition has no type or
storage class
/usr/include/sys/statvfs.h:41: parse error before `f_files'
/usr/include/sys/statvfs.h:41: warning: data definition has no type or
storage class
/usr/include/sys/statvfs.h:42: parse error before `f_ffree'
/usr/include/sys/statvfs.h:42: warning: data definition has no type or
storage class
/usr/include/sys/statvfs.h:43: parse error before `f_favail'
/usr/include/sys/statvfs.h:43: warning: data definition has no type or
storage class
/usr/include/sys/statvfs.h:51: parse error before `}'
/usr/include/sys/statvfs.h:51: warning: data definition has no type or
storage class
./posixmodule.c: In function `posix_fstatvfs':
./posixmodule.c:3044: storage size of `st' isn't known
./posixmodule.c: In function `posix_statvfs':
./posixmodule.c:3096: storage size of `st' isn't known
*** Error code 1
make: Fatal error: Command failed for target `posixmodule.o'
Current working directory /scratch/downloads/Python-1.5.2/Modules
*** Error code 1
make: Fatal error: Command failed for target `Modules'

What does this mean and how do I fix it?  I've looked at the file in
question (statvfs.h) but I don't see anything wrong with it.  Even if I
did, I don't have permission to change it.
-- 
Jaime Villela
Fujitsu Network Communications
Jaime.Villela at fnc.fujitsu.com
(972) 479-2769



More information about the Python-list mailing list