[issue9175] ctypes doesn't build on hp-ux

Ronald Oussoren report at bugs.python.org
Tue Jul 6 11:15:36 CEST 2010

New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

During the build of python2.7 on a HP-UX machine I get this compile error when building the ctypes extension:

cc -Ae +z -Olimit 1500 -g -DNDEBUG -O -Ibuild/temp.hp-ux-B.11.23-9000-800-2.7/libffi/include -Ibuild/temp.hp-ux-B.11.23-9000-800-2.7/libffi -I/home/xsupport/bld/Python-2.7/Modules/_ctypes/libffi/src -I/opt/python2.7/include -I. -IInclude -I./Include -I/home/xsupport/bld/Python-2.7/Include -I/home/xsupport/bld/Python-2.7 -c /home/xsupport/bld/Python-2.7/Modules/_ctypes/_ctypes.c -o build/temp.hp-ux-B.11.23-9000-800-2.7/home/xsupport/bld/Python-2.7/Modules/_ctypes/_ctypes.o
cpp: "build/temp.hp-ux-B.11.23-9000-800-2.7/libffi/include/ffi.h", line 133: error 4044: Constant literal too large.
cpp: "build/temp.hp-ux-B.11.23-9000-800-2.7/libffi/include/ffi.h", line 134: error 4062: "no 64-bit data type supported"

Compiler version:

  B9007AA               C.11.23.12     HP C/aC++ Developer's Bundle 

System info:

HP-UX ah006b02 B.11.23 U 9000/800 2284397887 unlimited-user license

assignee: theller
components: Build, ctypes
messages: 109374
nosy: ronaldoussoren, theller
priority: normal
severity: normal
status: open
title: ctypes doesn't build on hp-ux
type: compile error
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list