[Python-bugs-list] [ python-Bugs-405350 ] 2.1b1 termios module fails to compile

nobody nobody@sourceforge.net
Thu, 01 Mar 2001 21:36:00 -0800


Bugs #405350, was updated on 2001-03-01 19:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=405350&group_id=5470

Category: Build
Group: None
Status: Open
Priority: 5
Submitted By: Mark Favas
Assigned to: Fred L. Drake, Jr.
Summary: 2.1b1 termios module fails to compile

Initial Comment:
On Tru64 Unix, V4.0F with Compaq's C compiler:
Modules/termios.c fails to compile with
building 'termios' extension
cc -O -Olimit 1500 -I. -I./Include -IInclude/
-I/usr/local/include -c Modules/termios.c -o
build/temp.osf1-V4.0-alpha-2.1/termios.o
cc: Error: Modules/termios.c, line 394: In the
initializer for termios_constants[66].value, "XTABS" is
not declared. (undeclared)
        {"XTABS", XTABS},
------------------^
cc: Error: Modules/termios.c, line 452: In the
initializer for termios_constants[107].value, "VSWTC"
is not declared. (undeclared)
        {"VSWTC", VSWTC},
------------------^
cc: Error: Modules/termios.c, line 453: In the
initializer for termios_constants[108].value, "VSWTCH"
is not declared. (undeclared)
        {"VSWTCH", VSWTCH},
-------------------^
WARNING: building of extension "termios" failed:
command 'cc' failed with exit status 1

The fix is obvious - some more #ifdef's. I'll submit a
patch...


----------------------------------------------------------------------

Comment By: Mark Favas
Date: 2001-03-01 20:37

Message:
Logged In: YES 
user_id=44979

Tried to upload patch (#405355), but doesn't seem to get
there...

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=405350&group_id=5470