Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
synfig-0.61-08 (sunrise) doesnt compile with ~x86 ffmpeg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
cjubon
Guru
Guru


Joined: 03 Jul 2007
Posts: 446
Location: Vienna/Europe

PostPosted: Wed Aug 20, 2008 8:46 am    Post subject: synfig-0.61-08 (sunrise) doesnt compile with ~x86 ffmpeg Reply with quote

After having decided to upgrade ffmpeg from stable to ~x86, I cannot compile synfig anymore (the synfig ebuild is from the sunrise overlay):
Code:
 i686-pc-linux-gnu-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/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DSYNFIG_NO_DEPRECATED -DLOCALEDIR=\"/usr/share/locale\" -D__STDC_CONSTANT_MACROS -march=pentium3 -pipe -fomit-frame-pointer -DNDEBUG -Wno-deprecated -O2 -W -Wall -MT libmod_libavcodec_la-main.lo -MD -MP -MF .deps/libmod_libavcodec_la-main.Tpo -c main.cpp  -fPIC -DPIC -o .libs/libmod_libavcodec_la-main.o
trgt_av.cpp:38:22: error: avformat.h: No such file or directory
mv -f .deps/libmod_libavcodec_la-mptr.Tpo .deps/libmod_libavcodec_la-mptr.Plo
trgt_av.cpp:87: error: expected constructor, destructor, or type conversion before '*' token
trgt_av.cpp:107: error: variable or field 'free_picture' declared void
trgt_av.cpp:107: error: 'AVFrame' was not declared in this scope
trgt_av.cpp:107: error: 'pic' was not declared in this scope
trgt_av.cpp:108: error: expected ',' or ';' before '{' token
trgt_av.cpp:114: error: variable or field 'convert_surface_frame' declared void
trgt_av.cpp:114: error: 'AVFrame' was not declared in this scope
trgt_av.cpp:114: error: 'pic' was not declared in this scope
trgt_av.cpp:114: error: expected primary-expression before 'const'
trgt_av.cpp:114: error: expected primary-expression before 'const'
trgt_av.cpp:114: error: initializer expression list treated as compound expression
trgt_av.cpp:115: error: expected ',' or ';' before '{' token
trgt_av.cpp:289: error: ISO C++ forbids declaration of 'AVFrame' with no type
trgt_av.cpp:289: error: expected ';' before '*' token
trgt_av.cpp:297: error: 'AVFormatContext' has not been declared
trgt_av.cpp:297: error: 'AVStream' has not been declared
trgt_av.cpp:367: error: 'AVFormatContext' has not been declared
trgt_av.cpp:367: error: 'AVStream' has not been declared
trgt_av.cpp:367: error: 'AVFrame' has not been declared
trgt_av.cpp:457: error: 'AVFormatContext' has not been declared
trgt_av.cpp:457: error: 'AVStream' has not been declared
trgt_av.cpp: In member function 'bool VideoEncoder::open(int*, int*)':
trgt_av.cpp:306: error: 'AVCodec' was not declared in this scope
trgt_av.cpp:306: error: 'codec' was not declared in this scope
trgt_av.cpp:307: error: 'AVCodecContext' was not declared in this scope
trgt_av.cpp:307: error: 'context' was not declared in this scope
trgt_av.cpp:310: error: request for member 'codec' in '* stream', which is of non-class type 'int'
trgt_av.cpp:313: error: 'avcodec_find_encoder' was not declared in this scope
trgt_av.cpp:321: error: 'avcodec_open' was not declared in this scope
trgt_av.cpp:328: error: request for member 'oformat' in '* formatc', which is of non-class type 'int'
trgt_av.cpp:328: error: 'AVFMT_RAWPICTURE' was not declared in this scope
trgt_av.cpp:352: error: 'encodable' was not declared in this scope
trgt_av.cpp:353: error: 'PIX_FMT_RGB24' was not declared in this scope
trgt_av.cpp:355: error: 'alloc_picture' was not declared in this scope
trgt_av.cpp: In member function 'bool VideoEncoder::write_frame(int*, int*, int*)':
trgt_av.cpp:377: error: 'AVCodecContext' was not declared in this scope
trgt_av.cpp:377: error: 'context' was not declared in this scope
trgt_av.cpp:377: error: request for member 'codec' in '* stream', which is of non-class type 'int'
trgt_av.cpp:389: error: 'PIX_FMT_RGB24' was not declared in this scope
trgt_av.cpp:392: error: 'AVPicture' was not declared in this scope
trgt_av.cpp:392: error: expected primary-expression before ')' token
trgt_av.cpp:393: error: expected primary-expression before ')' token
trgt_av.cpp:394: error: 'img_convert' was not declared in this scope
trgt_av.cpp:396: error: 'encodable' was not declared in this scope
trgt_av.cpp:399: error: 'AVPacket' was not declared in this scope
trgt_av.cpp:399: error: expected `;' before 'pkt'
trgt_av.cpp:400: error: 'pkt' was not declared in this scope
trgt_av.cpp:400: error: 'av_init_packet' was not declared in this scope
trgt_av.cpp:401: error: request for member 'index' in '* stream', which is of non-class type 'int'
trgt_av.cpp:403: error: 'AVPicture' was not declared in this scope
trgt_av.cpp:407: error: 'PKT_FLAG_KEY' was not declared in this scope
trgt_av.cpp:410: error: request for member 'oformat' in '* formatc', which is of non-class type 'int'
trgt_av.cpp:410: error: 'AVFMT_RAWPICTURE' was not declared in this scope
trgt_av.cpp:412: error: 'av_write_frame' was not declared in this scope
trgt_av.cpp:417: error: 'avcodec_encode_video' was not declared in this scope
trgt_av.cpp:423: error: request for member 'index' in '* stream', which is of non-class type 'int'
trgt_av.cpp:429: error: 'PKT_FLAG_KEY' was not declared in this scope
trgt_av.cpp:431: error: 'av_write_frame' was not declared in this scope
trgt_av.cpp: In member function 'void VideoEncoder::close(int*, int*)':
trgt_av.cpp:460: error: request for member 'codec' in '* stream', which is of non-class type 'int'
trgt_av.cpp:460: error: 'avcodec_close' was not declared in this scope
trgt_av.cpp:462: error: 'encodable' was not declared in this scope
trgt_av.cpp:464: error: 'free_picture' cannot be used as a function
trgt_av.cpp: At global scope:
trgt_av.cpp:478: error: ISO C++ forbids declaration of 'AVOutputFormat' with no type
trgt_av.cpp:478: error: expected ';' before '*' token
trgt_av.cpp:480: error: ISO C++ forbids declaration of 'AVFormatContext' with no type
trgt_av.cpp:480: error: expected ';' before '*' token
trgt_av.cpp:482: error: ISO C++ forbids declaration of 'AVStream' with no type
trgt_av.cpp:482: error: expected ';' before '*' token
trgt_av.cpp:494: error: ISO C++ forbids declaration of 'AVFrame' with no type
trgt_av.cpp:494: error: expected ';' before '*' token
trgt_av.cpp:701: error: ISO C++ forbids declaration of 'AVStream' with no type
trgt_av.cpp:701: error: expected ';' before '*' token
trgt_av.cpp:748: error: expected `;' before 'AVStream'
trgt_av.cpp:748: error: ISO C++ forbids declaration of 'AVStream' with no type
trgt_av.cpp:748: error: expected ';' before '*' token
trgt_av.cpp:771: error: expected `;' before '}' token
trgt_av.cpp: In constructor 'Target_LibAVCodec::LibAVEncoder::LibAVEncoder()':
trgt_av.cpp:501: error: 'format' was not declared in this scope
trgt_av.cpp:502: error: 'formatc' was not declared in this scope
trgt_av.cpp:505: error: 'video_st' was not declared in this scope
trgt_av.cpp:508: error: 'class VideoEncoder' has no member named 'encodable'
trgt_av.cpp:512: error: 'picture' was not declared in this scope
trgt_av.cpp: In member function 'bool Target_LibAVCodec::LibAVEncoder::Initialize(const char*, const char*)':
trgt_av.cpp:533: error: 'format' was not declared in this scope
trgt_av.cpp:533: error: 'guess_format' was not declared in this scope
trgt_av.cpp:537: error: 'format' was not declared in this scope
trgt_av.cpp:537: error: 'guess_format' was not declared in this scope
trgt_av.cpp:540: error: 'format' was not declared in this scope
trgt_av.cpp:543: error: 'guess_format' was not declared in this scope
trgt_av.cpp:546: error: 'format' was not declared in this scope
trgt_av.cpp:553: error: 'formatc' was not declared in this scope
trgt_av.cpp:553: error: 'AVFormatContext' was not declared in this scope
trgt_av.cpp:553: error: expected primary-expression before ')' token
trgt_av.cpp:553: error: expected `;' before 'av_mallocz'
trgt_av.cpp:560: error: 'format' was not declared in this scope
trgt_av.cpp:566: error: 'video_st' was not declared in this scope
trgt_av.cpp:570: error: 'CODEC_ID_NONE' was not declared in this scope
trgt_av.cpp:572: error: 'add_video_stream' was not declared in this scope
trgt_av.cpp:575: error: 'av_free' was not declared in this scope
trgt_av.cpp:587: error: 'AVRational' was not declared in this scope
trgt_av.cpp:587: error: expected `;' before '{' token
trgt_av.cpp:590: error: 'PIX_FMT_YUV420P' was not declared in this scope
trgt_av.cpp:593: error: 'dump_format' was not declared in this scope
trgt_av.cpp:614: error: 'AVFMT_NOFILE' was not declared in this scope
trgt_av.cpp:617: error: 'URL_WRONLY' was not declared in this scope
trgt_av.cpp:617: error: 'url_fopen' was not declared in this scope
trgt_av.cpp:626: error: 'picture' was not declared in this scope
trgt_av.cpp:626: error: 'PIX_FMT_RGB24' was not declared in this scope
trgt_av.cpp:626: error: 'alloc_picture' was not declared in this scope
trgt_av.cpp:638: error: 'av_write_header' was not declared in this scope
trgt_av.cpp: In member function 'void Target_LibAVCodec::LibAVEncoder::CleanUp()':
trgt_av.cpp:647: error: 'picture' was not declared in this scope
trgt_av.cpp:647: error: 'free_picture' cannot be used as a function
trgt_av.cpp:650: error: 'formatc' was not declared in this scope
trgt_av.cpp:650: error: 'video_st' was not declared in this scope
trgt_av.cpp:656: error: 'av_write_trailer' was not declared in this scope
trgt_av.cpp:660: error: 'video_st' was not declared in this scope
trgt_av.cpp:661: error: 'formatc' was not declared in this scope
trgt_av.cpp:666: error: 'formatc' was not declared in this scope
trgt_av.cpp:671: error: 'av_freep' was not declared in this scope
trgt_av.cpp:674: error: 'format' was not declared in this scope
trgt_av.cpp:674: error: 'AVFMT_NOFILE' was not declared in this scope
trgt_av.cpp:677: error: 'url_fclose' was not declared in this scope
trgt_av.cpp:681: error: 'av_free' was not declared in this scope
trgt_av.cpp:686: error: 'format' was not declared in this scope
trgt_av.cpp:687: error: 'formatc' was not declared in this scope
trgt_av.cpp:690: error: 'video_st' was not declared in this scope
trgt_av.cpp:693: error: 'class VideoEncoder' has no member named 'encodable'
trgt_av.cpp:697: error: 'picture' was not declared in this scope
trgt_av.cpp: In constructor 'Target_LibAVCodec::Target_LibAVCodec(const char*)':
trgt_av.cpp:781: error: 'av_register_all' was not declared in this scope
trgt_av.cpp: In member function 'virtual void Target_LibAVCodec::end_frame()':
trgt_av.cpp:858: error: 'AVStream' was not declared in this scope
trgt_av.cpp:858: error: 'video_st' was not declared in this scope
trgt_av.cpp:858: error: 'class Target_LibAVCodec::LibAVEncoder' has no member named 'video_st'
trgt_av.cpp:860: error: 'AVFormatContext' was not declared in this scope
trgt_av.cpp:860: error: 'formatc' was not declared in this scope
trgt_av.cpp:860: error: 'class Target_LibAVCodec::LibAVEncoder' has no member named 'formatc'
trgt_av.cpp:884: error: 'class Target_LibAVCodec::LibAVEncoder' has no member named 'picture'
trgt_av.cpp:884: error: 'class Target_LibAVCodec::LibAVEncoder' has no member named 'picture'
trgt_av.cpp:884: error: 'convert_surface_frame' cannot be used as a function
trgt_av.cpp:887: error: 'class Target_LibAVCodec::LibAVEncoder' has no member named 'picture'
make[4]: *** [libmod_libavcodec_la-trgt_av.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/libmod_libavcodec_la-main.Tpo .deps/libmod_libavcodec_la-main.Plo
make[4]: Leaving directory `/var/tmp/portage/media-gfx/synfig-0.61.08/work/synfig-0.61.08/src/modules/mod_libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/synfig-0.61.08/work/synfig-0.61.08/src/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/synfig-0.61.08/work/synfig-0.61.08/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/synfig-0.61.08/work/synfig-0.61.08'
make: *** [all] Error 2
 *
 * ERROR: media-gfx/synfig-0.61.08 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  107:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/synfig-0.61.08/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/synfig-0.61.08/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *

 * Messages for package media-gfx/synfig-0.61.08:

 *
 * ERROR: media-gfx/synfig-0.61.08 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  107:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/synfig-0.61.08/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/synfig-0.61.08/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *
Disabling USE ffmpeg helps of course, but I'd like to compile with ffmpeg.
Thanks for your suggestions.
_________________
Mandrake Dec 2001 · Debian "Woody" Aug 2002 · Gentoo Jan 2004 · Funtoo Oct 2009
Back to top
View user's profile Send private message
rainbyte
n00b
n00b


Joined: 21 Dec 2007
Posts: 8
Location: Jujuy/Argentina

PostPosted: Tue Sep 23, 2008 4:35 am    Post subject: Reply with quote

Hi! I'm having the same problem with Synfig.

Trying to find a solution I ended in their forums where.

As they say, maybe we will have to wait for release 0.61.09 or use svn ebuilds (they don't work well for me, but I haven't got time to repair them).
_________________
Gentoozianos!
Tienes Last.FM?
Usas Jabber/Gmail? life4everme@gmail.com
Usas IRC? #espaciolinux en irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum