ImageMagic

eh…prilikom kompajliranja ovog programa kod “make” dobijem ovaj error:

velimir@cemetery:~/docs/ImageMagick-6.2.3$ make make all-am make[1]: Entering directory `/home/velimir/docs/ImageMagick-6.2.3' depbase=`echo ltdl/ltdl.lo | sed 's|[^/]*$|.deps/&|;s|.lo$||'`; if /bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I. -I. -I./Magick++/lib -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -g -O2 -Wall -pthread -MT ltdl/ltdl.lo -MD -MP -MF "$depbase.Tpo" -c -o ltdl/ltdl.lo ltdl/ltdl.c; then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi /bin/sh ./libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -pthread -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib -o ltdl/libltdl.la -rpath /usr/local/lib -no-undefined -version-info 4:0:1 ltdl/ltdl.lo -ldl if /bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -g -O2 -Wall -pthread -MT magick/magick_libMagick_la-animate.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-animate.Tpo" -c -o magick/magick_libMagick_la-animate.lo `test -f 'magick/animate.c' || echo './'`magick/animate.c; then mv -f "magick/.deps/magick_libMagick_la-animate.Tpo" "magick/.deps/magick_libMagick_la-animate.Plo"; else rm -f "magick/.deps/magick_libMagick_la-animate.Tpo"; exit 1; fi if /bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -g -O2 -Wall -pthread -MT magick/magick_libMagick_la-annotate.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-annotate.Tpo" -c -o magick/magick_libMagick_la-annotate.lo `test -f 'magick/annotate.c' || echo './'`magick/annotate.c; then mv -f "magick/.deps/magick_libMagick_la-annotate.Tpo" "magick/.deps/magick_libMagick_la-annotate.Plo"; else rm -f "magick/.deps/magick_libMagick_la-annotate.Tpo"; exit 1; fi In file included from magick/annotate.c:80: /usr/include/freetype2/freetype/ftglyph.h:40:2: #error "freetype.h of FreeType 1 has been loaded!" /usr/include/freetype2/freetype/ftglyph.h:41:2: #error "Please fix the directory search order for header files" /usr/include/freetype2/freetype/ftglyph.h:42:2: #error "so that freetype.h of FreeType 2 is found first." In file included from magick/annotate.c:80: /usr/include/freetype2/freetype/ftglyph.h:110: error: parse error before "FT_Library" /usr/include/freetype2/freetype/ftglyph.h:110: warning: no semicolon at end of struct or union /usr/include/freetype2/freetype/ftglyph.h:112: error: parse error before "format" /usr/include/freetype2/freetype/ftglyph.h:112: warning: type defaults to `int' in declaration of `format' /usr/include/freetype2/freetype/ftglyph.h:112: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:113: error: parse error before "advance" /usr/include/freetype2/freetype/ftglyph.h:113: warning: type defaults to `int' in declaration of `advance' /usr/include/freetype2/freetype/ftglyph.h:113: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:115: warning: type defaults to `int' in declaration of `FT_GlyphRec' /usr/include/freetype2/freetype/ftglyph.h:115: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:162: error: parse error before "FT_GlyphRec" /usr/include/freetype2/freetype/ftglyph.h:162: warning: no semicolon at end of struct or union /usr/include/freetype2/freetype/ftglyph.h:163: warning: type defaults to `int' in declaration of `left' /usr/include/freetype2/freetype/ftglyph.h:163: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:164: error: parse error before "top" /usr/include/freetype2/freetype/ftglyph.h:164: warning: type defaults to `int' in declaration of `top' /usr/include/freetype2/freetype/ftglyph.h:164: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:165: error: parse error before "bitmap" /usr/include/freetype2/freetype/ftglyph.h:165: warning: type defaults to `int' in declaration of `bitmap' /usr/include/freetype2/freetype/ftglyph.h:165: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:167: warning: type defaults to `int' in declaration of `FT_BitmapGlyphRec' /usr/include/freetype2/freetype/ftglyph.h:167: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:210: error: parse error before "FT_GlyphRec" /usr/include/freetype2/freetype/ftglyph.h:210: warning: no semicolon at end of struct or union /usr/include/freetype2/freetype/ftglyph.h:211: warning: type defaults to `int' in declaration of `outline' /usr/include/freetype2/freetype/ftglyph.h:211: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:213: warning: type defaults to `int' in declaration of `FT_OutlineGlyphRec' /usr/include/freetype2/freetype/ftglyph.h:213: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:234: error: parse error before "FT_Get_Glyph" /usr/include/freetype2/freetype/ftglyph.h:234: error: parse error before "slot" /usr/include/freetype2/freetype/ftglyph.h:235: warning: type defaults to `int' in declaration of `FT_Get_Glyph' /usr/include/freetype2/freetype/ftglyph.h:235: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:258: error: parse error before "FT_Glyph_Copy" /usr/include/freetype2/freetype/ftglyph.h:259: warning: type defaults to `int' in declaration of `FT_Glyph_Copy' /usr/include/freetype2/freetype/ftglyph.h:259: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:288: error: parse error before "FT_Glyph_Transform" /usr/include/freetype2/freetype/ftglyph.h:289: error: parse error before "FT_Matrix" /usr/include/freetype2/freetype/ftglyph.h:290: warning: type defaults to `int' in declaration of `FT_Glyph_Transform' /usr/include/freetype2/freetype/ftglyph.h:290: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:410: error: parse error before "FT_Glyph_Get_CBox" /usr/include/freetype2/freetype/ftglyph.h:411: error: parse error before "FT_UInt" /usr/include/freetype2/freetype/ftglyph.h:412: warning: type defaults to `int' in declaration of `FT_Glyph_Get_CBox' /usr/include/freetype2/freetype/ftglyph.h:412: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:485: error: parse error before "FT_Glyph_To_Bitmap" /usr/include/freetype2/freetype/ftglyph.h:486: error: parse error before "FT_Render_Mode" /usr/include/freetype2/freetype/ftglyph.h:488: warning: type defaults to `int' in declaration of `FT_Glyph_To_Bitmap' /usr/include/freetype2/freetype/ftglyph.h:488: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:503: error: parse error before "FT_Done_Glyph" /usr/include/freetype2/freetype/ftglyph.h:503: warning: type defaults to `int' in declaration of `FT_Done_Glyph' /usr/include/freetype2/freetype/ftglyph.h:503: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:534: error: parse error before "FT_Matrix_Multiply" /usr/include/freetype2/freetype/ftglyph.h:534: warning: type defaults to `int' in declaration of `FT_Matrix' /usr/include/freetype2/freetype/ftglyph.h:534: error: parse error before '*' token /usr/include/freetype2/freetype/ftglyph.h:535: warning: type defaults to `int' in declaration of `FT_Matrix_Multiply' /usr/include/freetype2/freetype/ftglyph.h:535: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftglyph.h:554: error: parse error before "FT_Matrix_Invert" /usr/include/freetype2/freetype/ftglyph.h:554: error: parse error before '*' token /usr/include/freetype2/freetype/ftglyph.h:554: warning: type defaults to `int' in declaration of `FT_Matrix_Invert' /usr/include/freetype2/freetype/ftglyph.h:554: warning: data definition has no type or storage class In file included from magick/annotate.c:85: /usr/include/freetype2/freetype/ftoutln.h:28:2: #error "freetype.h of FreeType 1 has been loaded!" /usr/include/freetype2/freetype/ftoutln.h:29:2: #error "Please fix the directory search order for header files" /usr/include/freetype2/freetype/ftoutln.h:30:2: #error "so that freetype.h of FreeType 2 is found first." In file included from magick/annotate.c:85: /usr/include/freetype2/freetype/ftoutln.h:108: error: parse error before "FT_Outline_Decompose" /usr/include/freetype2/freetype/ftoutln.h:108: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:110: warning: type defaults to `int' in declaration of `FT_Outline_Decompose' /usr/include/freetype2/freetype/ftoutln.h:110: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:143: error: parse error before "FT_Outline_New" /usr/include/freetype2/freetype/ftoutln.h:143: error: parse error before "library" /usr/include/freetype2/freetype/ftoutln.h:146: warning: type defaults to `int' in declaration of `FT_Outline_New' /usr/include/freetype2/freetype/ftoutln.h:146: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:150: error: parse error before "FT_Outline_New_Internal" /usr/include/freetype2/freetype/ftoutln.h:150: error: parse error before "memory" /usr/include/freetype2/freetype/ftoutln.h:153: warning: type defaults to `int' in declaration of `FT_Outline_New_Internal' /usr/include/freetype2/freetype/ftoutln.h:153: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:181: error: parse error before "FT_Outline_Done" /usr/include/freetype2/freetype/ftoutln.h:181: error: parse error before "library" /usr/include/freetype2/freetype/ftoutln.h:182: warning: type defaults to `int' in declaration of `FT_Outline_Done' /usr/include/freetype2/freetype/ftoutln.h:182: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:186: error: parse error before "FT_Outline_Done_Internal" /usr/include/freetype2/freetype/ftoutln.h:186: error: parse error before "memory" /usr/include/freetype2/freetype/ftoutln.h:187: warning: type defaults to `int' in declaration of `FT_Outline_Done_Internal' /usr/include/freetype2/freetype/ftoutln.h:187: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:205: error: parse error before "FT_Outline_Check" /usr/include/freetype2/freetype/ftoutln.h:205: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:205: warning: type defaults to `int' in declaration of `FT_Outline_Check' /usr/include/freetype2/freetype/ftoutln.h:205: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:232: error: parse error before "FT_Outline_Get_CBox" /usr/include/freetype2/freetype/ftoutln.h:232: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:233: warning: type defaults to `int' in declaration of `FT_Outline_Get_CBox' /usr/include/freetype2/freetype/ftoutln.h:233: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:253: error: parse error before "FT_Outline_Translate" /usr/include/freetype2/freetype/ftoutln.h:253: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:255: warning: type defaults to `int' in declaration of `FT_Outline_Translate' /usr/include/freetype2/freetype/ftoutln.h:255: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:278: error: parse error before "FT_Outline_Copy" /usr/include/freetype2/freetype/ftoutln.h:278: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:279: warning: type defaults to `int' in declaration of `FT_Outline_Copy' /usr/include/freetype2/freetype/ftoutln.h:279: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:302: error: parse error before "FT_Outline_Transform" /usr/include/freetype2/freetype/ftoutln.h:302: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:303: warning: type defaults to `int' in declaration of `FT_Outline_Transform' /usr/include/freetype2/freetype/ftoutln.h:303: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:326: error: parse error before "FT_Outline_Reverse" /usr/include/freetype2/freetype/ftoutln.h:326: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:326: warning: type defaults to `int' in declaration of `FT_Outline_Reverse' /usr/include/freetype2/freetype/ftoutln.h:326: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:356: error: parse error before "FT_Outline_Get_Bitmap" /usr/include/freetype2/freetype/ftoutln.h:356: error: parse error before "library" /usr/include/freetype2/freetype/ftoutln.h:358: warning: type defaults to `int' in declaration of `FT_Outline_Get_Bitmap' /usr/include/freetype2/freetype/ftoutln.h:358: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:393: error: parse error before "FT_Outline_Render" /usr/include/freetype2/freetype/ftoutln.h:393: error: parse error before "library" /usr/include/freetype2/freetype/ftoutln.h:395: warning: type defaults to `int' in declaration of `FT_Outline_Render' /usr/include/freetype2/freetype/ftoutln.h:395: warning: data definition has no type or storage class /usr/include/freetype2/freetype/ftoutln.h:461: error: parse error before "FT_Outline_Get_Orientation" /usr/include/freetype2/freetype/ftoutln.h:461: error: parse error before '*' token /usr/include/freetype2/freetype/ftoutln.h:461: warning: type defaults to `int' in declaration of `FT_Outline_Get_Orientation' /usr/include/freetype2/freetype/ftoutln.h:461: warning: data definition has no type or storage class In file included from magick/annotate.c:90: /usr/include/freetype2/freetype/ftbbox.h:38:2: #error "freetype.h of FreeType 1 has been loaded!" /usr/include/freetype2/freetype/ftbbox.h:39:2: #error "Please fix the directory search order for header files" /usr/include/freetype2/freetype/ftbbox.h:40:2: #error "so that freetype.h of FreeType 2 is found first." In file included from magick/annotate.c:90: /usr/include/freetype2/freetype/ftbbox.h:77: error: parse error before "FT_Outline_Get_BBox" /usr/include/freetype2/freetype/ftbbox.h:77: error: parse error before '*' token /usr/include/freetype2/freetype/ftbbox.h:78: warning: type defaults to `int' in declaration of `FT_Outline_Get_BBox' /usr/include/freetype2/freetype/ftbbox.h:78: warning: data definition has no type or storage class magick/annotate.c:1052: error: parse error before '*' token magick/annotate.c: In function `TraceCubicBezier': magick/annotate.c:1061: error: `draw_info' undeclared (first use in this function) magick/annotate.c:1061: error: (Each undeclared identifier is reported only once magick/annotate.c:1061: error: for each function it appears in.) magick/annotate.c:1063: error: `p' undeclared (first use in this function) magick/annotate.c:1063: error: `q' undeclared (first use in this function) magick/annotate.c:1064: error: `to' undeclared (first use in this function) magick/annotate.c: At top level: magick/annotate.c:1069: error: parse error before '*' token magick/annotate.c: In function `TraceLineTo': magick/annotate.c:1077: error: `draw_info' undeclared (first use in this function) magick/annotate.c:1078: error: `to' undeclared (first use in this function) magick/annotate.c: At top level: magick/annotate.c:1084: error: parse error before '*' token magick/annotate.c: In function `TraceMoveTo': magick/annotate.c:1092: error: `draw_info' undeclared (first use in this function) magick/annotate.c:1093: error: `to' undeclared (first use in this function) magick/annotate.c: At top level: magick/annotate.c:1099: error: parse error before '*' token magick/annotate.c: In function `TraceQuadraticBezier': magick/annotate.c:1108: error: `draw_info' undeclared (first use in this function) magick/annotate.c:1110: error: `control' undeclared (first use in this function) magick/annotate.c:1110: error: `to' undeclared (first use in this function) magick/annotate.c: In function `RenderFreetype': magick/annotate.c:1125: error: parse error before "FT_UInt" magick/annotate.c:1125: warning: no semicolon at end of struct or union magick/annotate.c:1129: error: `FT_Vector' undeclared (first use in this function) magick/annotate.c:1132: warning: declaration of `image' shadows a parameter magick/annotate.c:1132: warning: unused variable `image' magick/annotate.c: At top level: magick/annotate.c:1133: warning: type defaults to `int' in declaration of `GlyphInfo' magick/annotate.c:1133: warning: data definition has no type or storage class magick/annotate.c:1139: error: parse error before "bounds" magick/annotate.c:1139: warning: type defaults to `int' in declaration of `bounds' magick/annotate.c:1139: warning: data definition has no type or storage class magick/annotate.c:1142: error: conflicting types for `bitmap' /usr/include/freetype2/freetype/ftglyph.h:165: error: previous declaration of `bitmap' magick/annotate.c:1145: error: parse error before "encoding_type" magick/annotate.c:1145: warning: type defaults to `int' in declaration of `encoding_type' magick/annotate.c:1145: warning: data definition has no type or storage class magick/annotate.c:1148: error: parse error before "status" magick/annotate.c:1148: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1148: warning: data definition has no type or storage class magick/annotate.c:1151: error: parse error before "face" magick/annotate.c:1151: warning: type defaults to `int' in declaration of `face' magick/annotate.c:1151: warning: data definition has no type or storage class magick/annotate.c:1154: error: parse error before "library" magick/annotate.c:1154: warning: type defaults to `int' in declaration of `library' magick/annotate.c:1154: warning: data definition has no type or storage class magick/annotate.c:1157: error: parse error before "affine" magick/annotate.c:1157: warning: type defaults to `int' in declaration of `affine' magick/annotate.c:1157: warning: data definition has no type or storage class magick/annotate.c:1160: error: parse error before "args" magick/annotate.c:1160: warning: type defaults to `int' in declaration of `args' magick/annotate.c:1160: warning: data definition has no type or storage class magick/annotate.c:1163: error: parse error before "origin" magick/annotate.c:1163: warning: type defaults to `int' in declaration of `origin' magick/annotate.c:1163: warning: data definition has no type or storage class magick/annotate.c:1166: error: parse error before "glyph" magick/annotate.c:1166: warning: type defaults to `int' in declaration of `glyph' magick/annotate.c:1167: warning: type defaults to `int' in declaration of `last_glyph' magick/annotate.c:1167: warning: data definition has no type or storage class magick/annotate.c:1190: error: `q' used prior to declaration magick/annotate.c:1193: error: `p' used prior to declaration magick/annotate.c:1199: error: parse error before "OutlineMethods" magick/annotate.c:1199: warning: type defaults to `int' in declaration of `OutlineMethods' magick/annotate.c:1201: error: `FT_Outline_MoveTo_Func' undeclared here (not in a function) magick/annotate.c:1201: error: initializer element is not constant magick/annotate.c:1201: error: (near initialization for `OutlineMethods') magick/annotate.c:1201: error: parse error before "TraceMoveTo" magick/annotate.c:1202: error: `FT_Outline_LineTo_Func' undeclared here (not in a function) magick/annotate.c:1202: warning: excess elements in scalar initializer magick/annotate.c:1202: warning: (near initialization for `OutlineMethods') magick/annotate.c:1202: error: parse error before "TraceLineTo" magick/annotate.c:1203: error: `FT_Outline_ConicTo_Func' undeclared here (not in a function) magick/annotate.c:1203: warning: excess elements in scalar initializer magick/annotate.c:1203: warning: (near initialization for `OutlineMethods') magick/annotate.c:1203: error: parse error before "TraceQuadraticBezier" magick/annotate.c:1204: error: `FT_Outline_CubicTo_Func' undeclared here (not in a function) magick/annotate.c:1204: warning: excess elements in scalar initializer magick/annotate.c:1204: warning: (near initialization for `OutlineMethods') magick/annotate.c:1204: error: parse error before "TraceCubicBezier" magick/annotate.c:1205: warning: excess elements in scalar initializer magick/annotate.c:1205: warning: (near initialization for `OutlineMethods') magick/annotate.c:1206: warning: excess elements in scalar initializer magick/annotate.c:1206: warning: (near initialization for `OutlineMethods') magick/annotate.c:1206: warning: data definition has no type or storage class magick/annotate.c:1214: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1214: warning: implicit declaration of function `FT_Init_FreeType' magick/annotate.c:1214: error: initializer element is not constant magick/annotate.c:1214: warning: data definition has no type or storage class magick/annotate.c:1215: error: parse error before "if" magick/annotate.c:1218: error: parse error before '.' token magick/annotate.c:1223: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1223: error: redefinition of `status' magick/annotate.c:1214: error: `status' previously defined here magick/annotate.c:1223: warning: implicit declaration of function `FT_Open_Face' magick/annotate.c:1223: error: `draw_info' undeclared here (not in a function) magick/annotate.c:1223: error: initializer element is not constant magick/annotate.c:1223: warning: data definition has no type or storage class magick/annotate.c:1224: error: parse error before "if" magick/annotate.c:1232: warning: type defaults to `int' in declaration of `encoding_type' magick/annotate.c:1232: error: `ft_encoding_unicode' undeclared here (not in a function) magick/annotate.c:1232: warning: data definition has no type or storage class magick/annotate.c:1233: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1233: error: redefinition of `status' magick/annotate.c:1223: error: `status' previously defined here magick/annotate.c:1233: warning: implicit declaration of function `FT_Select_Charmap' magick/annotate.c:1233: error: initializer element is not constant magick/annotate.c:1233: warning: data definition has no type or storage class magick/annotate.c:1234: error: parse error before "if" magick/annotate.c:1266: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1266: error: redefinition of `status' magick/annotate.c:1233: error: `status' previously defined here magick/annotate.c:1266: error: initializer element is not constant magick/annotate.c:1266: warning: data definition has no type or storage class magick/annotate.c:1267: error: parse error before "if" magick/annotate.c:1283: warning: type defaults to `int' in declaration of `flags' magick/annotate.c:1283: error: conflicting types for `flags' magick/annotate.c:1281: error: previous declaration of `flags' magick/annotate.c:1283: error: `draw_info' undeclared here (not in a function) magick/annotate.c:1283: error: `geometry_info' undeclared here (not in a function) magick/annotate.c:1283: warning: data definition has no type or storage class magick/annotate.c:1284: error: parse error before '.' token magick/annotate.c:1347: warning: type defaults to `int' in declaration of `text' magick/annotate.c:1347: error: conflicting types for `text' magick/annotate.c:1209: error: previous declaration of `text' magick/annotate.c:1347: error: `image' undeclared here (not in a function) magick/annotate.c:1347: error: `draw_info' undeclared here (not in a function) magick/annotate.c:1347: warning: data definition has no type or storage class magick/annotate.c:1348: error: parse error before "break" magick/annotate.c:1378: warning: type defaults to `int' in declaration of `annotate_info' magick/annotate.c:1378: error: conflicting types for `annotate_info' magick/annotate.c:1136: error: previous declaration of `annotate_info' magick/annotate.c:1378: error: `draw_info' undeclared here (not in a function) magick/annotate.c:1378: warning: data definition has no type or storage class magick/annotate.c:1379: error: parse error before "void" magick/annotate.c:1398: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1398: error: redefinition of `status' magick/annotate.c:1266: error: `status' previously defined here magick/annotate.c:1398: warning: implicit declaration of function `FT_Load_Glyph' magick/annotate.c:1398: error: request for member `id' in something not a structure or union magick/annotate.c:1398: error: `FT_LOAD_NO_BITMAP' undeclared here (not in a function) magick/annotate.c:1398: error: initializer element is not constant magick/annotate.c:1398: warning: data definition has no type or storage class magick/annotate.c:1399: error: parse error before "if" magick/annotate.c:1401: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1401: error: redefinition of `status' magick/annotate.c:1398: error: `status' previously defined here magick/annotate.c:1401: error: invalid type argument of `->' magick/annotate.c:1401: error: request for member `image' in something not a structure or union magick/annotate.c:1401: error: initializer element is not constant magick/annotate.c:1401: warning: data definition has no type or storage class magick/annotate.c:1402: error: parse error before "if" magick/annotate.c:1404: warning: type defaults to `int' in declaration of `status' magick/annotate.c:1404: error: redefinition of `status' magick/annotate.c:1401: error: `status' previously defined here magick/annotate.c:1404: error: request for member `image' in something not a structure or union magick/annotate.c:1405: error: initializer element is not constant magick/annotate.c:1405: warning: data definition has no type or storage class magick/annotate.c:1406: error: parse error before "if" magick/annotate.c:1428: error: parse error before '&' token magick/annotate.c:1428: warning: type defaults to `int' in declaration of `FT_Vector_Transform' magick/annotate.c:1428: warning: data definition has no type or storage class magick/annotate.c:1429: error: parse error before "void" magick/annotate.c:1439: warning: type defaults to `int' in declaration of `bitmap' magick/annotate.c:1439: error: conflicting types for `bitmap' magick/annotate.c:1142: error: previous declaration of `bitmap' magick/annotate.c:1439: error: request for member `image' in something not a structure or union magick/annotate.c:1439: warning: data definition has no type or storage class magick/annotate.c:1440: error: parse error before '->' token magick/annotate.c:1443: warning: type defaults to `int' in declaration of `p' magick/annotate.c:1443: error: conflicting types for `p' magick/annotate.c:1193: error: previous declaration of `p' magick/annotate.c:1443: error: invalid type argument of `->' magick/annotate.c:1443: warning: data definition has no type or storage class magick/annotate.c:1444: error: parse error before "for" magick/annotate.c:1452: warning: type defaults to `int' in declaration of `q' magick/annotate.c:1452: error: conflicting types for `q' magick/annotate.c:1190: error: previous declaration of `q' magick/annotate.c:1452: error: `image' undeclared here (not in a function) magick/annotate.c:1453: error: invalid type argument of `->' magick/annotate.c:1453: warning: data definition has no type or storage class magick/annotate.c:1454: warning: type defaults to `int' in declaration of `active' magick/annotate.c:1454: error: conflicting types for `active' magick/annotate.c:1173: error: previous declaration of `active' magick/annotate.c:1454: warning: comparison between pointer and integer magick/annotate.c:1454: warning: data definition has no type or storage class magick/annotate.c:1455: error: parse error before "for" magick/annotate.c:1477: warning: type defaults to `int' in declaration of `fill_color' magick/annotate.c:1477: error: conflicting types for `fill_color' magick/annotate.c:1179: error: previous declaration of `fill_color' magick/annotate.c:1477: error: `draw_info' undeclared here (not in a function) magick/annotate.c:1478: warning: data definition has no type or storage class magick/annotate.c:1479: warning: type defaults to `int' in declaration of `fill_opacity' magick/annotate.c:1479: error: conflicting types for `fill_opacity' magick/annotate.c:1176: error: previous declaration of `fill_opacity' magick/annotate.c:1480: error: request for member `opacity' in something not a structure or union magick/annotate.c:1480: warning: data definition has no type or storage class magick/annotate.c:1481: error: parse error before '&' token magick/annotate.c:1481: warning: type defaults to `int' in declaration of `MagickCompositeOver' magick/annotate.c:1481: error: conflicting types for `MagickCompositeOver' magick/composite-private.h:47: error: previous declaration of `MagickCompositeOver' magick/annotate.c:1481: warning: data definition has no type or storage class magick/annotate.c:1496: warning: type defaults to `int' in declaration of `last_glyph' magick/annotate.c:1496: error: initializer element is not constant magick/annotate.c:1496: warning: data definition has no type or storage class magick/annotate.c:1497: error: parse error before '}' token magick/annotate.c:1520: warning: type defaults to `int' in declaration of `text' magick/annotate.c:1520: warning: passing arg 1 of `RelinquishMagickMemory' makes pointer from integer without a cast magick/annotate.c:1520: warning: initialization makes integer from pointer without a cast magick/annotate.c:1520: error: initializer element is not constant magick/annotate.c:1520: warning: data definition has no type or storage class magick/annotate.c:1521: warning: type defaults to `int' in declaration of `annotate_info' magick/annotate.c:1521: warning: passing arg 1 of `DestroyDrawInfo' makes pointer from integer without a cast magick/annotate.c:1521: warning: initialization makes integer from pointer without a cast magick/annotate.c:1521: error: initializer element is not constant magick/annotate.c:1521: warning: data definition has no type or storage class magick/annotate.c:1522: error: parse error before "void" magick/annotate.c:1186: error: register name not specified for `i' magick/annotate.c:1187: error: register name not specified for `x' magick/annotate.c:508: warning: `EncodeSJIS' defined but not used magick/annotate.c:695: warning: `EncodeUnicode' defined but not used magick/annotate.c:1054: warning: `TraceCubicBezier' defined but not used magick/annotate.c:1070: warning: `TraceLineTo' defined but not used magick/annotate.c:1085: warning: `TraceMoveTo' defined but not used magick/annotate.c:1101: warning: `TraceQuadraticBezier' defined but not used make[1]: *** [magick/magick_libMagick_la-annotate.lo] Error 1 make[1]: Leaving directory `/home/velimir/docs/ImageMagick-6.2.3' make: *** [all] Error 2 velimir@cemetery:~/docs/ImageMagick-6.2.3$

neznam u cemu je problem? kako sam mogo shvatit da ovaj magick_libMagick_la-annotate.lo ima nekih problema…???[/quote]

Imaš konflikt između instaliranih FreeType 1 i /ili FreeType 2 paketa.

Da ne duljimo puno, ukoliko nemaš malo više iskustva sa kompajliranjem softvera, preporučujem binarni paket (rpm, deb ili šta već koristiš). Ako postoji specifičan razlog zbog kojeg ti treba custom ImageMagic možda ti neko od nas može iskompajlirati paket i/ili napraviti source rpm ili sl. Ja se nudim za Slackware.

jaa…da sam ja htjeo binary paket mogo sam ga nac negdje na netu…a posto sam htjeo da iskompajliram sam onda sam pokuso pa vidio da nece ici tako lako i zakacio za probleme… upravu si ti…nemam bas puno iskustva sa kompajliranjem, ali nije da neznam nista!

radije bi da mi pokusate objasnit u cemu je problem jer bi onda cak sta vise i stekao jos iskustva u ovim stvarima nego da sve prodje na laksi nacin…

ps
zapravo meni treba “convert” da bi konvertovao tj. resize malo vise slikica u manju velicinu… a “convert” je sastavni dio ImageMagicka…

convert sigurno dolazi uz slack ! Pogledaj na CDovima ili u Netu.

upravu si!..evo naso sam paket i sad sve radi…ali mene kopka ovo gore u cemu je bio problem…al dobro to cu sad polako sam uz pomoc google-a bez zurbe :slight_smile:

hvala babysiter…

rip

Jeli bio ./configure skript u paketu ? On je taj koji kontroliše sistem na ispravnost prije make komande. Pogledaj u configure.log šta je javljao pri izvršavanju i možda otkriješ neke poruke sa fontovima koje si trebao uzeti u obzir.
PS. Ako ./configure prekine izvršavanje nekom porukom, neisplati se kucati make.

ma configure je prosao uredu!..znam da nema fajde ic dalje ako configure zakoci :)…

