linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] libavcodec-dev from deb-multimedia.org


From: William Mitchell Jr
Subject: [Linphone-developers] libavcodec-dev from deb-multimedia.org
Date: Mon, 28 Oct 2013 20:10:25 -0400

HI,

Compiled from source using git (3.6.99) on a fresh install of Debian/Sid with LXDE and got this error:

videofilters/videoenc.c: In function 'prepare':
videofilters/videoenc.c:284:2: error: implicit declaration of function 'avcodec_get_context_defaults' [-Werror=implicit-function-declaration]
  avcodec_get_context_defaults(c);
  ^
videofilters/videoenc.c: In function 'enc_preprocess':
videofilters/videoenc.c:390:2: error: implicit declaration of function 'avcodec_open' [-Werror=implicit-function-declaration]
  error=avcodec_open(&s->av_context, s->av_codec);
  ^
videofilters/videoenc.c: In function 'process_frame':
videofilters/videoenc.c:839:2: warning: 'avcodec_encode_video' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4030) [-Wdeprecated-declarations]
  error=avcodec_encode_video(c, (uint8_t*)comp_buf->b_wptr,comp_buf_sz, &pict);
  ^
cc1: all warnings being treated as errors
make[5]: *** [videofilters/videoenc.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/home/wdmjr/src/linphone/mediastreamer2/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/wdmjr/src/linphone/mediastreamer2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/wdmjr/src/linphone/mediastreamer2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/wdmjr/src/linphone/mediastreamer2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wdmjr/src/linphone'
make: *** [all] Error 2

But after adding www.deb-multimedia.org to sources.list and a update/purge/install libavcodec-dev it compiles.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]