Python 2.5 CVS broken for HP-UX platform?

mg mg.mailing-list at laposte.net
Wed Jun 1 16:06:53 CEST 2005


Hello,

While trying to compile Python 2.5 from the nighlty CVS image, it raises
the following errors on HP-UX. This disables me the use of HP-UX for
some projects:

Compilation flags:
export CC=aCC
export CFLAGS="-Ae +DD64"
export LDFLAGS="+DD64"
make clean
./configure --prefix=/usr/local/python_cvs --with-cxx=aCC


(...)
creating Makefile
        aCC -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -o
Modules/ccpython.o ./Modules/ccpython.cc
"/usr/include/sys/unistd.h", line 594: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline truncate(const char *a, off_t b)       { return
__truncate64(a,b); }
         ^
 
"/usr/include/sys/unistd.h", line 595: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline prealloc(int a, off_t b)               { return
__prealloc64(a,b); }
         ^
 
"/usr/include/sys/unistd.h", line 596: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline lockf(int a, int b, off_t c)           { return
__lockf64(a,b,c); }
         ^
 
"/usr/include/sys/unistd.h", line 597: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline ftruncate(int a, off_t b)              { return
__ftruncate64(a,b); }
         ^
 
"/usr/include/sys/stat.h", line 173: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
       inline lstat __((const char *, struct stat *));
              ^
 
"./Include/pyport.h", line 612: error #2035: #error directive: "LONG_BIT
          definition appears wrong for platform (bad gcc/glibc
config?)."
  #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
   ^
 
1 error detected in the compilation of "./Modules/ccpython.cc".
*** Error exit code 2
 
Stop.
        aCC -c  -DNDEBUG -O  -I. -I./Include   -DPy_BUILD_CORE -o
Modules/ccpython.o ./Modules/ccpython.cc
"/usr/include/sys/unistd.h", line 594: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline truncate(const char *a, off_t b)       { return
__truncate64(a,b); }
         ^
 
"/usr/include/sys/unistd.h", line 595: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline prealloc(int a, off_t b)               { return
__prealloc64(a,b); }
         ^
 
"/usr/include/sys/unistd.h", line 596: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline lockf(int a, int b, off_t c)           { return
__lockf64(a,b,c); }
         ^
 
"/usr/include/sys/unistd.h", line 597: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
  inline ftruncate(int a, off_t b)              { return
__ftruncate64(a,b); }
         ^
 
"/usr/include/sys/stat.h", line 173: warning #2837-D: omission of
explicit
          type is nonstandard ("int" assumed)
       inline lstat __((const char *, struct stat *));
              ^
 
"./Include/pyport.h", line 612: error #2035: #error directive: "LONG_BIT
          definition appears wrong for platform (bad gcc/glibc
config?)."
  #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
config?)."
   ^
 
1 error detected in the compilation of "./Modules/ccpython.cc".
*** Error exit code 2
 
Stop.






More information about the Python-list mailing list