Originally posted by: SystemAdmin
Hello,
I cannot build Python 2.5.2 on my AIX 6.1 box using gcc.
I have installed the GCC (gcc-4.2.0-3.aix6.1.ppc.rpm)provided
by IBM in their "toolbox for AIX"
http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/download.html I run the following:
./configure --with-gcc
make
The make process runs compiles and so on that are OK,
but it stops with this error:
===
http://... ===
./Modules/ld_so_aix gcc -pthread -bI:Modules/python.exp build/temp.aix-6.1-2.5/usr/local/work/Python-2.5.2/Modules/fcntlmodule.o -o build/lib.aix-6.1-2.5/fcntl.so
ld: 0711-317 ERROR: Undefined symbol: .flock
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
-
WARNING: renaming "fcntl" since importing it failed: 0509-022 Cannot load module build/lib.aix-6.1-2.5.
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.
=============
any suggestion?
thanks