Python 2.4.2c1 fails to compile on Solaris 10, yielding
the following errors immediately in the build:
% setenv CC "cc"
% ./configure --prefix=/tmp/foo/pytest
--without-pymalloc --enable-threads --without-gcc
--without-cxx
% make OPT="-xc99=%none -xarch=native64"
cc -c -xc99=%none -xarch=native64 -I. -I./Include
-DPy_BUILD_CORE -o Modules/python.o Modules/python.c
"/usr/include/limits.h", line 290: invalid type combination
"/usr/include/limits.h", line 290: warning: useless
declaration
"/usr/include/limits.h", line 290: warning: typedef
declares no type name
"/usr/include/stdio.h", line 146: warning: useless
declaration
"/usr/include/stdio.h", line 146: warning: typedef
declares no type name
"/usr/include/sys/types.h", line 344: warning:
modification of typedef with "int" ignored
"/usr/include/sys/types.h", line 344: invalid type
combination
"/usr/include/sys/types.h", line 344: warning: useless
declaration
"/usr/include/sys/types.h", line 344: warning: typedef
declares no type name
"/usr/include/sys/types.h", line 484: invalid type
combination
"/usr/include/sys/types.h", line 484: warning: useless
declaration
"/usr/include/sys/types.h", line 484: warning: typedef
declares no type name
"Include/pyport.h", line 612: #error: "LONG_BIT
definition appears wrong for platform (bad gcc/glibc
config?)."
cc: acomp failed for Modules/python.c
*** Error code 2
make: Fatal error: Command failed for target
`Modules/python.o'
|