FreeBSD Port: ImageMagick-5.5.6_3 - Compile problem

Rodrigo Severo rodrigo at fabricadeideias.com
Mon Oct 13 14:24:56 PDT 2003


Dear Sir,


I have just installed ImageMagick 5.5.11 and had the following problem 
during compilation:

----------------------------------
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I../ -I. 
-I. -I../magick -I.. -I.. -I../magick  -I/usr/local/include/freetype2 
-I/usr/local/include -I/usr/local/include/libxml2  -O -pipe -Wall -c -o 
jp2.lo `test -f 'jp2.c' || echo './'`jp2.c
In file included from /usr/local/include/jasper/jasper.h:121,
                  from jp2.c:85:
/usr/local/include/jasper/jas_image.h:152: warning: `/*' within comment
jp2.c: In function `ReadJP2Image':
jp2.c:343: warning: implicit declaration of function `jas_clrspc_fam'
jp2.c:343: warning: implicit declaration of function `jas_image_clrspc'
jp2.c:345: `JAS_CLRSPC_FAM_RGB' undeclared (first use in this function)
jp2.c:345: (Each undeclared identifier is reported only once
jp2.c:345: for each function it appears in.)
jp2.c:348: `JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this 
function)
jp2.c:350: `JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this 
function)
jp2.c:352: `JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this 
function)
jp2.c:369: `JAS_CLRSPC_FAM_GRAY' undeclared (first use in this function)
jp2.c:372: `JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this 
function)
jp2.c:382: `JAS_CLRSPC_FAM_YCBCR' undeclared (first use in this function)
jp2.c:347: warning: unreachable code at beginning of switch statement
jp2.c: In function `WriteJP2Image':
jp2.c:760: warning: implicit declaration of function `jas_image_setclrspc'
jp2.c:760: `JAS_CLRSPC_SGRAY' undeclared (first use in this function)
jp2.c:762: `JAS_CLRSPC_CHANIND_GRAY_Y' undeclared (first use in this 
function)
jp2.c:769: `JAS_CLRSPC_SRGB' undeclared (first use in this function)
jp2.c:771: `JAS_CLRSPC_CHANIND_RGB_R' undeclared (first use in this 
function)
jp2.c:773: `JAS_CLRSPC_CHANIND_RGB_G' undeclared (first use in this 
function)
jp2.c:775: `JAS_CLRSPC_CHANIND_RGB_B' undeclared (first use in this 
function)
gmake[1]: *** [jp2.lo] Error 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/coders'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ImageMagick.
----------------------------------

I manage to compile ImageMagick setting the WITHOUT_IMAGEMAGICK_JPEG2000 
variable but I got no JPEG2000 support on ImageMagick. In fact I don't 
need it but I decided to mention it anyway so you will be able to fix it 
for others.


Thanks in advance for your attention,

Rodrigo Severo




More information about the freebsd-ports mailing list