This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ranma
Recipients
Date 2005-06-01.13:05:50
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
While trying to compile Python 2.5 from the nighlty CVS
image, it raises the following errors on HP-UX. (OS
version= HP-UX 11.22 on ia64, compiler= aCC: HP
aC++/ANSI C B3910B A.06.00 [Aug 25 2004])

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.
History
Date User Action Args
2007-08-23 14:32:15adminlinkissue1212703 messages
2007-08-23 14:32:15admincreate