compiling 32 bit mplayer on x86_64
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" 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 Thank's very much. |
Hello,
I think the compiler try's to compile with 32bit for the 64bit architecture. There is an option for configure to set the target architecture. Another option is to disable CPU-detecttion. HTH |
Thank's karpi. You solved this problem. I'm getting a new error unfortunately:
Code:
/usr/bin/ld: skipping incompatible /usr/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 Code:
./configure --enable-gui --disable-runtime-cpudetection --target=i386-linux --with-extralibdir=/usr/lib libgtk-1.2.so.0 libgtk-x11-2.0.so.0 libgtk-1.2.so.0.9.1 libgtk-x11-2.0.so.0.800.3 What am I doing wrong again ? Thank's for any help. Problem solved: had to install the libgtk-2.0_0 rpm |
All times are GMT -5. The time now is 07:16 AM. |