[Python-Dev] AIX 5.3 - Build of Python 2.7.1

Anurag Chourasia anurag.chourasia at gmail.com
Mon Jun 6 23:23:25 CEST 2011


Hi All,

Python2.7.1 build on AIX 5.3 ML 12 is failing at the make step with the
error indicated below

de -I./Include -I /opt/freeware/include -I /opt/freeware/include/readline -I
/opt/freeware/include/ncurses  -DPy_BUILD_CORE -o Parser/tokenizer_pgen.o
Parser/tokenizer_pgen.c
        gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes  -I. -IInclude -I./Include -I
/opt/freeware/include -I /opt/freeware/include/readline -I
/opt/freeware/include/ncurses  -DPy_BUILD_CORE -o Parser/printgrammar.o
Parser/printgrammar.c
        gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes  -I. -IInclude -I./Include -I
/opt/freeware/include -I /opt/freeware/include/readline -I
/opt/freeware/include/ncurses  -DPy_BUILD_CORE -o Parser/pgenmain.o
Parser/pgenmain.c
        gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
Parser/acceler.o  Parser/grammar1.o  Parser/listnode.o  Parser/node.o
 Parser/parser.o  Parser/parsetok.o  Parser/bitset.o  Parser/metagrammar.o
 Parser/firstsets.o  Parser/grammar.o  Parser/pgen.o Objects/obmalloc.o
 Python/mysnprintf.o  Python/pyctype.o  Parser/tokenizer_pgen.o
 Parser/printgrammar.o  Parser/pgenmain.o -ldl  -o Parser/pgen
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 559) in object
Parser/grammar1.o:
        The symbol refers to a csect with symbol number 0, which was not
        found. The new symbol cannot be associated with a csect and
        is being ignored.
ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 579) in object
Parser/firstsets.o:
        The symbol refers to a csect with symbol number 0, which was not
        found. The new symbol cannot be associated with a csect and
        is being ignored.
collect2: ld returned 12 exit status
make: 1254-004 The error code from the last command is 1.

Is there anything I could try to get past this?

Here is the configuration and make step that i utilized

./configure –enable-shared --disable-ipv6 --with-gcc=gcc CPPFLAGS="-I
/opt/freeware/include -I /opt/freeware/include/readline -I
/opt/freeware/include/ncurses"


make


Regards,
Anurag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110606/2bb7cdc4/attachment-0001.html>


More information about the Python-Dev mailing list