PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : WineX (CVS) Kompilierung - Fehlermeldung (freetype.c:105: `FT_Load_Sfnt_Table')



ichunddu
15.11.04, 19:59
Hi,
ich habe mir per CVS WineX gezogen und wollte es installieren.
Ob mit 'tools/wineinstall' oder mit manuellen 'make' tritt trotzdem der gleiche Fehler auf. Auch bei google.de konnte ich zu der Fehlermeldung nichts finden:

gcc -MMD -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2 -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_GDI32_ -D_REENTRANT -I/usr/X11R6/include -o freetype.o freetype.c
freetype.c:105: `FT_Load_Sfnt_Table' undeclared here (not in a function)
freetype.c:105: warning: type defaults to `int' in declaration of `pFT_Load_Sfnt_Table'
freetype.c: In function `FTAlias_FindBestBuiltins':
freetype.c:573: warning: unused variable `foundFamily'
freetype.c:627: warning: unused variable `foundFamily'
freetype.c: In function `WineEngGetFontData':
freetype.c:2798: called object is not a function
make[2]: *** [freetype.o] Fehler 1
make[2]: Leaving directory `/downloads/winex/winex/dlls/gdi'
make[1]: *** [gdi/libgdi32.so] Fehler 2
make[1]: Leaving directory `/downloads/winex/winex/dlls'
make: *** [dlls] Fehler 2

Ich hoffe ihr könnt mir zumindest einen Tipp geben.

gladiac
16.11.04, 08:13
Steht doch dort, installier freetype2

ichunddu
16.11.04, 14:10
gcc -MMD -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const -fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o caps.o caps.c
caps.c: In function `D3DGL_Init':
caps.c:163: warning: unsigned int format, ULONG_PTR arg (arg 5)
caps.c:391: `GL_MAX_VERTEX_UNITS_ARB' undeclared (first use in this function)
caps.c:391: (Each undeclared identifier is reported only once
caps.c:391: for each function it appears in.)
make[2]: *** [caps.o] Fehler 1
make[2]: Leaving directory `/downloads/winex/dlls/d3dgl'
make[1]: *** [d3dgl/libd3dgl.so] Fehler 2
make[1]: Leaving directory `/downloads/winex/dlls'
make: *** [dlls] Fehler 2

Na gut, was soll das jetzt? OpenGL ist sehr wohl installiert. Brauche ich neue Header oder was?

gladiac
17.11.04, 08:57
XFree/Xorg-Mesa installiert?
FreeGLUT

ichunddu
17.11.04, 09:09
Mhm, ich habe vor einigen Tagen erst freeglut installiert ...
Ich schau mal nach den anderen Paketen.

gladiac
17.11.04, 09:17
Ich hab mir extra nochmal die Mühe gemacht und das configure script angeschaut...

Benötigte Pakete:

fontconfig
freetype2 (resp. libfreetype6)
freetype2-devel
bison
flex (flex-old on debian)
libjpeg
libjpeg-devel
libpng
libpng-devel
zlib
zlib-devel
xorg-x11-devel (resp. XFree86-devel)

Mesa (resp. xorg-x11-Mesa, XFree86-Mesa)
Mesa-devel (resp. xorg-x11-Mesa-devel, XFree86-Mesa-devel)
freeglut
freeglut-devel
SDL
SDL-devel

ichunddu
17.11.04, 11:42
na das ist ja was, jetzt nach dem restart funktioniert es auf einmal doch. dabei habe ich kein neues paket geladen und installiert ....
windows lässt grüßen ... :rolleyes:


P.S. danke für die mühe, die du dir gemacht hast gladiac

ichunddu
26.11.04, 19:29
Gut, ich hab jetzt Slackware 10.0 drauf und WineX neu kompiliert. Beim Kompilieren gab es eine Fehlermeldung, nämlich dass Freetype oder so nicht gefunden werden konnte. Also hab ich mir Freetype + Freetype2 runtergeladen, kompiliert und installiert.
Nach der Kompilierung von WineX kommt aber folgender Fehler:


wine calc.exe
---
err:font:Fontconfig_Init Fontconfig support was not compiled in at compile time.
err:font:ReadFontDir Can't open directory "/home/iud/.transgaming/c_drive/windows/Fonts"
err:font:FTAlias_FindBestBuiltins Could not create alias for serif fonts
Unable to find a sufficient number of fonts available to FreeType.
FreeType will not be loaded as a result.
FreeType could not be loaded.
This is not necessarily a fatal error, however some
applications require FreeType to be installed and
may not function or display text correctly otherwise.
Please consult the WineX Font FAQ for more details
about this problem
wine: Unhandled exception, starting debugger...
fixme:console:SetConsoleCtrlHandler (0x404d5310,1) - no error checking or testing yet
WineDbg starting on pid 1
No debug information in ELF 'wine' (0x00000000)
Breakpoint 1 at 0x4000af40
Loaded debug information from ELF '/usr/local/lib/libntdll.so' (0x4002f000)
No debug information in ELF '/usr/local/lib/libwine.so' (0x40131000)
No debug information in ELF '/usr/local/lib/libwine_unicode.so' (0x40147000)
No debug information in ELF '/usr/local/lib/libwine_port.so' (0x4020e000)
No debug information in ELF '/lib/libm.so.6' (0x40211000)
No debug information in ELF '/lib/libc.so.6' (0x40233000)
No debug information in ELF '/lib/libdl.so.2' (0x40362000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
No debug information in ELF '/usr/local/lib/libshell32.so' (0x406fc000)
No debug information in ELF '/usr/lib/libpng.so.3' (0x40770000)
No debug information in ELF '/usr/lib/libz.so.1' (0x407a0000)
No debug information in ELF '/usr/local/lib/libole32.so' (0x407b1000)
No debug information in ELF '/usr/local/lib/libadvapi32.so' (0x40816000)
No debug information in ELF '/usr/local/lib/libkernel32.so' (0x40839000)
No debug information in ELF '/usr/local/lib/libuser32.so' (0x408b2000)
No debug information in ELF '/usr/local/lib/libgdi32.so' (0x409da000)
No debug information in ELF '/usr/local/lib/librpcrt4.so' (0x40a50000)
No debug information in ELF '/usr/local/lib/libshlwapi.so' (0x40a9a000)
No debug information in ELF '/usr/local/lib/libcomctl32.so' (0x40ad8000)
No debug information in ELF '/usr/local/lib/libmsvcrt.so' (0x40b59000)
No debug information in ELF '/usr/local/lib/libx11drv.so' (0x40b91000)
No debug information in ELF '/usr/local/lib/libwine_tsx11.so' (0x40c0e000)
No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40c19000)
No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40c22000)
No debug information in ELF '/usr/X11R6/lib/libXxf86dga.so.1' (0x40c3a000)
No debug information in ELF '/usr/X11R6/lib/libXxf86vm.so.1' (0x40c40000)
No debug information in ELF '/usr/X11R6/lib/libXv.so.1' (0x40c45000)
No debug information in ELF '/usr/lib/libGL.so.1' (0x40c4a000)
No debug information in ELF '/usr/X11R6/lib/libGLU.so.1' (0x40cb8000)
No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40d31000)
No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40d3f000)
No debug information in ELF '/usr/lib/libGLcore.so.1' (0x40e07000)
No debug information in ELF '/usr/lib/libnvidia-tls.so.1' (0x414f8000)
No debug information in ELF '/usr/lib/libgcc_s.so.1' (0x415b1000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2' (0x41662000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2' (0x41665000)
No debug information in ELF '/usr/lib/gconv/ISO8859-15.so' (0x41684000)
No debug information in ELF '/usr/X11R6/lib/libXcursor.so.1' (0x416a0000)
No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x416a9000)
No debug information in 32bit DLL 'G:\downloads\winex\calc.exe' (0x01000000)
No debug information in 32bit DLL 'NTDLL.DLL' (0x40067000)
No debug information in 32bit DLL 'KERNEL32.DLL' (0x40863000)
No debug information in 32bit DLL 'ADVAPI32.DLL' (0x40825000)
No debug information in 32bit DLL 'GDI32.DLL' (0x409f5000)
No debug information in 32bit DLL 'USER32.DLL' (0x408de000)
No debug information in 32bit DLL 'RPCRT4.DLL' (0x40a72000)
No debug information in 32bit DLL 'OLE32.DLL' (0x407cd000)
No debug information in 32bit DLL 'SHLWAPI.DLL' (0x40ab4000)
No debug information in 32bit DLL 'COMCTL32.DLL' (0x40ae4000)
No debug information in 32bit DLL 'SHELL32.DLL' (0x4071f000)
No debug information in 32bit DLL 'MSVCRT.DLL' (0x40b71000)
No debug information in 32bit DLL 'X11DRV.DLL' (0x40bad000)
Unhandled exception: page fault on write access to 0x0000000a in 32-bit code (0x40beaffc).
In 32-bit mode.
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:000f
EIP:40beaffc ESP:406d25ec EBP:406d2980 EFLAGS:00210246( R- 00 I Z- -P1 )
EAX:00000000 EBX:40c0be84 ECX:406d29d2 EDX:00000000
ESI:40394454 EDI:406d29d2
Stack dump:
0x406d25ec (MSVCRT.DLL.195+0x4019cc): ffffffff 406d266c 406d2600 400b067b
0x406d25fc (MSVCRT.DLL.195+0x4019dc): 406d261c 400a41c2 00002176 406d2810
0x406d260c (MSVCRT.DLL.195+0x4019ec): 00000000 00000000 00000000 400b067b
0x406d261c (MSVCRT.DLL.195+0x4019fc): 40116520 00002176 00002176 406d2704
0x406d262c (MSVCRT.DLL.195+0x401a0c): 400a7f51 00002176 406d2654 4035e60c
0x406d263c (MSVCRT.DLL.195+0x401a1c): 40992380 4012fe4c 00000019 40c0d3a4
0x406d264c (MSVCRT.DLL.195+0x401a2c):

