Date: Wed, 16 Jul 2014 11:14:58 +0000 From: "Schuendehuette, Matthias" <matthias.schuendehuette@siemens.com> To: "freebsd-ports-bugs@freebsd.org" <freebsd-ports-bugs@freebsd.org> Subject: graphics/ImageMagick: coders/jp2.c fails to compile Message-ID: <1EFE239F82F279488E86A61C92D5E2DE091B1953@DENBGAT9EI2MSX.ww902.siemens.net>
next in thread | raw e-mail | index | archive | help
Hello, I' m trying to upgrade ImageMagick to ImageMagick-6.8.9.4_1,1 but coders/jp= 2.c fails to compile. I did already a reinstall of 'openjpeg-2.1.0' and 'openjpeg15-1.5.2' but th= at didn't change nothing. Sure, I could deactivate the JPEG2000-support, but that's one of the defaul= t options AFAIK. The error messages are as follows (output of STDERR of the 'make' command): ****************************************************************** coders/jp2.c:197: error: expected '=3D', ',', ';', 'asm' or '__attribute__'= before 'JP2ReadHandler' coders/jp2.c:212: error: expected '=3D', ',', ';', 'asm' or '__attribute__'= before 'JP2SeekHandler' coders/jp2.c:221: error: expected '=3D', ',', ';', 'asm' or '__attribute__'= before 'JP2SkipHandler' coders/jp2.c:240: error: expected '=3D', ',', ';', 'asm' or '__attribute__'= before 'JP2WriteHandler' coders/jp2.c: In function 'ReadJP2Image': coders/jp2.c:267: error: 'opj_codec_t' undeclared (first use in this functi= on) coders/jp2.c:267: error: (Each undeclared identifier is reported only once coders/jp2.c:267: error: for each function it appears in.) coders/jp2.c:268: error: 'jp2_codec' undeclared (first use in this function= ) coders/jp2.c:270: error: 'opj_codestream_index_t' undeclared (first use in = this function) coders/jp2.c:271: error: 'codestream_index' undeclared (first use in this f= unction) coders/jp2.c:271: error: expected expression before ')' token coders/jp2.c:279: error: 'opj_stream_t' undeclared (first use in this funct= ion) coders/jp2.c:280: error: 'jp2_stream' undeclared (first use in this functio= n) coders/jp2.c:318: error: 'OPJ_CODEC_JPT' undeclared (first use in this func= tion) coders/jp2.c:321: error: 'OPJ_CODEC_J2K' undeclared (first use in this func= tion) coders/jp2.c:323: error: 'OPJ_CODEC_JP2' undeclared (first use in this func= tion) coders/jp2.c:324: warning: implicit declaration of function 'opj_set_warnin= g_handler' coders/jp2.c:325: warning: implicit declaration of function 'opj_set_error_= handler' coders/jp2.c:333: error: void value not ignored as it ought to be coders/jp2.c:335: warning: implicit declaration of function 'opj_destroy_co= dec' coders/jp2.c:338: warning: implicit declaration of function 'opj_stream_cre= ate' coders/jp2.c:338: error: 'OPJ_J2K_STREAM_CHUNK_SIZE' undeclared (first use = in this function) coders/jp2.c:339: warning: implicit declaration of function 'opj_stream_set= _read_function' coders/jp2.c:339: error: 'JP2ReadHandler' undeclared (first use in this fun= ction) coders/jp2.c:340: warning: implicit declaration of function 'opj_stream_set= _write_function' coders/jp2.c:340: error: 'JP2WriteHandler' undeclared (first use in this fu= nction) coders/jp2.c:341: warning: implicit declaration of function 'opj_stream_set= _seek_function' coders/jp2.c:341: error: 'JP2SeekHandler' undeclared (first use in this fun= ction) coders/jp2.c:342: warning: implicit declaration of function 'opj_stream_set= _skip_function' coders/jp2.c:342: error: 'JP2SkipHandler' undeclared (first use in this fun= ction) coders/jp2.c:343: warning: implicit declaration of function 'opj_stream_set= _user_data' coders/jp2.c:344: warning: implicit declaration of function 'opj_stream_set= _user_data_length' coders/jp2.c:345: warning: implicit declaration of function 'opj_read_heade= r' coders/jp2.c:347: warning: implicit declaration of function 'opj_stream_des= troy' coders/jp2.c:356: warning: implicit declaration of function 'opj_set_decode= _area' coders/jp2.c:368: warning: implicit declaration of function 'opj_get_decode= d_tile' coders/jp2.c:372: error: too many arguments to function 'opj_decode' coders/jp2.c:372: warning: assignment makes integer from pointer without a = cast coders/jp2.c:374: warning: implicit declaration of function 'opj_end_decomp= ress' coders/jp2.c:493: warning: implicit declaration of function 'opj_destroy_cs= tr_index' coders/jp2.c: In function 'CinemaProfileCompliance': coders/jp2.c:683: error: 'OPJ_CPRL' undeclared (first use in this function) coders/jp2.c:693: error: 'OPJ_CINEMA2K_24' undeclared (first use in this fu= nction) coders/jp2.c:694: error: 'OPJ_CINEMA2K' undeclared (first use in this funct= ion) coders/jp2.c:705: error: 'OPJ_CINEMA4K_24' undeclared (first use in this fu= nction) coders/jp2.c:706: error: 'OPJ_CINEMA4K' undeclared (first use in this funct= ion) coders/jp2.c: In function 'WriteJP2Image': coders/jp2.c:747: error: 'opj_codec_t' undeclared (first use in this functi= on) coders/jp2.c:748: error: 'jp2_codec' undeclared (first use in this function= ) coders/jp2.c:762: error: 'opj_stream_t' undeclared (first use in this funct= ion) coders/jp2.c:763: error: 'jp2_stream' undeclared (first use in this functio= n) coders/jp2.c:854: error: 'OPJ_LRCP' undeclared (first use in this function) coders/jp2.c:856: error: 'OPJ_RLCP' undeclared (first use in this function) coders/jp2.c:858: error: 'OPJ_RPCL' undeclared (first use in this function) coders/jp2.c:860: error: 'OPJ_PCRL' undeclared (first use in this function) coders/jp2.c:862: error: 'OPJ_CPRL' undeclared (first use in this function) coders/jp2.c:894: error: 'OPJ_CLRSPC_SRGB' undeclared (first use in this fu= nction) coders/jp2.c:897: error: 'OPJ_CLRSPC_SYCC' undeclared (first use in this fu= nction) coders/jp2.c:906: error: 'OPJ_CLRSPC_GRAY' undeclared (first use in this fu= nction) coders/jp2.c:1012: error: 'OPJ_CODEC_JPT' undeclared (first use in this fun= ction) coders/jp2.c:1015: error: 'OPJ_CODEC_J2K' undeclared (first use in this fun= ction) coders/jp2.c:1017: error: 'OPJ_CODEC_JP2' undeclared (first use in this fun= ction) coders/jp2.c:1021: error: 'OPJ_J2K_STREAM_CHUNK_SIZE' undeclared (first use= in this function) coders/jp2.c:1022: error: 'JP2ReadHandler' undeclared (first use in this fu= nction) coders/jp2.c:1023: error: 'JP2WriteHandler' undeclared (first use in this f= unction) coders/jp2.c:1024: error: 'JP2SeekHandler' undeclared (first use in this fu= nction) coders/jp2.c:1025: error: 'JP2SkipHandler' undeclared (first use in this fu= nction) coders/jp2.c:1027: error: expected expression before ')' token coders/jp2.c:1028: error: too few arguments to function 'ThrowMagickExcepti= on' coders/jp2.c:1029: warning: implicit declaration of function 'opj_start_com= press' coders/jp2.c:1032: error: too few arguments to function 'opj_encode' coders/jp2.c:1033: warning: implicit declaration of function 'opj_end_compr= ess' gmake[1]: *** [coders/magick_libMagickCore_6_Q16_la-jp2.lo] Fehler 1 gmake[1]: *** Warte auf noch nicht beendete Prozesse... gmake: *** [all] Fehler 2 ****************************************************************** Is there any recommendation what to do next? with best regards Matthias Sch=FCndeh=FCtte
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1EFE239F82F279488E86A61C92D5E2DE091B1953>