Can't Compile 1.6 
Author Message
 Can't Compile 1.6

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

(972) 479-2769



Sat, 07 Dec 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Applet compiled with AppletMagic 1.6

2. Compiling Python 1.6 under MacOS X ...

3. Using CGI module with 'canned queries'

4. It's not bad canned meat...

5. It's not bad canned meat...

6. It's not bad canned meat...

7. It's not bad canned meat...

8. eval-when-compile in #'compile

9. archInvoice 1.6

10. Valentina Database Line Enhanced with 1.6 Release

11. GNU Smalltalk 1.6

12. gFileFind 1.6 available - Free gift with purchase.

 

 
Powered by phpBB® Forum Software