Magick++ target fails to compile on Ubuntu Jaunty

I’ve recently upgraded to Ubuntu 9.04. Then I’ve re-build synfig and synfigstudio and they compiled fine. I noticed that the libav and magick++ targets disappeared. Then I had to re install the development libraries for libav according to the build instructions. It compiled fine but libav seems not to work properly. Output render says:

Output #0, mpeg, to '/home/carlos/Animación/random/Animación Synfig 1.mpg': Stream #0.0: Video: mpeg1video (hq), yuv420p, 480x270, q=2-31, 925 kb/s, 90k tbn, 24 tbc buffer underflow i=0 bufi=2005 size=2867 buffer underflow i=0 bufi=2092 size=2867 buffer underflow i=0 bufi=2688 size=2867 buffer underflow i=0 bufi=2571 size=2867 buffer underflow i=0 bufi=2471 size=2867 buffer underflow i=0 bufi=2371 size=2867 buffer underflow i=0 bufi=2271 size=2867 buffer underflow i=0 bufi=2163 size=2867 buffer underflow i=0 bufi=2759 size=2867
and the output mpg file has video format but with a very short length (1 frame).

Also I had to install graphicsmagick-libmagick-dev-compat instead of libmagick++9-dev because in Ubuntu 9.04 it is the replacement for that libraires. When make synfig I obtain this:

Making install in mod_magickpp make[3]: se ingresa al directorio `/home/carlos/Software/Synfig/synfig-core/src/modules/mod_magickpp' /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../../.. -I../../../src -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DSYNFIG_NO_DEPRECATED -DLOCALEDIR=\"/usr/local/share/locale\" -DNDEBUG -O2 -W -Wall -MT libmod_magickpp_la-trgt_magickpp.lo -MD -MP -MF .deps/libmod_magickpp_la-trgt_magickpp.Tpo -c -o libmod_magickpp_la-trgt_magickpp.lo `test -f 'trgt_magickpp.cpp' || echo './'`trgt_magickpp.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I../../.. -I../../../src -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DSYNFIG_NO_DEPRECATED -DLOCALEDIR=\"/usr/local/share/locale\" -DNDEBUG -O2 -W -Wall -MT libmod_magickpp_la-trgt_magickpp.lo -MD -MP -MF .deps/libmod_magickpp_la-trgt_magickpp.Tpo -c trgt_magickpp.cpp -fPIC -DPIC -o .libs/libmod_magickpp_la-trgt_magickpp.o trgt_magickpp.cpp: In function ‘MagickLib::Image* copy_image_list(Container&)’: trgt_magickpp.cpp:71: error: expected unqualified-id before numeric constant trgt_magickpp.cpp: In destructor ‘virtual magickpp_trgt::~magickpp_trgt()’: trgt_magickpp.cpp:106: error: expected unqualified-id before numeric constant make[3]: *** [libmod_magickpp_la-trgt_magickpp.lo] Error 1 make[3]: se sale del directorio `/home/carlos/Software/Synfig/synfig-core/src/modules/mod_magickpp' make[2]: *** [install-recursive] Error 1 make[2]: se sale del directorio `/home/carlos/Software/Synfig/synfig-core/src/modules' make[1]: *** [install-recursive] Error 1 make[1]: se sale del directorio `/home/carlos/Software/Synfig/synfig-core/src' make: *** [install-recursive] Error 1 carlos@pcnuevo:~/Software/Synfig$

Any idea?

I’ve added a bug tracker on this issue: … tid=757416