I'm on debian and follow step here but using vdr1.4.7:
http://www.mellander.org/per/p…x/?chapter=epia-hw-cle266
viafb, libcle266mpegdec, ffmpeg, DirectFB, DFB++
Compile error in vdr "make plugins" . I'm stuck there.
Code
#make plugins
Plugin softdevice:
make[1]: Entering directory
`/usr/local/src/vdr-1.4.7/PLUGINS/src/softdevice'
g++ -O2 -g -Wall -fPIC -Woverloaded-virtual -c -DHAVE_CONFIG
-D__STDC_CONSTANT_MACROS -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE
-DPLUGINLIBDIR='"./PLUGINS/lib"' -DSHM_SUPPORT -I../../../include
-I../../../../DVB/include -I/usr/local/include/ffmpeg
-I/usr/local/include/ffmpeg -I/usr/local/include/postproc -D_REENTRANT
-I/usr/local/include/directfb -I/usr/local/include/dfb++
-DHAVE_CLE266_MPEG_DECODER -I/usr/local/include mpeg2decoder.c
/usr/local/include/ffmpeg/avcodec.h:2285: warning: 'ImgReSampleContext'
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2279)
/usr/local/include/ffmpeg/avcodec.h:2295: warning: 'ImgReSampleContext'
is deprecated (declared at /usr/local/include/ffmpeg/avcodec.h:2279)
mpeg2decoder.c: In member function 'virtual int
cAudioStreamDecoder::DecodePacket(AVPacket*)':
mpeg2decoder.c:455: warning: 'avcodec_decode_audio' is deprecated
(declared at /usr/local/include/ffmpeg/avcodec.h:2606)
mpeg2decoder.c:456: warning: 'avcodec_decode_audio' is deprecated
(declared at /usr/local/include/ffmpeg/avcodec.h:2606)
mpeg2decoder.c: In member function 'int
cMpeg2Decoder::read_packet(uint8_t*, int)':
mpeg2decoder.c:1081: error: request for member 'buffer' in
'((cMpeg2Decoder*)this)->cMpeg2Decoder::ic->AVFormatContext::pb', which
is of non-class type 'ByteIOContext*'
mpeg2decoder.c: In member function 'void cMpeg2Decoder::initStream()':
mpeg2decoder.c:1115: error: cannot convert 'ByteIOContext**' to
'ByteIOContext*' for argument '1' to 'int init_put_byte(ByteIOContext*,
unsigned char*, int, int, void*, int (*)(void*, uint8_t*, int), int
(*)(void*, uint8_t*, int), offset_t (*)(void*, offset_t, int))'
mpeg2decoder.c:1116: error: request for member 'buf_end' in
'((cMpeg2Decoder*)this)->cMpeg2Decoder::ic->AVFormatContext::pb', which
is of non-class type 'ByteIOContext*'
mpeg2decoder.c:1117: error: request for member 'is_streamed' in
'((cMpeg2Decoder*)this)->cMpeg2Decoder::ic->AVFormatContext::pb', which
is of non-class type 'ByteIOContext*'
mpeg2decoder.c: In member function 'virtual void cMpeg2Decoder::Action()':
mpeg2decoder.c:1155: warning: comparison between signed and unsigned
integer expressions
mpeg2decoder.c: In member function 'void
cMpeg2Decoder::QueuePacket(const AVFormatContext*, AVPacket&, bool)':
mpeg2decoder.c:1215: warning: comparison between signed and unsigned
integer expressions
make[1]: *** [mpeg2decoder.o] Error 1
make[1]: Leaving directory `/usr/local/src/vdr-1.4.7/PLUGINS/src/softdevice'
*** failed plugins: softdevice
Alles anzeigen