469,579 Members | 1,177 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

Python 2.5 CVS broken for HP-UX platform?

mg
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.

Jul 19 '05 #1
1 2315
mg wrote:
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:


Please submit patches to sf.net/projects/python.

Thanks,
Martin
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by hokieghal99 | last post: by
2 posts views Thread by Michael Chermside | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
11 posts views Thread by Matt Gerrans | last post: by
17 posts views Thread by seb.haase | last post: by
52 posts views Thread by Steve Holden | last post: by
6 posts views Thread by Pete | last post: by
8 posts views Thread by js | last post: by
29 posts views Thread by Carl Banks | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.