[vdr] Choose the right audio from xine ?

Martin Wache M.Wache at gmx.net
Sun Jun 26 23:47:23 CEST 2005


Gregoire Favre schrieb:
> On Sun, Jun 26, 2005 at 10:23:11PM +0200, Martin Wache wrote:
> 
> 
>>This looks like the issue reported by Alexw some time ago. I finally
>>applied the patch he submited (thanks to Alexw!), so please do cvs
>>update and try again. Alternativly you could use the latest stable
>>release 0.1.2 which should compile fine.
> 
> 
> I should take the release one as the CVS still don't compil :
> 
> g++ -O2 -march=k8 -fno-stack-protector-all -nopie -fPIC -DPIC -pipe -Wall -Woverloaded-virtual -c -DUSE_MMX -DUSE_MMX2 -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DLIBXDPMS_SUPPORT -DXV_SUPPORT -DPP_LIBAVCODEC -DSUSPEND_BY_KEY -I../../../include -I/usr/src/CVS/DVB/include -I/usr/include/ffmpeg softdevice.c
> g++ -O2 -march=k8 -fno-stack-protector-all -nopie -fPIC -DPIC -pipe -Wall -Woverloaded-virtual -c -DUSE_MMX -DUSE_MMX2 -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"./PLUGINS/lib"' -DLIBXDPMS_SUPPORT -DXV_SUPPORT -DPP_LIBAVCODEC -DSUSPEND_BY_KEY -I../../../include -I/usr/src/CVS/DVB/include -I/usr/include/ffmpeg utils.c
> utils.c: In function `void* fast_memcpy(void*, const void*, size_t)':
> utils.c:383: warning: cast from pointer to integer of different size
> {standard input}: Assembler messages:
> {standard input}:615: Error: `(%rsi,%eax)' is not a valid base/index expression
> {standard input}:616: Error: `32(%rsi,%eax)' is not a valid base/index expression
> {standard input}:617: Error: `64(%rsi,%eax)' is not a valid base/index expression
> {standard input}:618: Error: `96(%rsi,%eax)' is not a valid base/index expression
> {standard input}:620: Error: suffix or operands invalid for `cmp'
> {standard input}:625: Error: `(%rsi,%eax)' is not a valid base/index expression
> {standard input}:626: Error: `8(%rsi,%eax)' is not a valid base/index expression
> {standard input}:627: Error: `16(%rsi,%eax)' is not a valid base/index expression
> {standard input}:628: Error: `24(%rsi,%eax)' is not a valid base/index expression
> {standard input}:629: Error: `32(%rsi,%eax)' is not a valid base/index expression
> {standard input}:630: Error: `40(%rsi,%eax)' is not a valid base/index expression
> {standard input}:631: Error: `48(%rsi,%eax)' is not a valid base/index expression
> {standard input}:632: Error: `56(%rsi,%eax)' is not a valid base/index expression
> {standard input}:633: Error: `(%rdi,%eax)' is not a valid base/index expression
> {standard input}:634: Error: `8(%rdi,%eax)' is not a valid base/index expression
> {standard input}:635: Error: `16(%rdi,%eax)' is not a valid base/index expression
> {standard input}:636: Error: `24(%rdi,%eax)' is not a valid base/index expression
> {standard input}:637: Error: `32(%rdi,%eax)' is not a valid base/index expression
> {standard input}:638: Error: `40(%rdi,%eax)' is not a valid base/index expression
> {standard input}:639: Error: `48(%rdi,%eax)' is not a valid base/index expression
> {standard input}:640: Error: `56(%rdi,%eax)' is not a valid base/index expression
> {standard input}:642: Error: suffix or operands invalid for `cmp'
> make: *** [utils.o] Error 1

Ah, you are using a 64 bit processor!
Then you'll also have to replace (int the file utils.c)
#define REG_a "eax" with
#define REG_a "rax".
We are currently optimizing the memory copying for different processors,
but we are not fully finished with this. For now AMD K-7 are supported
and tested, Intels P3 and P4 should work also but they are - to my
knowledge still untested.
AMD64 support is comming soon.

Bye,
Martin



More information about the vdr mailing list