[Opalvoip-devel] Debian unstable and opal
Brought to you by:
csoutheren,
rjongbloed
From: Alexander S. <ale...@gm...> - 2014-06-17 07:19:38
|
I know that using Debian unstable is a recipe for all kinds of troubles but still will be happy to see if Robert advise on situation. Ubuntu building on Opal quite ok. Works as it should. Debian stable able to build Opal but there is crash probably because of compiler specific problem. So I got myself into a problem with building libav oriented plugins under newer Debian variant. But here Opal get a problem with a newer ffmpeg (or its substitution) packages: [CC] h263-1998.cxx h263-1998.cxx: In member function ‘virtual bool H263_RFC2190_Encoder::Construct()’: h263-1998.cxx:564:24: error: ‘CODEC_ID_H263’ was not declared in this scope if (!InitEncoder(CODEC_ID_H263)) ^ h263-1998.cxx: In member function ‘virtual bool H263_RFC2429_Encoder::Construct()’: h263-1998.cxx:607:26: error: ‘CODEC_ID_H263P’ was not declared in this scope return InitEncoder(CODEC_ID_H263P); ^ h263-1998.cxx: In member function ‘virtual bool H263_Base_Decoder::Construct()’: h263-1998.cxx:630:26: error: ‘CODEC_ID_H263’ was not declared in this scope return InitDecoder(CODEC_ID_H263) && OpenCodec(); ^ ../../plugin_inc.mak:103: recipe for target '/root/Lacaille/opal/lib_linux_x86_64/plugins/h263_ffmpeg/h263-1998.o' failed make[3]: *** [/root/Lacaille/opal/lib_linux_x86_64/plugins/h263_ffmpeg/h263-1998.o] Error 1 Same thing goes for h264, h261 and mpeg4 plugins. Is there anything to help with this situation? I look inside system-wide libavcodec/version.h and find it have higher major version than version header inside Opal: #define LIBAVCODEC_VERSION_MAJOR 55 #define LIBAVCODEC_VERSION_MINOR 34 #define LIBAVCODEC_VERSION_MICRO 1 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MICRO) #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MICRO) #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) /** * FF_API_* defines may be placed below to indicate public API that will be * dropped at a future version bump. The defines themselves are not part of * the public API and may change, break or disappear at any time. */ #ifndef FF_API_REQUEST_CHANNELS #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 56) #endif #ifndef FF_API_DEINTERLACE #define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 56) #endif |