ImageMagick & MinGW/GCC TDM: Building Trouble

"Director De Juego" <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
Greetings!

I am a very happy Imagemagick long-standing user in environment MinGW/mSYS.

I am trying to build the newest ImageMagick version in the platform
unofficial DragonTDM MinGW.

I will be brief.

When I build

./configure
make

--------------------

[...]

config.status: executing magick.sh.in commands

ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.

Host system type: i686-pc-mingw32
Build system type: i686-pc-mingw32

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=yes        yes
Static libraries  --enable-static=yes        yes
Module support    --with-modules=yes        yes
GNU ld            --with-gnu-ld=yes            yes
Quantum depth     --with-quantum-depth=16    16
High Dynamic Range Imagery
                  --enable-hdri=no        no

Delegate Configuration:
BZLIB             --with-bzlib=yes        no
Autotrace         --with-autotrace=no        no
DJVU              --with-djvu=yes        no
DPS               --with-dps=yes        no
FlashPIX          --with-fpx=yes        no
FontConfig        --with-fontconfig=no        no
FreeType          --with-freetype=yes        no
GhostPCL          None                pcl6 (unknown)
GhostXPS          None                gxps (unknown)
Ghostscript       None                gswin32c (unknown)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib   --with-gslib=yes        no
Graphviz          --with-gvc=yes        no
JBIG              --with-jbig=yes        no
JPEG v1           --with-jpeg=yes        no
JPEG-2000         --with-jp2=yes        no
LCMS              --with-lcms=yes        no
LQR               --with-lqr=yes        no
Magick++          --with-magick-plus-plus=yes    yes
OpenEXR           --with-openexr=yes        no
PERL              --with-perl=yes        no
PNG               --with-png=yes        no
RSVG              --with-rsvg=no        no
TIFF              --with-tiff=yes        no
result_windows_font_dir='none'
Windows fonts     --with-windows-font-dir=
WMF               --with-wmf=yes        no
X11               --with-x=                no
XML               --with-xml=no        no
ZLIB              --with-zlib=yes        no

X11 Configuration:
      X_CFLAGS        =
      X_PRE_LIBS      =
      X_LIBS          =
      X_EXTRA_LIBS    =

Options used to compile and link:
  PREFIX          = /usr/local
  EXEC-PREFIX     = /usr/local
  VERSION         = 6.4.4
  CC              = gcc -std=gnu99
  CFLAGS          = -g -O2 -Wall -W
  MAGICK_CFLAGS   = -g -O2 -Wall -W
  CPPFLAGS        = -I/usr/local/include/ImageMagick -D_DLL -D_MT
  PCFLAGS         = -D_DLL -D_MT
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         =
  MAGICK_LDFLAGS  = -L/usr/local/lib
  LIBS            = -lMagickCore -lgdi32 -lm -lpthread
  CXX             = g++
  CXXFLAGS        = -g -O2 -Wall -W

$ make

/bin/sh ../config/mkinstalldirs . ltdl/
cp ../ltdl/argz_.h ltdl/argz.h-t
mv ltdl/argz.h-t ltdl/argz.h
make  all-am
make[1]: Entering directory `/home/Administrador/ImageMagick-6.4.4/builds'
/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I./config   -D_DLL -D_MT  -g -O2 -Wall -W -MT
coders/coders_art_la-art.lo -MD -MP -MF coders/.deps/coders_art_la-art.Tpo
-c -o coders/coders_art_la-art.lo `test -f 'coders/art.c' || echo
'../'`coders/art.c
mv -f coders/.deps/coders_art_la-art.Tpo coders/.deps/coders_art_la-art.Plo
/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I./config  -I./ltdl -I../ltdl -D_MAGICKLIB_
-D_MAGICKMOD_ -D_DLL -D_MT  -g -O2 -Wall -W -MT
magick/magick_libMagickCore_la-animate.lo -MD -MP -MF
magick/.deps/magick_libMagickCore_la-animate.Tpo -c -o
magick/magick_libMagickCore_la-animate.lo `test -f 'magick/animate.c' ||
echo '../'`magick/animate.c
mv -f magick/.deps/magick_libMagickCore_la-animate.Tpo
magick/.deps/magick_libMagickCore_la-animate.Plo
/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I./config  -I./ltdl -I../ltdl -D_MAGICKLIB_
-D_MAGICKMOD_ -D_DLL -D_MT  -g -O2 -Wall -W -MT
magick/magick_libMagickCore_la-annotate.lo -MD -MP -MF
magick/.deps/magick_libMagickCore_la-annotate.Tpo -c -o
magick/magick_libMagickCore_la-annotate.lo `test -f 'magick/annotate.c' ||
echo '../'`magick/annotate.c
mv -f magick/.deps/magick_libMagickCore_la-annotate.Tpo
magick/.deps/magick_libMagickCore_la-annotate.Plo
/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I./config  -I./ltdl -I../ltdl -D_MAGICKLIB_
-D_MAGICKMOD_ -D_DLL -D_MT  -g -O2 -Wall -W -MT
magick/magick_libMagickCore_la-artifact.lo -MD -MP -MF
magick/.deps/magick_libMagickCore_la-artifact.Tpo -c -o
magick/magick_libMagickCore_la-artifact.lo `test -f 'magick/artifact.c' ||
echo '../'`magick/artifact.c
mv -f magick/.deps/magick_libMagickCore_la-artifact.Tpo
magick/.deps/magick_libMagickCore_la-artifact.Plo
/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I./config  -I./ltdl -I../ltdl -D_MAGICKLIB_
-D_MAGICKMOD_ -D_DLL -D_MT  -g -O2 -Wall -W -MT
magick/magick_libMagickCore_la-blob.lo -MD -MP -MF
magick/.deps/magick_libMagickCore_la-blob.Tpo -c -o
magick/magick_libMagickCore_la-blob.lo `test -f 'magick/blob.c' || echo
'../'`magick/blob.c
mv -f magick/.deps/magick_libMagickCore_la-blob.Tpo
magick/.deps/magick_libMagickCore_la-blob.Plo
/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I./config  -I./ltdl -I../ltdl -D_MAGICKLIB_
-D_MAGICKMOD_ -D_DLL -D_MT  -g -O2 -Wall -W -MT
magick/magick_libMagickCore_la-cache.lo -MD -MP -MF
magick/.deps/magick_libMagickCore_la-cache.Tpo -c -o
magick/magick_libMagickCore_la-cache.lo `test -f 'magick/cache.c' || echo
'../'`magick/cache.c
make[1]: Leaving directory `/home/Administrador/ImageMagick-6.4.4/builds'

--------------------




However

./configure --without-threads
make

Success!

Logically, I fear future repercussions. Any idea?

It is not official MinGW version but wxWidgets-2.8.9, Boost-1.36.0,
SDL-1.13, and pthreads-win32-2.8.0 run like a charm.

Thank you in advance for the help!

PD: Sorry for my english.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.