Help AIX 5.3 build on Python-3.1a2

pruebauno at latinmail.com pruebauno at latinmail.com
Mon Apr 27 14:28:42 EDT 2009


On Apr 27, 10:26 am, Jeroen Ruigrok van der Werven <asmo... at in-
nomine.org> wrote:
> -On [20090427 15:00], prueba... at latinmail.com (prueba... at latinmail.com) wrote:
>
> >Thanks Jeroen. I know that AIX isn't as supported as other platforms,
> >but I thought it wouldn't hurt to ask anyway. At least now everybody
> >can search for that particular problem and find something. I will
> >experiment a little bit and see if I make it compile.
>
> I'll be interested to see if that fixes it. I have had to support a bunch of
> different Unix systems over the years compile-wise, but I don't think AIX
> was one of them though, so I might be a bit rusty there.
>
> --
> Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
> イェルーン ラウフロック ヴァン デル ウェルヴェンhttp://www.in-nomine.org/|http://www.rangaku.org/| GPG: 2EAC625B
> What is the short meaning of this long speech..?

Yes, I tried them and either way fixes it. But this was with version 6
of the xlc compiler and it later gave me this error:

        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c

"Python/symtable.c", line 767.50: 1506-068 (S) Operation between types
"struct _object*" and "int" is not allowed.
"Python/symtable.c", line 826.55: 1506-068 (S) Operation between types
"struct _object*" and "int" is not allowed.
make: 1254-004 The error code from the last command is 1.

I gave up and found a machine with xlc version 8 installed. Using that
version gave me a bunch of warnings instead but it compiled. Just for
the curious this is (more or less) what it looks like (long text
follows!):

