dfb/coreavc,xine bulid problem

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

 



I am runing debian 64bit. I am currently using rgb out of nexus But I want
to switch to the Matrox g450 so I can down convert hd to sd. I am trying to
use vdr-xine plugin, DirectFB with fb_xine for the matrox card  and coreavc
for decoder. The problem is getting xine 1.2 to build. Using latest HG make
seems to compile but using fakeroot dpkg-buildpackage I get a lot of this:
------------------------------------------------
pp.c:309: warning: statement with no effect
pp.c:311: error: âpost_plugin_pp_tâ has no member named âpp_modeâ
pp.c:312: error: implicit declaration of function âpp_postprocessâ
pp.c:316: error: âpost_plugin_pp_tâ has no member named âpp_modeâ
pp.c:316: error: âpost_plugin_pp_tâ has no member named âpp_contextâ
pp.c:319: error: âpost_plugin_pp_tâ has no member named âlockâ
pp.c:319: warning: passing argument 1 of âpthread_mutex_unlockâ from
incompatible pointer type
pp.c:321: error: âpost_plugin_pp_tâ has no member named âpp_modeâ
make[4]: *** [xineplug_post_planar_la-pp.lo] Error 1
make[4]: Leaving directory
`/usr/local/src/xine/xine-lib/master/xine-lib-1.2/src/post/planar'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/src/xine/xine-lib/master/xine-lib-1.2/src/post'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/src/xine/xine-lib/master/xine-lib-1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/xine/xine-lib/master/xine-lib-1.2'
make: *** [build-stamp] Error 2
------------------------------------------------
And that is before trying to patch it with xine-lib-1.2hg-coreavc.diff. That
as 2 hunks fail which I patch by hand. The failed hunks are:
------------------------------------------------
win32.c.rej
*************** struct libs libraries[]={
*** 5063,5069 ****
  #else
  #define MANGLE(a) #a
  #endif
- static void ext_stubs(void)
  {
      // expects:
      //  ax  position index
--- 5288,5294 ----
  #else
  #define MANGLE(a) #a
  #endif
+ static WIN_BOOL WINAPI ext_stubs(void)
  {
      // expects:
      //  ax  position index
------------------------------------------------
demux_ts.c.rej
***************
*** 220,226 ****
        ISO_13818_PART7_AUDIO = 0x0f,     /* ISO/IEC 13818-7 Audio with ADTS
transport sytax */
        ISO_14496_PART2_VIDEO = 0x10,     /* ISO/IEC 14496-2 Visual (MPEG-4)
*/
        ISO_14496_PART3_AUDIO = 0x11,     /* ISO/IEC 14496-3 Audio with LATM
transport syntax */
-       ISO_14496_PART10_VIDEO = 0x1b     /* ISO/IEC 14496-10 Video (MPEG-4
part 10/AVC, aka H.264) */
      } streamType;

  #define WRAP_THRESHOLD       270000
--- 220,227 ----
        ISO_13818_PART7_AUDIO = 0x0f,     /* ISO/IEC 13818-7 Audio with ADTS
transport sytax */
        ISO_14496_PART2_VIDEO = 0x10,     /* ISO/IEC 14496-2 Visual (MPEG-4)
*/
        ISO_14496_PART3_AUDIO = 0x11,     /* ISO/IEC 14496-3 Audio with LATM
transport syntax */
+       ISO_14496_PART10_VIDEO = 0x1b,    /* ISO/IEC 14496-10 Video (MPEG-4
part 10/AVC, aka H.264) */
+       STREAMDEV_H264_VIDEO = 0xe0       /* ISO/IEC 14496-10 Video (MPEG-4
part 10/AVC, aka H.264) */
      } streamType;

  #define WRAP_THRESHOLD       270000
------------------------------------------------
With the patches I get:
------------------------------------------------
demux_ts.c:222: error: expected â,â or â}â before âSTREAM_VIDEO_MPEGâ
demux_ts.c: In function âdemux_ts_parse_pes_headerâ:
demux_ts.c:732: error: âSTREAM_AUDIO_AC3â undeclared (first use in this
function)
demux_ts.c:732: error: (Each undeclared identifier is reported only once
demux_ts.c:732: error: for each function it appears in.)
demux_ts.c:787: error: âSTREAM_VIDEO_MPEGâ undeclared (first use in this
function)
demux_ts.c: In function âdemux_ts_parse_pmtâ:
demux_ts.c:1331: error: âSTREAM_AUDIO_AC3â undeclared (first use in this
function)
make[3]: *** [demux_ts.lo] Error 1
make[3]: Leaving directory
`/usr/local/src/xine/xine-lib/xine-lib-1.2/src/demuxers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/xine/xine-lib/xine-lib-1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/xine/xine-lib/xine-lib-1.2'
make: *** [build-stamp] Error 2
------------------------------------------------

The switches I add to the debian rule file are:

 --enable-directfb \
 --disable-dxr3 \
 --disable-xvmc \
 --without-x \
 --without-xcb \
 --disable-altivec \
 --disable-vis \

But I get the same errors with/out the switches.


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux