[vdr] noad : compilation issue

Karim karim.afifi at laposte.net
Sun Jun 2 17:44:12 CEST 2013


Hi,

I can't compil noad on my vdrbox (Debian Wheezy x94). It  could be a
compatibility problem 
with new ffmpeg version, but I can't fix it :-(

Here is the error logs :
----------------------------------------------------------------------------
---------------------------------------------------------
NOAD - make
----------------------------------------------------------------------------
----------
make  all-am
make[1]: entrant dans le répertoire « /usr/local/src/noad-0.8.5 »
  CXX    svdrpc.o
svdrpc.cpp:21:19: warning: deprecated conversion from string constant to
‘char*’ [-Wwrite-strings]
  AR     libnoad.a
  CXX    audiotools.o
audiotools.cpp: In function ‘void initAVCodec()’:
audiotools.cpp:105:39: error: ‘avcodec_open’ was not declared in this scope
audiotools.cpp:110:30: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not
declared in this scope
audiotools.cpp: In function ‘int scan_audio_stream_0(unsigned char*, int)’:
audiotools.cpp:166:16: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not
declared in this scope
audiotools.cpp:175:11: warning: ‘int avcodec_decode_audio3(AVCodecContext*,
int16_t*, int*, AVPacket*)’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3667) [-Wdeprecated-declarations]
audiotools.cpp:176:39: warning: ‘int avcodec_decode_audio3(AVCodecContext*,
int16_t*, int*, AVPacket*)’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3667) [-Wdeprecated-declarations]
make[1]: *** [audiotools.o] Erreur 1
make[1]: quittant le répertoire « /usr/local/src/noad-0.8.5 »
make: *** [all] Erreur 2
----------------------------------------------------------------------------
----------
NOAD - make install
----------------------------------------------------------------------------
----------
CXX    audiotools.o
audiotools.cpp: In function ‘void initAVCodec()’:
audiotools.cpp:105:39: error: ‘avcodec_open’ was not declared in this scope
audiotools.cpp:110:30: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not
declared in this scope
audiotools.cpp: In function ‘int scan_audio_stream_0(unsigned char*, int)’:
audiotools.cpp:166:16: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not
declared in this scope
audiotools.cpp:175:11: warning: ‘int avcodec_decode_audio3(AVCodecContext*,
int16_t*, int*, AVPacket*)’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3667) [-Wdeprecated-declarations]
audiotools.cpp:176:39: warning: ‘int avcodec_decode_audio3(AVCodecContext*,
int16_t*, int*, AVPacket*)’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3667) [-Wdeprecated-declarations]
make: *** [audiotools.o] Erreur 1
----------------------------------------------------------------------------
----------

Could you please help me to point on the problem ?
Thanks a lot ! 

Regards.
Karim





More information about the vdr mailing list