AIX 6.1 make error

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
glar
Posts: 2
Joined: 2011-09-13T03:29:38-07:00
Authentication code: 8675308

AIX 6.1 make error

Post by glar »

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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: AIX 6.1 make error

Post by magick »

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.
glar
Posts: 2
Joined: 2011-09-13T03:29:38-07:00
Authentication code: 8675308

Re: AIX 6.1 make error

Post by glar »

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.
I'm not familiar with this stuff. So wouldt you please suggest in which file and command line -lm has to be added?

thx

Glar
Post Reply