[vdr] problem compiling vdr-xine

Simon Baxter linuxtv at nzbaxters.com
Tue Dec 4 20:02:32 CET 2007


I'm trying to get vdr-xine compiled under FC8 (2.6.23.1-49.fc8)

I downloaded the sources - xine-lib-1.1.8.tar.bz2 which patches ok, but then 
won't compile with the following error:
_cdio_linux.c:415: error: 'INT_MAX' undeclared (first use in this > 
function)

This is the same as Darren Salt has identified on:
http://www.nabble.com/xine-lib-fails-to-build-on-Fedora-8-64bit:-t4930109.html

His suggestion of running ./autogen.sh with the option 
"--without-included-vcdlibs" doesn't change anything, and it also doesn't 
look like a valid option anyway, as I think it's the default "without":

grep -R vcdlibs* *
configure:  --with-internal-vcdlibs force using internal 
libcdio/libvcd/libvcdinfo
configure:# Check whether --with-internal-vcdlibs was given.
configure:if test "${with_internal_vcdlibs+set}" = set; then
configure:  withval=$with_internal_vcdlibs; internal_vcdnav="$withval"
configure.ac:AC_ARG_WITH(internal-vcdlibs, 
AS_HELP_STRING([--with-internal-vcdlibs], [force using internal 
libcdio/libvcd/libvcdinfo]),
misc/xine-lib.spec:            --with-internal-vcdlibs
misc/xine-lib.spec:- use internal vcdlibs to keep dependencies low
misc/xine-lib.spec.in:            --with-internal-vcdlibs
misc/xine-lib.spec.in:- use internal vcdlibs to keep dependencies low

I tried getting the latest hg of xine-lib, but this won't patch with

patch -d. -p0 < ~/vdr-1.5.12/PLUGINS/src/xine/patches/xine-lib.patch

...with errors in ff_video, video_out_xvmc and video_out_xxmc

patch -d. -p0 --dry-run < 
~/vdr-1.5.12/PLUGINS/src/xine/patches/xine-lib.patch
patching file xine-lib/configure.ac
Hunk #1 succeeded at 2720 (offset 28 lines).
Hunk #3 succeeded at 2961 (offset 33 lines).
patching file xine-lib/include/xine.h.in
Hunk #1 succeeded at 1661 (offset -2 lines).
patching file xine-lib/src/Makefile.am
patching file xine-lib/src/demuxers/demux_mpeg_pes.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 
xine-lib/src/demuxers/demux_mpeg_pes.c.rej
patching file xine-lib/src/libffmpeg/ff_video_decoder.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file 
xine-lib/src/libffmpeg/ff_video_decoder.c.rej
patching file xine-lib/src/libffmpeg/libavcodec/h264.c
patching file xine-lib/src/libffmpeg/libavcodec/mpegvideo.c
patching file xine-lib/src/vdr/Makefile.am
patching file xine-lib/src/vdr/input_vdr.c
patching file xine-lib/src/vdr/input_vdr.h
patching file xine-lib/src/vdr/post_vdr.c
patching file xine-lib/src/vdr/post_vdr.h
patching file xine-lib/src/vdr/post_vdr_audio.c
patching file xine-lib/src/vdr/post_vdr_video.c
patching file xine-lib/src/video_out/video_out_xcbshm.c
Hunk #1 succeeded at 131 (offset -2 lines).
patching file xine-lib/src/video_out/video_out_xcbxv.c
Hunk #1 succeeded at 211 (offset -2 lines).
patching file xine-lib/src/video_out/video_out_xshm.c
Hunk #1 succeeded at 172 (offset -3 lines).
patching file xine-lib/src/video_out/video_out_xv.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 
xine-lib/src/video_out/video_out_xv.c.rej
patching file xine-lib/src/video_out/video_out_xvmc.c
Hunk #1 succeeded at 487 (offset -2 lines).
Hunk #3 succeeded at 765 (offset -2 lines).
patching file xine-lib/src/video_out/video_out_xxmc.c
Hunk #1 succeeded at 368 (offset -3 lines).
Hunk #3 succeeded at 455 (offset -3 lines).
Hunk #5 FAILED at 610.
Hunk #6 succeeded at 1213 (offset -8 lines).
Hunk #8 succeeded at 1253 (offset -8 lines).
1 out of 9 hunks FAILED -- saving rejects to file 
xine-lib/src/video_out/video_out_xxmc.c.rej
patching file xine-lib/src/video_out/xvmc_mocomp.c
Hunk #1 succeeded at 70 (offset -2 lines).
patching file xine-lib/src/video_out/xvmc_vld.c
Hunk #1 succeeded at 32 (offset -2 lines).
patching file xine-lib/src/xine-engine/accel_xvmc.h
Hunk #1 succeeded at 65 (offset -2 lines).
Hunk #3 succeeded at 112 (offset -2 lines).
patching file xine-lib/src/xine-engine/post.c
Hunk #1 succeeded at 147 (offset -2 lines).
Hunk #3 succeeded at 209 (offset -2 lines).
Hunk #5 succeeded at 391 (offset -2 lines).
Hunk #7 succeeded at 723 (offset -2 lines).
patching file xine-lib/src/xine-engine/post.h
Hunk #1 succeeded at 177 (offset -3 lines).
patching file xine-lib/src/xine-engine/video_decoder.c
Hunk #1 succeeded at 25 (offset -3 lines).
patching file xine-lib/src/xine-engine/video_out.c
Hunk #1 succeeded at 69 (offset -2 lines).
Hunk #3 succeeded at 148 (offset -2 lines).
Hunk #5 succeeded at 221 (offset -2 lines).
Hunk #7 succeeded at 599 (offset -2 lines).
Hunk #9 succeeded at 1142 (offset -2 lines).
Hunk #11 succeeded at 1658 (offset -2 lines).
Hunk #13 succeeded at 1834 (offset -2 lines).
Hunk #15 succeeded at 1874 (offset -2 lines).
patching file xine-lib/src/xine-engine/video_out.h
Hunk #1 succeeded at 202 (offset -3 lines).
patching file xine-lib/src/xine-engine/video_overlay.h
Hunk #1 succeeded at 35 (offset -3 lines).
patching file xine-lib/src/xine-engine/xine.c
Hunk #1 succeeded at 292 (offset -2 lines).
Hunk #3 succeeded at 545 (offset -2 lines).
Hunk #5 succeeded at 571 (offset -2 lines).
Hunk #7 succeeded at 2093 (offset 2 lines).
patching file xine-lib/src/xine-engine/xine_internal.h
Hunk #1 succeeded at 166 (offset -3 lines).
Hunk #3 succeeded at 374 (offset -3 lines).




Can anyone help?? 





More information about the vdr mailing list