[SOLVED] Compile error on 7.0.1-0+

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
kwash
Posts: 17
Joined: 2016-04-30T20:47:29-07:00
Authentication code: 1151

[SOLVED] Compile error on 7.0.1-0+

Post by kwash »

I'm getting the following compile error when trying to compile version 7.0.1-0 in linux x86_64:

Code: Select all

CCLD     coders/svg.la
MagickCore/.libs/libMagickCore-7.Q32HDRI.so: undefined reference to `min'
collect2: error: ld returned 1 exit status
Makefile:6994: recipe for target 'utilities/magick' failed
make[1]: *** [utilities/magick] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/storage/linux/abs/imagemagick-full/src/ImageMagick-7.0.1-0'
Makefile:5142: recipe for target 'all' failed
make: *** [all] Error 2
The same error aslo happens when trying to compile using source from git repository. Tested with git version 7.0.1.1.r10808.gb2c1aa6.
Tried to disable 'make' multiple jobs and the error persists.
It was compiling perfectly until version 6.9.3-8.

Commands used:

Code: Select all

CPPFLAGS="-I/usr/include/FLIF" \
	./configure \
	        --prefix=/usr \
	        --sysconfdir=/etc \
	        --enable-static=no \
	        --enable-shared=yes \
	        --enable-fast-install=yes \
	        --enable-openmp \
	        --enable-opencl \
	        --enable-largefile \
	        --enable-cipher \
	        --enable-hdri \
	        --enable-hugepages \
	        --enable-docs \
	        --disable-delegate-build \
	        --with-threads \
	        --with-modules \
	        --with-quantum-depth=32 \
	        --with-magick-plus-plus \
	        --with-perl \
	        --with-perl-options="INSTALLDIRS=vendor" \
	        --with-jemalloc \
	        --with-umem \
	        --with-bzlib \
	        --with-x \
	        --with-zlib \
	        --with-autotrace \
	        --without-dps \
	        --with-fftw \
	        --with-flif \
	        --with-fpx \
	        --with-djvu \
	        --with-fontconfig \
	        --with-freetype \
	        --with-raqm \
	        --with-gslib \
	        --with-gvc \
	        --with-jbig \
	        --with-jpeg \
	        --with-lcms \
	        --with-openjp2 \
	        --with-lqr \
	        --with-lzma \
	        --with-openexr \
	        --with-pango \
	        --with-png \
	        --with-rsvg \
	        --with-tiff \
	        --with-webp \
	        --with-wmf \
	        --with-xml \
	        --with-dejavu-font-dir="/usr/share/fonts/TTF" \
	        --with-gs-font-dir="/usr/share/fonts/Type1" \
	        --with-windows-font-dir="/usr/share/fonts/WindowsFonts"
	        
	        make
Any help would be appreciated. Thank you.
Last edited by kwash on 2016-05-01T08:51:36-07:00, edited 1 time in total.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Compile error on 7.0.1-0+

Post by dlemstra »

I just pushed a fix for this to our GIT repository. You can find the patch here: http://git.imagemagick.org/repos/ImageM ... e3978914e1. This will be fixed in the next release of ImageMagick 7.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
kwash
Posts: 17
Joined: 2016-04-30T20:47:29-07:00
Authentication code: 1151

Re: Compile error on 7.0.1-0+

Post by kwash »

dlemstra wrote:I just pushed a fix for this to our GIT repository. You can find the patch here: http://git.imagemagick.org/repos/ImageM ... e3978914e1. This will be fixed in the next release of ImageMagick 7.
It works.
Thank you for the support!
Post Reply