Hello there, I'm trying to compile MPlayer from source, but it fails with the following message: cc -MM -I../libvo -I../../libvo -I/usr/X11/include -O4 -pipe -ffast-math -fomi t-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I. . -DNOAVIFILE_HEADERS DS_AudioDecoder.c DS_Filter.c DS_VideoDecoder.c allocator .c cmediasample.c guids.c inputpin.c outputpin.c 1>.depend In file included from ../wine/winbase.h:5, from ../wine/winreg.h:7, from libwin32.h:17, from DS_AudioDecoder.c:13: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from guids.h:5, from iunk.h:4, from interfaces.h:10, from inputpin.h:4, from DS_Filter.h:4, from DS_Filter.c:2: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from guids.h:5, from DS_VideoDecoder.c:8: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from guids.h:5, from iunk.h:4, from interfaces.h:10, from allocator.h:4, from allocator.c:2: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from guids.h:5, from iunk.h:4, from interfaces.h:10, from cmediasample.h:4, from cmediasample.c:1: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from guids.h:5, from guids.c:1: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from guids.h:5, from iunk.h:4, from interfaces.h:10, from inputpin.h:4, from inputpin.c:1: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from guids.h:5, from iunk.h:4, from interfaces.h:10, from allocator.h:4, from outputpin.h:6, from outputpin.c:4: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU make[2]: *** [depend] Error 1 make[2]: Leaving directory `/home/andy/Documents/src/MPlayer-1.0pre5/loader/dsho w' make[2]: Entering directory `/home/andy/Documents/src/MPlayer-1.0pre5/loader/dmo ' cc -MM -I../libvo -I../../libvo -I/usr/X11/include -O4 -pipe -ffast-math -fomi t-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I. ./dshow -I.. -DNOAVIFILE_HEADERS DMO_AudioDecoder.c DMO_VideoDecoder.c buffer. c dmo.c dmo_guids.c 1>.depend In file included from ../wine/winbase.h:5, from ../wine/winreg.h:7, from ../dshow/libwin32.h:17, from DMO_AudioDecoder.c:12: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from ../dshow/guids.h:5, from DMO_VideoDecoder.c:8: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from ../dshow/guids.h:5, from dmo_guids.h:4, from DMO_Filter.h:4, from buffer.c:1: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from ../dshow/guids.h:5, from dmo_guids.h:4, from DMO_Filter.h:4, from dmo.c:2: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from ../dshow/guids.h:5, from dmo_guids.h:4, from dmo_guids.c:1: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU make[2]: *** [depend] Error 1 make[2]: Leaving directory `/home/andy/Documents/src/MPlayer-1.0pre5/loader/dmo' make[1]: *** [depend] Error 2 make[1]: Leaving directory `/home/andy/Documents/src/MPlayer-1.0pre5' make: *** [version.h] Fehler 2 I tried many options in ./configure, but I don't find andy solution. ./configure --with-x11libdir=/usr/X11R6/lib64 --libdir=/usr/lib64 --prefix=/usr --disable-fbdev --enable-gui --with-win32libdir=/usr/lib64/win32 --with-xvidlibdir=/usr/local/lib/ --with-xvidincdir=/usr/local/include/ --language=de Where can I set the CPU context? Thanks a lot Andy ------------------------------------------------------- -------------------------------------------------------
../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from ../dshow/guids.h:5, from dmo_guids.h:4, from dmo_guids.c:1: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU make[2]: *** [depend] Error 1 make[2]: Leaving directory `/home/andy/Documents/src/MPlayer-1.0pre5/loader/dmo' make[1]: *** [depend] Error 2 make[1]: Leaving directory `/home/andy/Documents/src/MPlayer-1.0pre5' make: *** [version.h] Fehler 2
You're trying to compile the wine DLL loader included in MPlayer as 64bit. This won't work because Wine doesn't support WIN64. You have to somehow disable the Wine support in configure or compile MPlayer as a 32bit program (using linux32 and the -m32 options for linker and compiler) -Andi
Am Samstag, 2. Oktober 2004 12:53 schrieb Andi Kleen:
../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU In file included from ../wine/pe_image.h:4, from ../wine/module.h:11, from ../dshow/guids.h:5, from dmo_guids.h:4, from dmo_guids.c:1: ../wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU make[2]: *** [depend] Error 1 make[2]: Leaving directory `/home/andy/Documents/src/MPlayer-1.0pre5/loader/dmo' make[1]: *** [depend] Error 2 make[1]: Leaving directory `/home/andy/Documents/src/MPlayer-1.0pre5' make: *** [version.h] Fehler 2
You're trying to compile the wine DLL loader included in MPlayer as 64bit. This won't work because Wine doesn't support WIN64. You have to somehow disable the Wine support in configure or compile MPlayer as a 32bit program (using linux32 and the -m32 options for linker and compiler)
-Andi
OK, thanks, I'll try it. How do I use the linux32 and -m32 option. I used it like this linux32 ./configure --... and got an error that I have to upgrade my binutils to 2.10, but I have 2.15
participants (2)
-
Andi Kleen
-
Andreas Schneider