L
Lars Kromann
Hi
I am trying to compile python 2.3.4 for AIX 5.2 but I ran into some
problems.
When I try to compile the build on the configure runs ok but make gives me
the
following error when i run:
configure --with-gcc --with-cxx=g++ --with-libm="" --disable-ipv6
make
./Modules/makexp_aix Modules/python.exp . libpython2.3.a; gcc
-Wl,-bE:Modules/python.exp -lld -o python Modules/ccpython.o
libpython2.3.a -ldl -lpthread
ld: 0711-317 ERROR: Undefined symbol: .fmod
ld: 0711-317 ERROR: Undefined symbol: .floor
ld: 0711-317 ERROR: Undefined symbol: .pow
ld: 0711-317 ERROR: Undefined symbol: .hypot
ld: 0711-317 ERROR: Undefined symbol: .atan2
ld: 0711-317 ERROR: Undefined symbol: .exp
ld: 0711-317 ERROR: Undefined symbol: .log
ld: 0711-317 ERROR: Undefined symbol: .cos
ld: 0711-317 ERROR: Undefined symbol: .sin
ld: 0711-317 ERROR: Undefined symbol: .ceil
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
Stop.
I then tried to edit the ld_so_aix from
CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
to
CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -brtl -bnortllib -lm -o
$objfile"
but that did not work either.
The machine has the following configuration:
AIX 5.2
g++-2.9.aix51.020209-3
gcc-2.9.aix51.020209-3
autoconf-2.53-1
automake-1.5-1
Does anybody have an idea to what the problem might be?
_______________________________________________
Lars Kromann - M.Sc.E.E, Intelligent Multimedia
Tingvejen 16F 8600 Silkeborg - Denmark
Tlf. +45 25132571
(e-mail address removed)
www.sealclub.net
_______________________________________________
I am trying to compile python 2.3.4 for AIX 5.2 but I ran into some
problems.
When I try to compile the build on the configure runs ok but make gives me
the
following error when i run:
configure --with-gcc --with-cxx=g++ --with-libm="" --disable-ipv6
make
./Modules/makexp_aix Modules/python.exp . libpython2.3.a; gcc
-Wl,-bE:Modules/python.exp -lld -o python Modules/ccpython.o
libpython2.3.a -ldl -lpthread
ld: 0711-317 ERROR: Undefined symbol: .fmod
ld: 0711-317 ERROR: Undefined symbol: .floor
ld: 0711-317 ERROR: Undefined symbol: .pow
ld: 0711-317 ERROR: Undefined symbol: .hypot
ld: 0711-317 ERROR: Undefined symbol: .atan2
ld: 0711-317 ERROR: Undefined symbol: .exp
ld: 0711-317 ERROR: Undefined symbol: .log
ld: 0711-317 ERROR: Undefined symbol: .cos
ld: 0711-317 ERROR: Undefined symbol: .sin
ld: 0711-317 ERROR: Undefined symbol: .ceil
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
Stop.
I then tried to edit the ld_so_aix from
CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
to
CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -brtl -bnortllib -lm -o
$objfile"
but that did not work either.
The machine has the following configuration:
AIX 5.2
g++-2.9.aix51.020209-3
gcc-2.9.aix51.020209-3
autoconf-2.53-1
automake-1.5-1
Does anybody have an idea to what the problem might be?
_______________________________________________
Lars Kromann - M.Sc.E.E, Intelligent Multimedia
Tingvejen 16F 8600 Silkeborg - Denmark
Tlf. +45 25132571
(e-mail address removed)
www.sealclub.net
_______________________________________________