faz erro mediastreamer2

0

Estou tentando instalar o mediastreamer2 em um Raspberry Pi. Quando eu uso faço eu recebo o erro abaixo. Eu instalei todas as dependências necessárias. Alguma idéia de por que eu estaria recebendo esses erros ou o que significava? Obrigado.

In file included from /home/pi/mediastreamer2/src/voip/msvideo.c:23:0:
/home/pi/mediastreamer2/src/utils/ffmpeg-priv.h:111:17: error: conflicting types for ‘avcodec_alloc_context3’
AVCodecContext *avcodec_alloc_context3(AVCodec *codec);
             ^
In file included from /home/pi/mediastreamer2/src/utils/ffmpeg-priv.h:47:0,
             from /home/pi/mediastreamer2/src/voip/msvideo.c:23:
/usr/local/include/libavcodec/avcodec.h:4314:17: note: previous declaration 
of ‘avcodec_alloc_context3’ was here
AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
             ^
In file included from /home/pi/mediastreamer2/src/voip/msvideo.c:23:0:
/home/pi/mediastreamer2/src/utils/ffmpeg-priv.h:115:5: error: conflicting 
types for ‘avcodec_open2’
int avcodec_open2 (AVCodecContext *avctx, const AVCodec *codec, 
/*AVDictionary*/ void **options);
 ^
In file included from /home/pi/mediastreamer2/src/utils/ffmpeg-priv.h:47:0,
             from /home/pi/mediastreamer2/src/voip/msvideo.c:23:
/usr/local/include/libavcodec/avcodec.h:4457:5: note: previous declaration 
of ‘avcodec_open2’ was here
int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary 
**options);
 ^
cc1: error: unrecognized command line option "-Wno-format-truncation" [-Werror]
cc1: all warnings being treated as errors
src/CMakeFiles/mediastreamer_voip-static.dir/build.make:1526: recipe for target 'src/CMakeFiles/mediastreamer_voip-static.dir/voip/msvideo.c.o' failed
make[2]: *** [src/CMakeFiles/mediastreamer_voip-static.dir/voip/msvideo.c.o] Error 1
CMakeFiles/Makefile2:269: recipe for target 'src/CMakeFiles/mediastreamer_voip-static.dir/all' failed
make[1]: *** [src/CMakeFiles/mediastreamer_voip-static.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
    
por C.W 21.06.2017 / 17:11

0 respostas