Hello,
on AIX 6.1 I'm getting an error from "make" trying to compile ImageMagick 6.7.2 or 6.3.2.
Thanks for any suggestions
Glar
---------------------------------------------------------------------------------------------------
/bin/sh ./libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -W -D_THREAD_SAFE -o utilities/animate utilities/animate.o magick/libMagick.la wand/libWand.la
ld: 0711-317 ERROR: Undefined symbol: .fmod
ld: 0711-317 ERROR: Undefined symbol: .cos
ld: 0711-317 ERROR: Undefined symbol: .sin
ld: 0711-317 ERROR: Undefined symbol: .pow
ld: 0711-317 ERROR: Undefined symbol: .ceil
ld: 0711-317 ERROR: Undefined symbol: .sqrt
ld: 0711-317 ERROR: Undefined symbol: .cexp
ld: 0711-317 ERROR: Undefined symbol: .exp
ld: 0711-317 ERROR: Undefined symbol: .floor
ld: 0711-317 ERROR: Undefined symbol: .atan2
ld: 0711-317 ERROR: Undefined symbol: .hypot
ld: 0711-317 ERROR: Undefined symbol: .tan
ld: 0711-317 ERROR: Undefined symbol: .log
ld: 0711-317 ERROR: Undefined symbol: .log10
ld: 0711-317 ERROR: Undefined symbol: .acos
ld: 0711-317 ERROR: Undefined symbol: .asin
ld: 0711-317 ERROR: Undefined symbol: .atan
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.
AIX 6.1 make error
Re: AIX 6.1 make error
Add -lm to your linker command line. We're not sure why it was not added automatically when ImageMagick was configured. Unfortunately we do not have access to AIX to investigate.
Re: AIX 6.1 make error
I'm not familiar with this stuff. So wouldt you please suggest in which file and command line -lm has to be added?magick wrote:Add -lm to your linker command line. We're not sure why it was not added automatically when ImageMagick was configured. Unfortunately we do not have access to AIX to investigate.
thx
Glar