(//ptst/Python-3.1a2) > make
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/node.o Parser/node.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
"Parser/parser.c", line 32.31: 1506-1298 (W) The subscript 1500 is out
of range. The valid range is 0 to 1499.
"Parser/parser.c", line 293.45: 1506-1298 (W) The subscript 1500 is
out of range. The valid range is 0 to 1499.
"Parser/parser.c", line 314.29: 1506-1298 (W) The subscript 1500 is
out of range. The valid range is 0 to 1499.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
        [...]
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
"Objects/typeobject.c", line 5646.42: 1506-068 (W) Operation between
types "void*" and "struct _object*(*)(struct _object*)" is not
allowed.
"Objects/typeobject.c", line 5692.34: 1506-068 (W) Operation between
types "void*" and "long(*)(struct _object*)" is not allowed.
"Objects/typeobject.c", line 5907.26: 1506-068 (W) Operation between
types "void*" and "long(*)(struct _object*)" is not allowed.
[...]
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Python/ast.o Python/ast.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/tokenizer_pgen.o Parser/tokenizer_pgen.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c
[...]
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Python/future.o Python/future.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
        [...]
        xlc_r -q64 -c  -DNDEBUG -O2  -I. -IInclude -I./Include   -
DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
[...]
building '_ctypes_test' extension
xlc_r -q64 -DNDEBUG -O2 -I. -I./Include -I/usr/local/include -IInclude
-I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/_ctypes/
_ctypes_test.c -o build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/
_ctypes/_ctypes_test.o
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for M is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for N is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for O is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for P is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for Q is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for R is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for S is not valid. Type
unsigned assumed.
./Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.o -L/
usr/local/lib -o build/lib.aix-5.3-3.1/_ctypes_test.so
ld: 0711-327 WARNING: Entry point not found: init_ctypes_test
[...]
xlc_r -q64 -DNDEBUG -O2 -I. -I./Include -I/usr/local/include -IInclude
-I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/readline.c -o
build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/readline.o
"//ptst/Python-3.1a2/Modules/readline.c", line 31.10: 1506-296 (S)
#include file <readline/readline.h> not found.
"//ptst/Python-3.1a2/Modules/readline.c", line 32.10: 1506-296 (S)
#include file <readline/history.h> not found.
"//ptst/Python-3.1a2/Modules/readline.c", line 282.26: 1506-045 (S)
Undeclared identifier rl_completion_type.
"//ptst/Python-3.1a2/Modules/readline.c", line 328.21: 1506-045 (S)
Undeclared identifier rl_completer_word_break_characters.
"//ptst/Python-3.1a2/Modules/readline.c", line 341.9: 1506-045 (S)
Undeclared identifier HIST_ENTRY.
"//ptst/Python-3.1a2/Modules/readline.c", line 341.21: 1506-045 (S)
Undeclared identifier entry.
"//ptst/Python-3.1a2/Modules/readline.c", line 376.9: 1506-045 (S)
Undeclared identifier HIST_ENTRY.
"//ptst/Python-3.1a2/Modules/readline.c", line 376.21: 1506-045 (S)
Undeclared identifier old_entry.
"//ptst/Python-3.1a2/Modules/readline.c", line 432.37: 1506-045 (S)
Undeclared identifier rl_completer_word_break_characters.
"//ptst/Python-3.1a2/Modules/readline.c", line 477.9: 1506-045 (S)
Undeclared identifier HIST_ENTRY.
"//ptst/Python-3.1a2/Modules/readline.c", line 477.21: 1506-045 (S)
Undeclared identifier hist_ent.
"//ptst/Python-3.1a2/Modules/readline.c", line 498.9: 1506-045 (S)
Undeclared identifier HISTORY_STATE.
"//ptst/Python-3.1a2/Modules/readline.c", line 498.24: 1506-045 (S)
Undeclared identifier hist_st.
"//ptst/Python-3.1a2/Modules/readline.c", line 514.37: 1506-045 (S)
Undeclared identifier rl_line_buffer.
"//ptst/Python-3.1a2/Modules/readline.c", line 727.17: 1506-045 (S)
Undeclared identifier rl_attempted_completion_over.
"//ptst/Python-3.1a2/Modules/readline.c", line 765.16: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/readline.c", line 765.16: 1506-023 (S)
Expecting function or pointer to function.
"//ptst/Python-3.1a2/Modules/readline.c", line 782.9: 1506-045 (S)
Undeclared identifier rl_readline_name.
"//ptst/Python-3.1a2/Modules/readline.c", line 788.27: 1506-045 (S)
Undeclared identifier rl_insert.
"//ptst/Python-3.1a2/Modules/readline.c", line 790.35: 1506-045 (S)
Undeclared identifier rl_complete.
"//ptst/Python-3.1a2/Modules/readline.c", line 790.48: 1506-045 (S)
Undeclared identifier emacs_meta_keymap.
"//ptst/Python-3.1a2/Modules/readline.c", line 793.38: 1506-275 (S)
Unexpected text ')' encountered.
"//ptst/Python-3.1a2/Modules/readline.c", line 793.28: 1506-045 (S)
Undeclared identifier Function.
"//ptst/Python-3.1a2/Modules/readline.c", line 793.54: 1506-277 (S)
Syntax error: possible missing ')' or ','?
"//ptst/Python-3.1a2/Modules/readline.c", line 793.9: 1506-045 (S)
Undeclared identifier rl_startup_hook.
"//ptst/Python-3.1a2/Modules/readline.c", line 800.9: 1506-045 (S)
Undeclared identifier rl_completer_word_break_characters.
"//ptst/Python-3.1a2/Modules/readline.c", line 861.32: 1506-045 (S)
Undeclared identifier rl_instream.
"//ptst/Python-3.1a2/Modules/readline.c", line 949.26: 1506-045 (S)
Undeclared identifier rl_instream.
"//ptst/Python-3.1a2/Modules/readline.c", line 949.55: 1506-045 (S)
Undeclared identifier rl_outstream.
"//ptst/Python-3.1a2/Modules/readline.c", line 978.17: 1506-045 (S)
Undeclared identifier HISTORY_STATE.
"//ptst/Python-3.1a2/Modules/readline.c", line 978.32: 1506-045 (S)
Undeclared identifier state.
"//ptst/Python-3.1a2/Modules/readline.c", line 978.38: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/readline.c", line 980.43: 1506-122 (S)
Expecting pointer to struct or union.
[...]
building 'bz2' extension
xlc_r -q64 -DNDEBUG -O2 -I. -I./Include -I/usr/local/include -IInclude
-I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/bz2module.c -o
build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/bz2module.o
"//ptst/Python-3.1a2/Modules/bz2module.c", line 12.10: 1506-296 (S)
#include file <bzlib.h> not found.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 105.9: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 116.9: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 125.9: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 141.22: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 141.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 142.22: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 142.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 154.22: 1506-045 (S)
Undeclared identifier BZ_PARAM_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 154.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 161.22: 1506-045 (S)
Undeclared identifier BZ_MEM_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 161.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 166.22: 1506-045 (S)
Undeclared identifier BZ_DATA_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 166.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 167.22: 1506-045 (S)
Undeclared identifier BZ_DATA_ERROR_MAGIC.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 167.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 172.22: 1506-045 (S)
Undeclared identifier BZ_IO_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 172.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 177.22: 1506-045 (S)
Undeclared identifier BZ_UNEXPECTED_EOF.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 177.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 184.22: 1506-045 (S)
Undeclared identifier BZ_SEQUENCE_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 184.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 245.62: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 250.37: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 252.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 324.45: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 327.24: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 330.31: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 442.56: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 448.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 452.39: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 576.52: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 580.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 588.39: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 721.38: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 725.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 846.54: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 848.40: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 933.72: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 939.48: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 941.55: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 963.49: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 970.23: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 993.56: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1057.23: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1067.57: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1070.58: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1232.23: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1235.23: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1238.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1270.57: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1273.58: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1398.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1398.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1398.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1431.47: 1506-045 (S)
Undeclared identifier BZ_RUN.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1433.32: 1506-045 (S)
Undeclared identifier BZ_RUN_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1478.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1478.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1478.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1501.47: 1506-045 (S)
Undeclared identifier BZ_FINISH.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1503.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1505.39: 1506-045 (S)
Undeclared identifier BZ_FINISH_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1572.23: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1572.37: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1573.45: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1574.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1599.34: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1694.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1694.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1694.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1724.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1734.32: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1799.23: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1799.37: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1800.47: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1801.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1829.36: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1909.19: 1506-275 (S)
Unexpected text _bzs encountered.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1909.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1910.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1910.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1946.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1955.47: 1506-045 (S)
Undeclared identifier BZ_FINISH.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1957.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1959.39: 1506-045 (S)
Undeclared identifier BZ_FINISH_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2004.19: 1506-275 (S)
Unexpected text _bzs encountered.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2004.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2005.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2005.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2032.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2043.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
building 'pyexpat' extension
xlc_r -q64 -DNDEBUG -O2 -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I//
ptst/Python-3.1a2/./Modules/expat -I. -I./Include -I/usr/local/include
-IInclude -I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/
pyexpat.c -o build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/
pyexpat.o
"//ptst/Python-3.1a2/Modules/pyexpat.c", line 1472.27: 1506-068 (W)
Operation between types "void*" and "void(*)(void*,const char*,int)"
is not allowed.
[...]
building '_elementtree' extension
xlc_r -q64 -DNDEBUG -O2 -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I//
ptst/Python-3.1a2/./Modules/expat -I. -I./Include -I/usr/local/include
-IInclude -I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/
_elementtree.c -o build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/
_elementtree.o
"//ptst/Python-3.1a2/Modules/_elementtree.c", line 1369.5: 1506-196
(W) Initialization between types "void*" and "struct _object*(*)
(struct _object*,long,long)" is not allowed.
"//ptst/Python-3.1a2/Modules/_elementtree.c", line 1371.5: 1506-196
(W) Initialization between types "void*" and "int(*)(struct
_object*,long,long,struct _object*)" is not allowed.
./Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_elementtree.o -L/usr/
local/lib -o build/lib.aix-5.3-3.1/_elementtree.so
ld: 0711-327 WARNING: Entry point not found: init_elementtree
[...]
building '_tkinter' extension
xlc_r -q64 -DNDEBUG -O2 -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./
Include -I/usr/local/include -IInclude -I//ptst/Python-3.1a2 -c //ptst/
Python-3.1a2/Modules/_tkinter.c -o build/temp.aix-5.3-3.1//ptst/
Python-3.1a2/Modules/_tkinter.o
xlc_r -q64 -DNDEBUG -O2 -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./
Include -I/usr/local/include -IInclude -I//ptst/Python-3.1a2 -c //ptst/
Python-3.1a2/Modules/tkappinit.c -o build/temp.aix-5.3-3.1//ptst/
Python-3.1a2/Modules/tkappinit.o
./Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_tkinter.o build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/tkappinit.o -L/usr/X11R6/
lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.3 -ltcl8.3 -lX11 -o
build/lib.aix-5.3-3.1/_tkinter.so
ld: 0706-006 Cannot find or open library file: -l tk8.3
        ld:open(): A file or directory in the path name does not
exist.
ld: 0706-006 Cannot find or open library file: -l tcl8.3
        ld:open(): A file or directory in the path name does not
exist.
*** WARNING: renaming "_tkinter" since importing it failed:
0509-022 Cannot load module build/lib.aix-5.3-3.1.
        0509-026 System error: A file or directory in the path name
does not exist.
error: No such file or directory
make: 1254-004 The error code from the last command is 1.

Stop.



More information about the Python-list mailing list