Can't build due to undefined references to MagickMax and MagickMin

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
buildproblems
Posts: 2
Joined: 2018-08-17T00:49:41-07:00
Authentication code: 1152

Can't build due to undefined references to MagickMax and MagickMin

Post by buildproblems » 2018-08-17T00:56:15-07:00

I'm using Ubuntu 18.04 and downloaded ImageMagick 7 from Github today, but can't get it to build. Here's links to the output of configure and make (both commands ran without any extra arguments):

./configure: https://pastebin.com/Q01ksLkc
make: https://pastebin.com/uEnvi57P

As you can see, make fails with the following error when it begins building the utilities:

Code: Select all

  CC       utilities/magick.o
  CCLD     utilities/magick
MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `MagickMax'
MagickCore/.libs/libMagickCore-7.Q16HDRI.so: undefined reference to `MagickMin'
collect2: error: ld returned 1 exit status
Makefile:7043: recipe for target 'utilities/magick' failed
Why does it fail, and how can I build the utilities successfully?

User avatar
magick
Site Admin
Posts: 10849
Joined: 2003-05-31T11:32:55-07:00

Re: Can't build due to undefined references to MagickMax and MagickMin

Post by magick » 2018-08-17T03:14:30-07:00

Try now.

buildproblems
Posts: 2
Joined: 2018-08-17T00:49:41-07:00
Authentication code: 1152

Re: Can't build due to undefined references to MagickMax and MagickMin

Post by buildproblems » 2018-08-20T00:31:43-07:00

Works like a charm. Thanks!

Post Reply