[Tutor] PYTHON 2.5.6 64 Bit Compilation is failing on Aix

D N, Mahesh mahesh.d-n at hp.com
Tue Oct 1 13:00:36 CEST 2013


Hi,

While compiling python2.5.6 by passing 64 bit arguments on aix5.3, make is failing .

Command used to build:

./configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64" --disable-ipv6 AR="ar -X64" --prefix=/usr/prasad/python --disable-shared --with-libs='/usr/prasad/ncurses/lib/libncurses.a' --without-threads --with-ncurses=/usr/prasad/ncurses/lib


Make error.

./Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/temp.aix-5.3-2.5/home/dnm/pyth/Python-2.5.6/Modules/_cursesmodule.o -L/usr/local/lib -lncursesw -o build/lib.aix-5.3-2.5/_curses.so
ld: 0711-317 ERROR: Undefined symbol: _unctrl
ld: 0711-317 ERROR: Undefined symbol: .setsyx
ld: 0711-317 ERROR: Undefined symbol: ._setqiflush
ld: 0711-317 ERROR: Undefined symbol: .initscr32
ld: 0711-317 ERROR: Undefined symbol: wacs_map
ld: 0711-317 ERROR: Undefined symbol: ._getsyx
ld: 0711-317 ERROR: Undefined symbol: .w32attrset
ld: 0711-317 ERROR: Undefined symbol: .w32insch
ld: 0711-317 ERROR: Undefined symbol: .p32echochar
ld: 0711-317 ERROR: Undefined symbol: .w32echochar
ld: 0711-317 ERROR: Undefined symbol: .box32
ld: 0711-317 ERROR: Undefined symbol: .w32attron
ld: 0711-317 ERROR: Undefined symbol: .w32attroff
ld: 0711-317 ERROR: Undefined symbol: .w32addch
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
*** WARNING: renaming "_curses" since importing it failed: No such file or directory
error: No such file or directory
make: 1254-004 The error code from the last command is 1.

Could you please help me to resolve the above mentioned error.

Regards,
Mahesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131001/04531119/attachment.html>


More information about the Tutor mailing list