eyelessfade
March 29th, 2008, 09:16 AM
I'm trying to compile 32bit binarys of mplayer to run on my 64bit host. until now without luck.
./configure --enable-cross-compile --target=i686-linux --prefix=/home/user/software/mplayer-svn/ --win32codecsdir=/home/user/software/essential-20071007
gives the output of:
Detected operating system: Linux
Detected host architecture: i686
Checking for cc version ... 4.1.3, ok
Checking for host cc ... cc
Checking for cross compilation ... yes
Checking for CPU vendor ... GenuineIntel (6:15:6)
Checking for CPU type ... Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
i686
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as ) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.22-14-generic, ok
Checking for -lposix ... no
Checking for -lm ... no
Checking for langinfo ... no
Checking for language ... using en (man pages: en )
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... none
Checking for __builtin_expect ... no
Checking for kstat ... no
Checking for posix4 ... no
Checking for llrint ... no
Checking for lrint ... no
Checking for lrintf ... no
Checking for round ... no
Checking for roundf ... no
Checking for mkstemp ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (trying inet_aton next)
Checking for inet_aton() ... no (network support disabled)
Checking for network ... no
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h. There is no chance for compilation to succeed.
Check "configure.log" if you do not understand why it failed.
"configure.log" gives ============ Checking for bitypes.h (inttypes.h predecessor) ============
#include <sys/bitypes.h>
int main(void) { return 0; }
cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i686 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer -o /tmp/mplayer-conf--31425 /tmp/mplayer-conf--31425.c
/tmp/mplayer-conf--31425.c:1: error: CPU you selected does not support x86-64 instruction set
I have "ia32-libs lib32gcc1 lib32stdc++6 libc6-dev-i386 gcc-multilib" installed.
./configure --enable-cross-compile --target=i686-linux --prefix=/home/user/software/mplayer-svn/ --win32codecsdir=/home/user/software/essential-20071007
gives the output of:
Detected operating system: Linux
Detected host architecture: i686
Checking for cc version ... 4.1.3, ok
Checking for host cc ... cc
Checking for cross compilation ... yes
Checking for CPU vendor ... GenuineIntel (6:15:6)
Checking for CPU type ... Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
i686
Checking for extern symbol prefix ...
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as ) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.22-14-generic, ok
Checking for -lposix ... no
Checking for -lm ... no
Checking for langinfo ... no
Checking for language ... using en (man pages: en )
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... none
Checking for __builtin_expect ... no
Checking for kstat ... no
Checking for posix4 ... no
Checking for llrint ... no
Checking for lrint ... no
Checking for lrintf ... no
Checking for round ... no
Checking for roundf ... no
Checking for mkstemp ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (trying inet_aton next)
Checking for inet_aton() ... no (network support disabled)
Checking for network ... no
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h. There is no chance for compilation to succeed.
Check "configure.log" if you do not understand why it failed.
"configure.log" gives ============ Checking for bitypes.h (inttypes.h predecessor) ============
#include <sys/bitypes.h>
int main(void) { return 0; }
cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i686 -mtune=i686 -pipe -ffast-math -fomit-frame-pointer -o /tmp/mplayer-conf--31425 /tmp/mplayer-conf--31425.c
/tmp/mplayer-conf--31425.c:1: error: CPU you selected does not support x86-64 instruction set
I have "ia32-libs lib32gcc1 lib32stdc++6 libc6-dev-i386 gcc-multilib" installed.