ImageMagick compile error

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
yshuang

ImageMagick compile error

Post by yshuang »

I am new to this software.
I want to compile the ImageMagick 6 in AIX 5.3 Operation system using IBM XL C
but
here is what I got compiling error message

source='coders/mat.c' object='coders/magick_libMagick_la-mat.lo' libtool
=yes DEPDIR=.deps depmode=aix /bin/sh ./config/depcomp /bin/sh ./libtool --sil
ent --tag=CC --mode=compile cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I./magick
-I./wand -I./ltdl -I./ltdl -g -D_THREAD_SAFE -c -o coders/magick_libMagick_
la-mat.lo `test -f 'coders/mat.c' || echo './'`coders/mat.c
"coders/mat.c", line 571.24: 1506-046 (S) Syntax error.
make: 1254-004 The error code from the last command is 1.

Could you tell me what's wrong here?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick compile error

Post by magick »

Not a very descriptive error. Line 571 in our source base is
  • size = ReadBlobXXXLong(image);
This source module compiles for us on about 9 different operating systems we build ImageMagick on so currently we're clueless why the AIX compiler is complaining.
yshuang

Re: ImageMagick compile error

Post by yshuang »

this time I try to use gcc 4.0
and then it returns

/bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I./magick -I./wand -I./ltdl -I./ltdl -I/opt/freeware/include/freetype2 -
I/opt/freeware/include -I/opt/freeware/include/libxml2 -g -O2 -Wall -W -D_THREA
D_SAFE -MT magick/magick_libMagick_la-compress.lo -MD -MP -MF magick/.deps/magic
k_libMagick_la-compress.Tpo -c -o magick/magick_libMagick_la-compress.lo `test -
f 'magick/compress.c' || echo './'`magick/compress.c
In file included from /opt/freeware/include/tiffio.h:33,
from magick/compress.c:61:
/opt/freeware/include/tiff.h:86: error: conflicting types for 'int32'
/usr/include/sys/inttypes.h:620: error: previous declaration of 'int32' was here
make: 1254-004 The error code from the last command is 1.

could you give some hint?
thanks
yshuang

Re: ImageMagick compile error

Post by yshuang »

By the way,
the version I used is V6.3.4

thanks
yshuang

Re: ImageMagick compile error

Post by yshuang »

I try to compile Imagemagick 6.3.9 by gcc 4.0 and got following error message:

/bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I./config -I./ltdl -I./ltdl -I/opt/freeware/include/freetype2 -I/opt/fre
eware/include -I/opt/freeware/include/libxml2 -g -O2 -Wall -W -D_THREAD_SAFE -M
T magick/magick_libMagickCore_la-compress.lo -MD -MP -MF magick/.deps/magick_lib
MagickCore_la-compress.Tpo -c -o magick/magick_libMagickCore_la-compress.lo `tes
t -f 'magick/compress.c' || echo './'`magick/compress.c
In file included from /opt/freeware/include/tiffio.h:33,
from magick/compress.c:62:
/opt/freeware/include/tiff.h:86: error: conflicting types for 'int32'
/usr/include/sys/inttypes.h:620: error: previous declaration of 'int32' was here
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
yshuang

Re: ImageMagick compile error

Post by yshuang »

I just don't understnad why you didn't have AIX compiled package?
yshuang

Re: ImageMagick compile error

Post by yshuang »

..... :(
I asked...and I answered myself...
It really made me sad..
such a good software , but no one here trying to help me ....?
I didn't know why?

Y.S.
Post Reply