Re: ImageMagick & MinGW/GCC TDM: Building Trouble

"Director De Juego" <[email protected]>
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
Thank you for your gracious help!

More or less it is what I suspected.

My applications have threading management but Imagemagick per se is not
implicated in threads.

Yes. Usually I build with the option --disable-shared enabled. But because
this error was new (for me) I felt in the duty to communicate it formally.

An important note (!!!): Due to my own error, the bug does not become
reflected correctly in my previous message. Sorry!

This is the true log. Perhaps be useful for somebody.

$ ./configure --disable-shared

[blah, blah, blah]

$ make

make  all-am
make[1]: Entering directory
`/home/Administrador/ImageMagick-6.4.4/builds-no-shared'
/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I.. -I./config  -I./ltdl -I../ltdl  -D_LIB -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_LIB -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
In file included from ../magick/annotate.c:55:
../magick/draw-private.h: In function 'GetFillColor':
../magick/draw-private.h:41: warning: ignoring #pragma omp critical
../magick/draw-private.h: In function 'GetStrokeColor':
../magick/draw-private.h:59: warning: ignoring #pragma omp critical
../magick/annotate.c: In function 'RenderX11':
../magick/annotate.c:2211: warning: unused parameter 'draw_info'
../magick/annotate.c:2212: warning: unused parameter 'offset'
../magick/annotate.c:2212: warning: unused parameter 'metrics'
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_LIB -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_LIB -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
../magick/blob.c: In function 'MapBlob':
../magick/blob.c:1969: warning: unused parameter 'file'
../magick/blob.c:1969: warning: unused parameter 'mode'
../magick/blob.c:1970: warning: unused parameter 'offset'
../magick/blob.c:1970: warning: unused parameter 'length'
../magick/blob.c: In function 'UnmapBlob':
../magick/blob.c:3695: warning: unused parameter 'map'
../magick/blob.c:3695: warning: unused parameter 'length'
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_LIB -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
../magick/cache.c: In function 'GetCacheThreadId':
../magick/cache.c:1325: error: aggregate value used where an integer was
expected
make[1]: *** [magick/magick_libMagickCore_la-cache.lo] Error 1
make[1]: Leaving directory
`/home/Administrador/ImageMagick-6.4.4/builds-no-shared'
make: *** [all] Error 2


Thank you!

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.