Hi
I am trying to compile 32 bit mplayer(source files from CVS) on Mandriva 2006 x86_64(upgraded from 2005 LE). For that I'm doing:
Code:
export CC="gcc -m32"
export LDFLAGS='-L/usr/X11R6/lib'
./configure --enable-gui
Everything goes fine till here. Running make fails however at some point:
Code:
gcc -m32 -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/include/freetype2 -I/usr/X11R6/include -I./libavutil -I./libavcodec -o cpudetect.o cpudetect.c
{standard input}: Assembler messages:
{standard input}:2524: Error: bad register name `%rbx'
{standard input}:2526: Error: bad register name `%rbx'
{standard input}:2550: Error: bad register name `%rbx'
{standard input}:2552: Error: bad register name `%rbx'
{standard input}:2611: Error: bad register name `%rbx'
{standard input}:2613: Error: bad register name `%rbx'
{standard input}:2658: Error: bad register name `%rbx'
{standard input}:2660: Error: bad register name `%rbx'
{standard input}:2686: Error: bad register name `%rbx'
{standard input}:2688: Error: bad register name `%rbx'
make: *** [cpudetect.o] Error 1
Compiling 64 bit mplayer works. However, the 32 bit(rpm) plays certain formats better. If I compile from source, I hope to get for instance faad support(and thus have audio when playing Apple trailers). Please tell me if there is a way of getting this compilation done.
Thank's very much.