[issue9176] module termios doesn't build on HP-UX

Ronald Oussoren report at bugs.python.org
Tue Jul 6 11:51:26 CEST 2010

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

I get the following error when building the termios module on HP-UX:

cc -Ae +z -Olimit 1500 -g -DNDEBUG -O -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/termios.c -o build/temp.hp-ux-B.11.23-9000-800-2.7/home/xsupport/bld/Python-2.7/Modules/termios.o
cc: "/home/xsupport/bld/Python-2.7/Modules/termios.c", line 75: error 1574: Unknown size for "mode".
cc: "/home/xsupport/bld/Python-2.7/Modules/termios.c", line 96: error 1530: Undefined struct or union.
cc: "/home/xsupport/bld/Python-2.7/Modules/termios.c", line 96: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type.
cc: "/home/xsupport/bld/Python-2.7/Modules/termios.c", line 106: error 1530: Undefined struct or union.

(The line numbers are off by 3 due to an experiment that doesn't affect the error message beyond the linenumbers).

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

components: Build
messages: 109378
nosy: ronaldoussoren
priority: normal
severity: normal
status: open
title: module termios 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