Backtrace:
=>0 0x40beaffc (X11DRV.DLL.ExtTextOut+0x640c in libx11drv.so) (ebp=406d2980)
1 0x40bec3e7 (X11DRV.DLL.ExtTextOut+0x77f7 in libx11drv.so) (ebp=406d2a6c)
2 0x40be169f (X11DRV.DLL.SelectObject+0x6f in libx11drv.so) (ebp=406d2a88)
3 0x40a242c6 (GDI32.DLL.SelectObject+0x166 in libgdi32.so) (ebp=406d2aa4)
4 0x40a1751c (GDI32.DLL.SetBkColor+0xec in libgdi32.so) (ebp=406d2abc)
5 0x40a180b6 (GDI32.DLL.SetBkColor+0xc86 in libgdi32.so) (ebp=406d2c10)
6 0x40951707 (USER32.DLL.SetSysColorsTemp+0x337 in libuser32.so) (ebp=406d2c40)
7 0x408febd6 (USER32.DLL.UserClientDllInitialize+0x596 in libuser32.so) (ebp=406d2dd0)
8 0x4009fdc8 (PE_InitDLL+0x58 in libntdll.so) (ebp=406d2df4)
9 0x4009af70 (MODULE_InitDLL+0x40 [module.c] in libntdll.so) (ebp=406d2e18)
10 0x4009b100 (MODULE_DllProcessAttach+0xe0 in libntdll.so) (ebp=406d2e34)
11 0x4009b0a4 (MODULE_DllProcessAttach+0x84 in libntdll.so) (ebp=406d2e54)
12 0x4009b0a4 (MODULE_DllProcessAttach+0x84 in libntdll.so) (ebp=406d2e74)
13 0x4009b0a4 (MODULE_DllProcessAttach+0x84 in libntdll.so) (ebp=406d2e94)
14 0x400e515e (start_process+0x25e [process.c] in libntdll.so) (ebp=406d2f38)
15 0x400e8bd5 (call_on_thread_stack+0x65 [sysdeps.c] in libntdll.so) (ebp=406d2ff4)
16 0x400e89c4 (SYSDEPS_CallOnStack+0x14 in libntdll.so) (ebp=00000000)

