building '_curses' extension cc -Ae -O +z -I. -I/home/richardt/python/Python-2.1/./Include -I/usr/local/include -IInclude/ -c /home/richardt/python/Python-2.1/Modules/_cursesmodule.c -o build/temp.hp-ux-B.11.00-9000/770-2.1/_cursesmodule.o cc: line 309: warning 5004: Uninitialized variable "arg1" in function "PyCursesWindow_getbegyx" (5004) cc: line 309: warning 5004: Uninitialized variable "arg2" in function "PyCursesWindow_getbegyx" (5004) cc: line 310: warning 5004: Uninitialized variable "arg1" in function "PyCursesWindow_getmaxyx" (5004) cc: line 310: warning 5004: Uninitialized variable "arg2" in function "PyCursesWindow_getmaxyx" (5004) cc: line 311: warning 5004: Uninitialized variable "arg1" in function "PyCursesWindow_getparyx" (5004) cc: line 311: warning 5004: Uninitialized variable "arg2" in function "PyCursesWindow_getparyx" (5004) cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 313: error 1000: Unexpected symbol: "arg1". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 313: error 1588: "attr_t" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 313: error 1588: "arg1" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 313: warning 563: Argument #3 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 313: warning 563: Argument #2 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 314: error 1000: Unexpected symbol: "arg1". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 314: error 1588: "attr_t" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 314: error 1588: "arg1" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 314: warning 563: Argument #3 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 314: warning 563: Argument #2 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 315: error 1000: Unexpected symbol: "arg1". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 315: error 1588: "attr_t" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 315: error 1588: "arg1" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 315: warning 563: Argument #3 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 315: warning 563: Argument #2 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 369: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 415: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 461: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 507: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 536: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: error 1000: Unexpected symbol: "{". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: error 1588: "__sx" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: error 1558: The ! operator takes a scalar operand. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: error 1549: Modifiable lvalue required for assignment operator. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: error 1588: "__sy" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: warning 563: Argument #2 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: warning 563: Argument #3 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: warning 563: Argument #2 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: warning 563: Argument #3 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 601: warning 527: Integral value implicitly converted to pointer in assignment. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 602: error 1571: Break statement has no enclosing loop or switch. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 603: error 1570: Default statement is not enclosed by a switch statement. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 607: error 1000: Unexpected symbol: "return". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 607: error 1000: Unexpected symbol: ";". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 633: warning 527: Integral value implicitly converted to pointer in assignment. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 648: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 672: error 1588: "_flags" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 672: error 1531: Invalid member of struct or union. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 672: error 1588: "_ISPAD" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 672: error 1563: Expression in if must be scalar. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 817: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 860: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 962: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1008: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1079: error 1588: "_flags" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1079: error 1531: Invalid member of struct or union. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1079: error 1588: "_ISPAD" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1079: error 1563: Expression in if must be scalar. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1221: error 1588: "_flags" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1221: error 1531: Invalid member of struct or union. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1221: error 1588: "_ISPAD" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1221: error 1563: Expression in if must be scalar. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1287: error 1588: "_flags" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1287: error 1531: Invalid member of struct or union. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1287: error 1588: "_ISPAD" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1287: error 1563: Expression in if must be scalar. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1288: warning 527: Integral value implicitly converted to pointer in assignment. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1345: error 1000: Unexpected symbol: "attr". cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1518: warning 527: Integral value implicitly converted to pointer in assignment. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1518: warning 563: Argument #1 is not the correct type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1687: warning 527: Integral value implicitly converted to pointer in assignment. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1803: error 1588: "ACS_ULCORNER" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1803: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1804: error 1588: "ACS_LLCORNER" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1804: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1805: error 1588: "ACS_URCORNER" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1805: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1806: error 1588: "ACS_LRCORNER" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1806: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1807: error 1588: "ACS_LTEE" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1807: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1808: error 1588: "ACS_RTEE" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1808: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1809: error 1588: "ACS_BTEE" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1809: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1810: error 1588: "ACS_TTEE" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1810: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1811: error 1588: "ACS_HLINE" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1811: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1812: error 1588: "ACS_VLINE" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1812: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1813: error 1588: "ACS_PLUS" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1813: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1814: error 1588: "ACS_S1" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1814: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1815: error 1588: "ACS_S9" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1815: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1816: error 1588: "ACS_DIAMOND" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1816: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1817: error 1588: "ACS_CKBOARD" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1817: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1818: error 1588: "ACS_DEGREE" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1818: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1819: error 1588: "ACS_PLMINUS" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1819: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1820: error 1588: "ACS_BULLET" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1820: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1821: error 1588: "ACS_LARROW" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1821: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1822: error 1588: "ACS_RARROW" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1822: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1823: error 1588: "ACS_DARROW" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1823: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1824: error 1588: "ACS_UARROW" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1824: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1825: error 1588: "ACS_BOARD" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1825: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1826: error 1588: "ACS_LANTERN" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1826: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1827: error 1588: "ACS_BLOCK" undefined. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1827: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1828: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1829: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1830: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1831: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "/home/richardt/python/Python-2.1/Modules/_cursesmodule.c", line 1832: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: Panic 2161: Maximum allowed number of errors exceeded. WARNING: building of extension "_curses" failed: command 'cc' failed with exit status 1