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.
Looks like you need to add -lm at the end of your link line. We don't have access to an AIX system so we cannot check for ImageMagick build problems under AIX. We do check against Linux, Solaris, Cygwin, FreeBSD, HPUX, Mac OS X, and a few others.