Posts: 27
Joined: Feb 2011
Reputation:
0
Have removed the entries with hurry_up involved (two occurances) and compiling is continuing. Was this also fixed in the pull request?
Posts: 21
Joined: May 2011
Reputation:
1
Building xbmc with external ffmpeg fails with the git commit 34de506b468eff4bb0ea864976752a1879e39a82 and earlier up to jun6/2011.
sudo ./bootstrap && sudo ./configure --prefix=/usr --disable-vdpau --enable-vaapi --enable-rtmp --with-cpu=core2 --enable-external-libraries --enable-external-ffmpeg
.
.
.
make[1]: Entering directory `/usr/local/src/xbmc/xbmc/cores/dvdplayer'
CPP DVDAudio.o
CPP URL.o
CPP DVDClock.o
CPP Util.o
CPP DVDDemuxSPU.o
CPP DVDFileInfo.o
In file included from /usr/local/src/xbmc/lib/DllAvCodec.h:27,
from /usr/local/src/xbmc/lib/DllAvFormat.h:27,
from DVDDemuxers/DVDDemuxFFmpeg.h:25,
from DVDFileInfo.cpp:40:
In file included from /usr/local/src/xbmc/lib/ffmpeg/libavformat/riff.h:33,
from /usr/local/src/xbmc/lib/DllAvFormat.h:46,
from DVDDemuxers/DVDDemuxFFmpeg.h:25,
from DVDFileInfo.cpp:40:
/usr/local/src/xbmc/lib/ffmpeg/libavformat/internal.h: At global scope:
/usr/local/src/xbmc/lib/ffmpeg/libavformat/internal.h:163: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
/usr/local/src/xbmc/lib/ffmpeg/libavformat/internal.h:176: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
In file included from /usr/local/src/xbmc/lib/DllAvFormat.h:46,
from DVDDemuxers/DVDDemuxFFmpeg.h:25,
from DVDFileInfo.cpp:40:
/usr/local/src/xbmc/lib/ffmpeg/libavformat/riff.h:35: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
/usr/local/src/xbmc/lib/ffmpeg/libavformat/riff.h:36: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
/usr/local/src/xbmc/lib/ffmpeg/libavformat/riff.h:43: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
/usr/local/src/xbmc/lib/ffmpeg/libavformat/riff.h:45: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
/usr/local/src/xbmc/lib/ffmpeg/libavformat/riff.h:46: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
/usr/local/src/xbmc/lib/ffmpeg/libavformat/riff.h:48: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
In file included from DVDDemuxers/DVDDemuxFFmpeg.h:25,
from DVDFileInfo.cpp:40:
/usr/local/src/xbmc/lib/DllAvFormat.h: In member function ‘virtual int DllAvFormat::url_fclose(ByteIOContext*)’:
/usr/local/src/xbmc/lib/DllAvFormat.h:169: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:280)
/usr/local/src/xbmc/lib/DllAvFormat.h:169: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:280)
/usr/local/src/xbmc/lib/DllAvFormat.h: In member function ‘virtual int DllAvFormat::url_open_dyn_buf(ByteIOContext**)’:
/usr/local/src/xbmc/lib/DllAvFormat.h:170: warning: ‘int url_open_dyn_buf(AVIOContext**)’ is deprecated (declared at /usr/include/libavformat/avio.h:294)
/usr/local/src/xbmc/lib/DllAvFormat.h:170: warning: ‘int url_open_dyn_buf(AVIOContext**)’ is deprecated (declared at /usr/include/libavformat/avio.h:294)
/usr/local/src/xbmc/lib/DllAvFormat.h: In member function ‘virtual int DllAvFormat::url_close_dyn_buf(ByteIOContext*, uint8_t**)’:
/usr/local/src/xbmc/lib/DllAvFormat.h:171: warning: ‘int url_close_dyn_buf(AVIOContext*, uint8_t**)’ is deprecated (declared at /usr/include/libavformat/avio.h:296)
/usr/local/src/xbmc/lib/DllAvFormat.h:171: warning: ‘int url_close_dyn_buf(AVIOContext*, uint8_t**)’ is deprecated (declared at /usr/include/libavformat/avio.h:296)
/usr/local/src/xbmc/lib/DllAvFormat.h: In member function ‘virtual offset_t DllAvFormat::url_fseek(ByteIOContext*, offset_t, int)’:
/usr/local/src/xbmc/lib/DllAvFormat.h:172: warning: ‘int64_t url_fseek(AVIOContext*, int64_t, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:281)
/usr/local/src/xbmc/lib/DllAvFormat.h:172: warning: ‘int64_t url_fseek(AVIOContext*, int64_t, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:281)
/usr/local/src/xbmc/lib/DllAvFormat.h: In member function ‘virtual int DllAvFormat::get_buffer(ByteIOContext*, unsigned char*, int)’:
/usr/local/src/xbmc/lib/DllAvFormat.h:173: warning: ‘int get_buffer(AVIOContext*, unsigned char*, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:242)
/usr/local/src/xbmc/lib/DllAvFormat.h: In member function ‘virtual int DllAvFormat::av_metadata_set2(AVMetadata**, const char*, const char*, int)’:
/usr/local/src/xbmc/lib/DllAvFormat.h:197: warning: ‘int av_metadata_set2(AVDictionary**, const char*, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:150)
/usr/local/src/xbmc/lib/DllAvFormat.h:197: warning: ‘int av_metadata_set2(AVDictionary**, const char*, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:150)
In file included from DVDFileInfo.cpp:40:
DVDDemuxers/DVDDemuxFFmpeg.h: At global scope:
DVDDemuxers/DVDDemuxFFmpeg.h:130: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:218)
In file included from DVDCodecs/Video/DVDVideoCodecFFmpeg.h:29,
from DVDFileInfo.cpp:44:
/usr/local/src/xbmc/lib/DllAvFilter.h: In member function ‘virtual int DllAvFilter::avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut*, AVFilterInOut*, AVClass*)’:
/usr/local/src/xbmc/lib/DllAvFilter.h:129: error: cannot convert ‘AVFilterInOut*’ to ‘AVFilterInOut**’ for argument ‘3’ to ‘int avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut**, AVFilterInOut**, void*)’
/usr/include/libavfilter/avcodec.h: In member function ‘virtual int DllAvFilter::av_vsrc_buffer_add_frame(AVFilterContext*, AVFrame*)’:
/usr/include/libavfilter/avcodec.h:68: error: too few arguments to function ‘int av_vsrc_buffer_add_frame(AVFilterContext*, const AVFrame*, int)’
/usr/local/src/xbmc/lib/DllAvFilter.h:134: error: at this point in file
make[1]: *** [DVDFileInfo.o] Error 1
make[1]: Leaving directory `/usr/local/src/xbmc/xbmc/cores/dvdplayer'
make: *** [xbmc/cores/dvdplayer/DVDPlayer.a] Error 2
make: *** Waiting for unfinished jobs....
CPP ViewDatabase.o
CPP XBApplicationEx.o
CPP XBDateTime.o
CPP xbmc.o
AR xbmc.a
make[1]: Leaving directory `/usr/local/src/xbmc/xbmc'
Posts: 21
Joined: May 2011
Reputation:
1
Yeah... I tried git-pull today again and recompiled with -external-ffmpeg. Still get aborted make at:
In file included from DVDFileInfo.cpp:40:
DVDDemuxers/DVDDemuxFFmpeg.h: At global scope:
DVDDemuxers/DVDDemuxFFmpeg.h:130: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:218)
In file included from DVDCodecs/Video/DVDVideoCodecFFmpeg.h:30,
from DVDFileInfo.cpp:44:
/usr/local/src/xbmc/lib/DllAvFilter.h: In member function ‘virtual int DllAvFilter::avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut*, AVFilterInOut*, AVClass*)’:
/usr/local/src/xbmc/lib/DllAvFilter.h:131: error: cannot convert ‘AVFilterInOut*’ to ‘AVFilterInOut**’ for argument ‘3’ to ‘int avfilter_graph_parse(AVFilterGraph*, const char*, AVFilterInOut**, AVFilterInOut**, void*)’
CPP SortFileItem.o
make[1]: *** [DVDFileInfo.o] Error 1
make[1]: Leaving directory `/usr/local/src/xbmc/xbmc/cores/dvdplayer'
make: *** [xbmc/cores/dvdplayer/DVDPlayer.a] Error 2
make: *** Waiting for unfinished jobs....
CPP SystemGlobals.o
CPP Temperature.o
CPP TextureCache.o
CPP TextureDatabase.o
CPP ThumbLoader.o
CPP ThumbnailCache.o
CPP URL.o
CPP Util.o
CPP ViewDatabase.o
CPP XBApplicationEx.o
CPP XBDateTime.o
CPP xbmc.o
AR xbmc.a
make[1]: Leaving directory `/usr/local/src/xbmc/xbmc'
xbmc$ ffmpeg
ffmpeg version N-30931-g0452f77, Copyright © 2000-2011 the FFmpeg developers
built on Jun 21 2011 12:29:53 with gcc 4.4.3
configuration: --prefix=/usr --disable-runtime-cpudetect --enable-vaapi --cpu=core2 --enable-static --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libxvid --disable-demuxer=v4l --disable-demuxer=v4l2 --disable-demuxer=oss --disable-demuxer=jack --disable-muxer=oss --enable-x11grab --enable-pthreads --enable-libfaac --enable-nonfree --disable-altivec --enable-gpl --enable-postproc --enable-avfilter --disable-stripping --enable-hardcoded-tables --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'
.
.
.
Posts: 88
Joined: Jul 2009
Reputation:
0
patch in the ticket helped build xbmc-pvr-odk44
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10