a upravu si…naime kada sam uradio ./configure --with-ttf=no onda je sve proslo bez problema :slight_smile:

hvala jos jednom babysitter!

rip

Iskusno oko istrenirano 100nama mejkova će u tvom postu uočiti ovo:

/usr/include/freetype2/freetype/ftglyph.h:40:2: #error "freetype.h of FreeType 1 has been loaded!" /usr/include/freetype2/freetype/ftglyph.h:41:2: #error "Please fix the directory search order for header files" /usr/include/freetype2/freetype/ftglyph.h:42:2: #error "so that freetype.h of FreeType 2 is found first."
:wink:
freetype.h (i inače .h fajlovi) pripada -devel paketima, e ja sad ne znam zašto kog %@#$^ imaš na svom sistemu obje verzije freetypea

nemam vise…a mislim da sam jednom prije imo problema i sa tim prilikom instalacije paketa…nesjecam se sada tacno…uglavnom znam da kad sam instalirao freetype 1.3.x da je sve bilo uredu…sad sam ga izbriso i neprikazuje mi vise nista pogresno…whatever…nesjecam se sad oko cega je bilo !!
…nisam naspavan…nemogu sad skontat sta je bilo!

rip

Lol, očigledno nije sve bilo u redu. Treba se paziti kakvo se smeće instalira na mašinu :wink:

A freetype na slacku dođe uz X11-devel paket (jedan jedini “-devel” paket na Slacku, ostali su “all in one”)

znam to…naso sam ja da je on tu kad sam imo ovaj prije problem …ali opet mi je govorio kako fali nesto vezano za freetype…a onda sam naso freetype 1.3.x…neznam koju tacno verziju … i nakon sto sam to instaliro nije bilo problema…al nisam rekao da niste upravu…samo eto…tako je bilo :slight_smile:

rip