Hi,
I know this is not strictly about VDR, but has anyone successfully compiled xine-lib (either CVS or off Reinhard's site, Feb CVS)?
With the CVS located on Reinhard's site (circa Feb 13 2006), compiling with GCC 4.02 (and applying NO patches including xine-vdr) I get the following error:
"h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2': dsputil_mmx.c:621: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[5]: *** [dsputil_mmx.lo] Error 1 "
Compiling the latest version from CVS (no patches, GCCC 4.02), I get a bunch of errors starting with:
" ldt_keeper.c:188: error: parameter 1 ('array') has incomplete type ldt_keeper.c: In function '_modify_ldt': ldt_keeper.c:193: error: invalid application of 'sizeof' to incomplete type 'struct user_desc' ldt_keeper.c: In function 'Setup_LDT_Keeper': "
Any ideas?
CR.
On 18.3.2006, at 14:24, CR wrote:
Hi,
I know this is not strictly about VDR, but has anyone successfully compiled xine-lib (either CVS or off Reinhard's site, Feb CVS)?
The problem is probably in gcc and relates to PIC generation support. This doesn't fix the cause but fixes the symptom: configure xine-lib with --disable-fpic option and it should work. It did for me (Ubuntu dapper, gcc 4.0.3).
With the CVS located on Reinhard's site (circa Feb 13 2006), compiling with GCC 4.02 (and applying NO patches including xine-vdr) I get the following error:
"h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2': dsputil_mmx.c:621: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[5]: *** [dsputil_mmx.lo] Error 1 "
Compiling the latest version from CVS (no patches, GCCC 4.02), I get a bunch of errors starting with:
" ldt_keeper.c:188: error: parameter 1 ('array') has incomplete type ldt_keeper.c: In function '_modify_ldt': ldt_keeper.c:193: error: invalid application of 'sizeof' to incomplete type 'struct user_desc' ldt_keeper.c: In function 'Setup_LDT_Keeper': "
Any ideas?
CR.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr