[MPlayer-users] building mplayer for x86_64
Sergei Klink
sklink at yandex.ru
Fri Feb 13 02:15:38 CET 2004
I'm trying to build mplayer from CVS(as well as pre3) for my athlon64 box(SuSE
9.0), with win32 codecs support(normal build seems to work fine, seems only
the wine headers cause problems). Using ./configure --enable-gui
--enable-vidix --with-x11libdir=/usr/X11R6/lib64/ --enable-qtx --enable-win32
--enable-vesa
System:
SuSE 9.0(x86_64), gcc version 3.3.2 20031216 (prerelease) (SuSE Linux)
cpu(just in case :) :
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 4
model name : AMD Athlon(tm) 64 Processor 3000+
stepping : 8
cpu MHz : 803.660
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 1592.52
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
Here's what I get when compiling(I tried poking around in the headers, copying
definitions from x86 section, etc. but that didn't resolve the problem
completely, so this is what I got originally :):
make[1]: Entering directory `/home/sklink/mplayercvs/main/loader'
cc -I. -I.. -I../libvo/ -I../../libvo -O4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/gnome/include -I/opt/gnome/include/gtk-1.2
-I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib64/glib/include
-I/usr/X11R6/include -U_FILE_OFFSET_BITS -I/opt/gnome/include
-I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2
-I/opt/gnome/lib64/glib/include -I/usr/X11R6/include -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -DMPLAYER -D__WINE__ -c ldt_keeper.c
ldt_keeper.c: In function `Setup_LDT_Keeper':
ldt_keeper.c:198: warning: cast from pointer to integer of different size
ldt_keeper.c:257: warning: cast to pointer from integer of different size
cc -I. -I.. -I../libvo/ -I../../libvo -O4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/gnome/include -I/opt/gnome/include/gtk-1.2
-I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib64/glib/include
-I/usr/X11R6/include -U_FILE_OFFSET_BITS -I/opt/gnome/include
-I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2
-I/opt/gnome/lib64/glib/include -I/usr/X11R6/include -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -DMPLAYER -D__WINE__ -c pe_image.c
In file included from wine/winbase.h:5,
from pe_image.c:51:
wine/winnt.h:625:2: #error You need to define a CONTEXT for your CPU
In file included from wine/winbase.h:5,
from pe_image.c:51:
wine/winnt.h:628: error: parse error before '*' token
wine/winnt.h:628: warning: data definition has no type or storage class
wine/winnt.h:754:2: #error You need to define DEFINE_REGS_ENTRYPOINT macros
for your CPU
wine/winnt.h:765:3: #error You must define GET_IP for this CPU
wine/winnt.h:1021: error: parse error before "PCONTEXT"
wine/winnt.h:1021: warning: no semicolon at end of struct or union
wine/winnt.h:1022: warning: data definition has no type or storage class
wine/winnt.h:1034: error: parse error before "PCONTEXT"
In file included from wine/winbase.h:5,
from pe_image.c:51:
wine/winnt.h:1048: error: parse error before "ExceptionInfo"
wine/winnt.h:1051: error: parse error before "epointers"
In file included from pe_image.c:51:
wine/winbase.h:1342: error: parse error before "CONTEXT"
wine/winbase.h:1481: error: parse error before '*' token
In file included from pe_image.c:53:
wine/heap.h: In function `SEGPTR_Get':
wine/heap.h:36: warning: cast from pointer to integer of different size
wine/heap.h:36: warning: cast from pointer to integer of different size
In file included from pe_image.c:56:
wine/debugtools.h: At top level:
wine/debugtools.h:67: warning: useless keyword or type name in empty
declaration
wine/debugtools.h:67: warning: empty declaration
In file included from win32.h:8,
from pe_image.c:58:
com.h:51: warning: `__stdcall__' attribute ignored
com.h:52: warning: `__stdcall__' attribute ignored
com.h:53: warning: `__stdcall__' attribute ignored
com.h:63: warning: `__stdcall__' attribute ignored
com.h:64: warning: `__stdcall__' attribute ignored
com.h:65: warning: `__stdcall__' attribute ignored
com.h:66: warning: `__stdcall__' attribute ignored
pe_image.c: In function `dump_exports':
pe_image.c:76: warning: cast to pointer from integer of different size
pe_image.c:76: warning: cast to pointer from integer of different size
pe_image.c:78: warning: cast to pointer from integer of different size
pe_image.c:78: warning: cast to pointer from integer of different size
pe_image.c:80: warning: cast to pointer from integer of different size
pe_image.c:82: warning: cast to pointer from integer of different size
pe_image.c:87: warning: cast to pointer from integer of different size
pe_image.c:87: warning: cast from pointer to integer of different size
pe_image.c:88: warning: cast to pointer from integer of different size
pe_image.c:88: warning: cast from pointer to integer of different size
pe_image.c:89: warning: cast to pointer from integer of different size
pe_image.c:89: warning: cast from pointer to integer of different size
pe_image.c: In function `PE_FindExportedFunction':
pe_image.c:136: warning: cast from pointer to integer of different size
pe_image.c:148: warning: cast to pointer from integer of different size
pe_image.c:148: warning: cast from pointer to integer of different size
pe_image.c:149: warning: cast to pointer from integer of different size
pe_image.c:149: warning: cast from pointer to integer of different size
pe_image.c:150: warning: cast to pointer from integer of different size
pe_image.c:150: warning: cast from pointer to integer of different size
pe_image.c:152: warning: cast to pointer from integer of different size
pe_image.c:152: warning: cast to pointer from integer of different size
pe_image.c:154: warning: cast to pointer from integer of different size
pe_image.c:154: warning: cast to pointer from integer of different size
pe_image.c:157: warning: cast from pointer to integer of different size
pe_image.c:164: warning: cast to pointer from integer of different size
pe_image.c:164: warning: cast from pointer to integer of different size
pe_image.c:176: warning: cast to pointer from integer of different size
pe_image.c:176: warning: cast from pointer to integer of different size
pe_image.c:188: warning: cast from pointer to integer of different size
pe_image.c:194: warning: cast to pointer from integer of different size
pe_image.c:194: warning: cast from pointer to integer of different size
pe_image.c:210: warning: cast to pointer from integer of different size
pe_image.c:223: warning: cast to pointer from integer of different size
pe_image.c: In function `fixup_imports':
pe_image.c:251: warning: cast to pointer from integer of different size
pe_image.c:287: warning: cast to pointer from integer of different size
pe_image.c:297: warning: cast to pointer from integer of different size
pe_image.c:297: warning: cast from pointer to integer of different size
pe_image.c:298: warning: cast to pointer from integer of different size
pe_image.c:298: warning: cast from pointer to integer of different size
pe_image.c:308: warning: cast to pointer from integer of different size
pe_image.c:308: warning: cast from pointer to integer of different size
pe_image.c:317: warning: cast to pointer from integer of different size
pe_image.c:317: warning: cast from pointer to integer of different size
pe_image.c:327: warning: cast to pointer from integer of different size
pe_image.c:327: warning: cast from pointer to integer of different size
pe_image.c: In function `calc_vma_size':
pe_image.c:343: warning: cast to pointer from integer of different size
pe_image.c:343: warning: cast to pointer from integer of different size
pe_image.c:343: warning: cast to pointer from integer of different size
pe_image.c:343: warning: cast to pointer from integer of different size
pe_image.c:347: warning: cast to pointer from integer of different size
pe_image.c:347: warning: cast to pointer from integer of different size
pe_image.c: In function `do_relocations':
pe_image.c:369: warning: cast to pointer from integer of different size
pe_image.c:369: warning: cast to pointer from integer of different size
pe_image.c:378: warning: cast to pointer from integer of different size
pe_image.c: In function `PE_LoadImage':
pe_image.c:468: warning: cast to pointer from integer of different size
pe_image.c:474: warning: cast to pointer from integer of different size
pe_image.c:474: warning: cast to pointer from integer of different size
pe_image.c:503: warning: cast to pointer from integer of different size
pe_image.c:503: warning: cast to pointer from integer of different size
pe_image.c:503: warning: cast to pointer from integer of different size
pe_image.c:503: warning: cast to pointer from integer of different size
pe_image.c:547: warning: cast to pointer from integer of different size
pe_image.c:547: warning: cast to pointer from integer of different size
pe_image.c:551: warning: cast to pointer from integer of different size
pe_image.c:552: warning: cast to pointer from integer of different size
pe_image.c:552: warning: cast to pointer from integer of different size
pe_image.c:556: warning: cast to pointer from integer of different size
pe_image.c:566: warning: cast to pointer from integer of different size
pe_image.c:568: warning: cast from pointer to integer of different size
pe_image.c:594: warning: cast from pointer to integer of different size
pe_image.c:618: warning: cast to pointer from integer of different size
pe_image.c:620: warning: cast to pointer from integer of different size
pe_image.c:627: warning: cast to pointer from integer of different size
pe_image.c:627: warning: cast to pointer from integer of different size
pe_image.c:627: warning: cast to pointer from integer of different size
pe_image.c:627: warning: cast to pointer from integer of different size
pe_image.c:634: warning: cast to pointer from integer of different size
pe_image.c:637: warning: cast to pointer from integer of different size
pe_image.c:651: warning: cast to pointer from integer of different size
pe_image.c:651: warning: cast to pointer from integer of different size
pe_image.c:651: warning: cast to pointer from integer of different size
pe_image.c:651: warning: cast to pointer from integer of different size
pe_image.c:658: warning: cast to pointer from integer of different size
pe_image.c:665: warning: cast to pointer from integer of different size
pe_image.c:671: warning: cast to pointer from integer of different size
pe_image.c:672: warning: cast to pointer from integer of different size
pe_image.c: In function `PE_CreateModule':
pe_image.c:693: warning: cast to pointer from integer of different size
pe_image.c:693: warning: cast to pointer from integer of different size
pe_image.c:706: warning: cast to pointer from integer of different size
pe_image.c:710: warning: cast to pointer from integer of different size
pe_image.c:714: warning: cast to pointer from integer of different size
pe_image.c: In function `PE_UnloadLibrary':
pe_image.c:875: warning: cast to pointer from integer of different size
pe_image.c: In function `PE_InitDLL':
pe_image.c:918: warning: cast to pointer from integer of different size
pe_image.c:918: warning: cast to pointer from integer of different size
pe_image.c:919: warning: cast to pointer from integer of different size
pe_image.c:919: warning: cast to pointer from integer of different size
pe_image.c:924: warning: cast to pointer from integer of different size
pe_image.c:924: warning: cast to pointer from integer of different size
pe_image.c:924: warning: cast to pointer from integer of different size
pe_image.c: In function `_fixup_address':
pe_image.c:956: warning: cast from pointer to integer of different size
pe_image.c:957: warning: cast from pointer to integer of different size
pe_image.c:960: warning: cast from pointer to integer of different size
pe_image.c:960: warning: cast to pointer from integer of different size
make[1]: *** [pe_image.o] Error 1
make[1]: Leaving directory `/home/sklink/mplayercvs/main/loader'
make: *** [loader/libloader.a] Ошибка 2
Any suggestions(is it even possible to have 64bit wine?)? What other options
can I expect to be able to use on this platform?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040212/264bf30f/attachment.pgp>
More information about the MPlayer-users
mailing list