0x40beaffc (X11DRV.DLL.ExtTextOut+0x640c in libx11drv.so): incw 0xa(%eax)
Modules:
Address Module Name
0x01000000-0101ea00 (PE) G:\downloads\winex\calc.exe
0x40067000-40069000 (PE) NTDLL.DLL
0x4071f000-40721000 (PE) SHELL32.DLL
0x407cd000-407cf000 (PE) OLE32.DLL
0x40825000-40827000 (PE) ADVAPI32.DLL
0x40863000-40865000 (PE) KERNEL32.DLL
0x408de000-408e0000 (PE) USER32.DLL
0x409f5000-409f7000 (PE) GDI32.DLL
0x40a72000-40a74000 (PE) RPCRT4.DLL
0x40ab4000-40ab6000 (PE) SHLWAPI.DLL
0x40ae4000-40ae6000 (PE) COMCTL32.DLL
0x40b71000-40b73000 (PE) MSVCRT.DLL
0x40bad000-40baf000 (PE) X11DRV.DLL
Threads:
process tid prio
00000001 (D) G:\downloads\winex\calc.exe
00000002 0 <==
WineDbg terminated on pid 1
Irgendwas mache ich doch immer noch falsch :mad:

ichunddu
26.11.04, 19:36
Bzw. hier mal eine andere Fehlermeldung

iud@zimmer:/downloads$ wine --winver winxp notepad.exe
err:win32:PE_fixup_imports No implementation for USER32.dll.684(UnhookWinEvent) imported from G:\downloads\notepad.exe, setting to 0xdeadbeef
err:win32:PE_fixup_imports No implementation for USER32.dll.638(SetWinEventHook) imported from G:\downloads\notepad.exe, setting to 0xdeadbeef
err:font:Fontconfig_Init Fontconfig support was not compiled in at compile time.
err:font:FTAlias_FindBestBuiltins Could not create alias for serif fonts
Unable to find a sufficient number of fonts available to FreeType.
FreeType will not be loaded as a result.
FreeType could not be loaded.
This is not necessarily a fatal error, however some
applications require FreeType to be installed and
may not function or display text correctly otherwise.
Please consult the WineX Font FAQ for more details
about this problem
wine: Unhandled exception, starting debugger...
err:win:GetDesktopWindow Wine init error: either you're trying to use an invalid native USER.EXE config, or some graphics/GUI libraries or DLLs didn't initialize properly. Aborting.
fixme:xrender:X11DRV_XRender_Finalize Free cached glyphsets