02.08.2011 04:57, Sergey Bolshakov пишет: > Привет. > Сегодня в сизиф, тихо и незаметно, попал libav, наследник ffmpeg. > Поскольку API у libav несколько отличается, прогнозируется > некоторый слом со сборкой зависимых пакетов, прошу обращаться > за содействием в починке, если таковое понадобится. Как такое чинить? g++ -o build/src/mgui/ffviewer.o -c -Wall -W -Wno-reorder -O2 -g -DBOOST_FILESYSTEM_VERSION=2 -ansi -DBOOST_SP_USE_QUICK_ALLOCATOR -DBOOST_SYSTEM_NO_DEPRECATED -DNDEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEXT_BOOST -Ibuild/src -Isrc -Ilibs/boost-logging -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/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 src/mgui/ffviewer.cpp src/mgui/ffviewer.cpp: In function 'void DumpIFile(AVFormatContext*, int, const std::string&)': src/mgui/ffviewer.cpp:261:5: warning: 'void dump_format(AVFormatContext*, int, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1461) src/mgui/ffviewer.cpp:261:50: warning: 'void dump_format(AVFormatContext*, int, const char*, int)' is deprecated (declared at /usr/include/libavformat/avformat.h:1461) src/mgui/ffviewer.cpp: In function 'bool OpenInfo(FFData&, const char*, std::string&)': src/mgui/ffviewer.cpp:316:18: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1053) src/mgui/ffviewer.cpp:316:75: warning: 'int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1053) src/mgui/ffviewer.cpp:321:14: error: 'AVERROR_NOENT' was not declared in this scope src/mgui/ffviewer.cpp:326:14: error: 'AVERROR_NOFMT' was not declared in this scope src/mgui/ffviewer.cpp:329:14: error: 'AVERROR_UNKNOWN' was not declared in this scope src/mgui/ffviewer.cpp: In function 'bool IsInHurry(AVCodecContext*)': src/mgui/ffviewer.cpp:528:17: error: 'struct AVCodecContext' has no member named 'hurry_up' src/mgui/ffviewer.cpp: In constructor 'HurryModeEnabler::HurryModeEnabler(AVCodecContext*)': src/mgui/ffviewer.cpp:538:14: error: 'struct AVCodecContext' has no member named 'hurry_up' src/mgui/ffviewer.cpp: In destructor 'HurryModeEnabler::~HurryModeEnabler()': src/mgui/ffviewer.cpp:558:14: error: 'struct AVCodecContext' has no member named 'hurry_up' src/mgui/ffviewer.cpp: In function 'void DoVideoDecode(FFViewer&, int&, AVPacket*)': src/mgui/ffviewer.cpp:613:7: warning: suggest explicit braces to avoid ambiguous 'else' src/mgui/ffviewer.cpp: In function 'bool IsInHurry(AVCodecContext*)': src/mgui/ffviewer.cpp:529:1: warning: control reaches end of non-void function scons: *** [build/src/mgui/ffviewer.o] Error 1 scons: building terminated because of errors. error: Bad exit status from /usr/src/tmp/rpm-tmp.31132 (%build) -- WBR, Dubrovskiy Viacheslav