[Python-bugs-list] [ python-Bugs-417290 ] [Solaris] errors in _curses extension

noreply@sourceforge.net noreply@sourceforge.net
Sat, 13 Oct 2001 02:03:17 -0700


Bugs item #417290, was opened at 2001-04-19 01:57
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417290&group_id=5470

Category: Build
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Dimitri Papadopoulos (papadopo)
Assigned to: Eric S. Raymond (esr)
Summary: [Solaris] errors in _curses extension

Initial Comment:
Hi,

Building with the Sun compiler on Solaris 7:

$ make all
[...]
building '_curses' extension
cc -I. -I/tmp/Python-2.1/./Include -I/usr/local/include
-IInclude/ -c /tmp/Python-2.1/Modules/_cursesmodule.c
-o build/temp.solaris-2.7-sun4u-2.1/_cursesmodule.o -O
-I. -I./Include -DHAVE_CONFIG_H
"/tmp/Python-2.1/Modules/_cursesmodule.c", line 313:
undefined symbol: attr_t
"/tmp/Python-2.1/Modules/_cursesmodule.c", line 313:
syntax error before or at: arg1
"/tmp/Python-2.1/Modules/_cursesmodule.c", line 313:
undefined symbol: arg1
"/tmp/Python-2.1/Modules/_cursesmodule.c", line 314:
undefined symbol: attr_t
"/tmp/Python-2.1/Modules/_cursesmodule.c", line 314:
syntax error before or at: arg1
[...]
$

Solaris 7 has only <curses.h> not <ncurses.h> and
attr_t seems to be specific to <ncurses.h>.

Regards,
Dimitri



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

>Comment By: Martin v. Löwis (loewis)
Date: 2001-10-13 02:03

Message:
Logged In: YES 
user_id=21627

Thanks for the report, this is fixed in _cursesmodule.c 
2.56.


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

Comment By: Dimitri Papadopoulos (papadopo)
Date: 2001-04-19 01:59

Message:
Logged In: YES 
user_id=52414

This is with Python 2.1 by the way.


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

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