ImageMagick & MinGW/GCC TDM: Building Trouble (Stage 4)

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

Log.c

747:#if defined(MAGICKCORE_HAVE_PTHREAD)
748:  return( (unsigned long ) ((void *)pthread_self()));
749:#endif


and

747:#if defined(MAGICKCORE_HAVE_PTHREAD)
748:  return( *(unsigned long *) pthread_self());
749:#endif

I get (After modification (Inmediately) without make clean)

$ make
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  -I./ltdl -I../ltdl -D_MAGICKLIB_
-D_MAGICKMOD_ -D_DLL -D_MT  -g -O2 -Wall -W -MT
magick/magick_libMagickCore_la-log.lo -MD -MP -MF
magick/.deps/magick_libMagickCore_la-log.Tpo -c -o
magick/magick_libMagickCore_la-log.lo `test -f 'magick/log.c' || echo
'../'`magick/log.c
../magick/log.c: In function 'GetLogThreadId':
../magick/log.c:748: error: cannot convert to a pointer type
make[1]: *** [magick/magick_libMagickCore_la-log.lo] Error 1
make[1]: Leaving directory `/home/Administrador/ImageMagick-6.4.4/builds'
make: *** [all] Error 2

Cheers!

DJuego
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.