Page 1 of 1

Latest SVN revision fails to build

Posted: 2009-04-22T13:17:31-07:00
by naoliv
Hi!

Using the latest version from SVN (revision 213), I am seeing this:

Code: Select all

/bin/sh ./libtool --silent --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./config   -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/include/libxml2  -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fopenmp -g -O2 -Wall -W -pthread -MT coders/coders_png_la-png.lo -MD -MP -MF coders/.deps/coders_png_la-png.Tpo -c -o coders/coders_png_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c
coders/png.c:7647:3: warning: "/*" within comment
coders/png.c:7650: error: expected ')' before '!=' token
coders/png.c:7650: error: expected ')' before '?' token
coders/png.c:7651: error: expected ')' before '->' token
coders/png.c:7651: error: expected ')' before '?' token
coders/png.c:7652: error: expected ')' before '!=' token
coders/png.c:7652: error: expected ')' before '?' token
coders/png.c:7653: error: expected ')' before '->' token
coders/png.c:7653: error: expected ')' before '?' token
coders/png.c:7654: error: expected identifier or '(' before 'void'
coders/png.c:7655: warning: data definition has no type or storage class
coders/png.c:7655: warning: type defaults to 'int' in declaration of 'logging'
coders/png.c:7655: warning: '__func__' is not defined outside of function scope
coders/png.c:7655: error: initializer element is not constant
coders/png.c:7656: warning: data definition has no type or storage class
coders/png.c:7656: warning: type defaults to 'int' in declaration of 'status'
coders/png.c:7656: error: 'image_info' undeclared here (not in a function)
coders/png.c:7656: error: 'image' undeclared here (not in a function)
coders/png.c:7656: error: initializer element is not constant
coders/png.c:7657: error: expected identifier or '(' before 'if'
coders/png.c:7662: warning: data definition has no type or storage class
coders/png.c:7662: warning: type defaults to 'int' in declaration of 'have_mng_structure'
coders/png.c:7663: warning: data definition has no type or storage class
coders/png.c:7663: warning: type defaults to 'int' in declaration of 'mng_info'
coders/png.c:7663: warning: initialization makes integer from pointer without a cast
coders/png.c:7663: error: initializer element is not constant
coders/png.c:7664: error: expected identifier or '(' before 'if'
coders/png.c:7669: error: expected identifier or '(' before 'void'
coders/png.c:7670: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
coders/png.c:7671: warning: data definition has no type or storage class
coders/png.c:7671: warning: type defaults to 'int' in declaration of 'have_mng_structure'
coders/png.c:7671: error: redefinition of 'have_mng_structure'
coders/png.c:7662: error: previous definition of 'have_mng_structure' was here
coders/png.c:7672: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
coders/png.c:7673: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
coders/png.c:7674: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
coders/png.c:7676: warning: data definition has no type or storage class
coders/png.c:7676: warning: type defaults to 'int' in declaration of 'status'
coders/png.c:7676: error: redefinition of 'status'
coders/png.c:7656: error: previous definition of 'status' was here
coders/png.c:7676: warning: passing argument 1 of 'WriteOnePNGImage' makes pointer from integer without a cast
coders/png.c:7676: error: initializer element is not constant
coders/png.c:7678: error: expected identifier or '(' before 'void'
coders/png.c:7680: error: expected ')' before '&' token
coders/png.c:7681: error: expected identifier or '(' before 'if'
coders/png.c:7683: error: expected identifier or '(' before 'return'
coders/png.c:7684: error: expected identifier or '(' before '}' token
make[2]: *** [coders/coders_png_la-png.lo] Error 1
make[2]: Leaving directory `/tmp/buildd/imagemagick-6.5.1.4'
make[1]: *** [all] Error 2

Re: Latest SVN revision fails to build

Posted: 2009-04-22T19:25:21-07:00
by magick
Thanks. The development Subversion trunk has this problem fixed and will mirror to subversion.imagemagick.org by early tomorrow.