� � � � 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">

(original) (raw)

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