make error: compress.c error with Huffman2DEncodeImage
Cameron Dykes <[email protected]> Tue, 28 Apr 2009 09:07:46 -0500
| Newsgroups | gmane.comp.video.image-magick.bugs |
|---|---|
| Organization | Premiere Speakers Bureau |
| Message-ID | <[email protected]> |
When compiling from source, I get an this error message... magick/compress.c:1055: error: conflicting types for ‘Huffman2DEncodeImage’ ./magick/compress.h:49: error: previous declaration of ‘Huffman2DEncodeImage’ was here magick/compress.c: In function ‘Huffman2DEncodeImage’: magick/compress.c:1053: warning: unused parameter ‘image_info’ make[1]: *** [magick/magick_libMagickCore_la-compress.lo] Error 1 make: *** [all] Error 2 I looked in the header and noticed an extra parameter is present. When I try removing the extra parameter in the header, I still get make errors b/c function calls are using three parameters. My hunch is that the function itself is missing the changes added in 6.5.1-7, considering compress.c has the same function as version 6.5.1-6 OS: OSX Leapord Compiler: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) If it helps, I have always been installing from source and version 6.5.1-7 and 6.5.1-8 are the first not to compile, both for the same reason. -- Cameron Dykes Senior Programmer Premiere Speakers Bureau 615.261.4000 x 1021 www.premierespeakers.com