PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : WINE Kompilierungsfehler



Keksi
04.12.03, 17:23
Hallo Board,
ich habe ein kleines (oder vielleicht großes?) Problem mit dem kompilieren von WINE. Ich habe mit der Suchfunktion leider noch keine Lösung finden können.
Ich habe versucht WINE nach Anleitung von holarse.net zu kompilieren. Distrib: Fedora.

habe WINE ins /opt/wine-20031118/ entpackt.

./configure --enable-opengl (auch mit --prefix=/usr --sysconfdir=/etc, wie es in der linuxforen.de Anleitung steht) == OK
make depend == OK

make == FEHLER

und zwar nach einiger Zeit dieser hier:


make[2]: Wechsel in das Verzeichnis Verzeichnis »/opt/wine-20031118/dlls/wininet«
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -D_REENTRANT -fPIC -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o cookie.o cookie.c
In file included from /usr/include/openssl/ssl.h:179,
from internet.h:36,
from cookie.c:39:
/usr/include/openssl/kssl.h:136: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:149: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:150: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:151: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:151: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:152: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:153: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:155: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:157: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:159: error: Syntaxfehler before '*' token
/usr/include/openssl/kssl.h:167: error: Syntaxfehler before '*' token
In file included from internet.h:36,
from cookie.c:39:
/usr/include/openssl/ssl.h:909: error: Syntaxfehler before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: error: Syntaxfehler before '}' token
make[2]: *** [cookie.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/opt/wine-20031118/dlls/wininet«
make[1]: *** [wininet] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/opt/wine-20031118/dlls«
make: *** [dlls] Fehler 2


Mir sagt das nichts, liegt aber möglicherweise auch daran, das ich ein noch ziemlicher Neuling auf dem Linuxgebiet bin. Also bitte nicht über diese Fehlermeldung lachen, weil sie für euch Freaks vielleicht offensichtlich ist.

Kann mir da vielleicht jemand ein Tipp geben??

Sollte alles nichts bringen, werde ich versuchen ein RedHat RPM zu installieren, allerdings würd ich es schon ganz gern selbst kompilieren und konfigurieren == Lerneffekt.



mfg
Tobias

stefan.becker
04.12.03, 19:18
Den Fehler habe ich noch nicht gehabt, aber ich würde mal versuchen, die Pakete "openssl" und "openssl-devel" zu aktualisieren.

Keksi
04.12.03, 21:10
hallo noch mal.
nach dem ich jetzt lang genug an diesem problem rumgedoktert habe, habe ich nun die aktuelle redhat rpm installiert.
soweit so gut...


allerdings läufts noch nicht soo wirklich.
ich entweder es kommt so etwas wie:
[QUOTE]err:virtual:map_image Standard load address for a Win32 program (0x00400000) not available - security-patched kernel ?
wine: could not load L"D:\\install.exe" as Win32 binary[/QOUTE]


oder es kommt dieses problem mit der keyboard.c.
es gibt zwar hier im board einen thread dazu, aber keine wirkliche lösung :))


ach ja, die fehlermeldung oben kommt bei der installation von starcraft.


mfg
Tobias

Keksi
05.12.03, 04:39
hallo noch mal *nerv* gg


hab grad noch mal versucht starcraft zu installieren und nun kam dieses hier:

[tobias@tobias cdrom]$ wine install.exe
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not found!
Using closest match instead (German keyboard layout without dead keys) for scanc ode mapping.
Please define your layout in dlls/x11drv/keyboard.c and submit them
to us for inclusion into future Wine releases.
See the Wine User Guide, chapter "Keyboard" for more information.
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 8
No debug information in ELF 'wine' ((nil))
No debug information in 32bit DLL 'D:\install.exe' (0x400000)
No debug information in 32bit DLL 'NTDLL.DLL' (0xdf0000)
No debug information in 32bit DLL 'KERNEL32.DLL' (0x230000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\LZ32.DLL' (0x340000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\VERSION.DLL' (0x880000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x350000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0xc40000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x5e0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x560000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x3c0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0xd30000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0xe80000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0xed0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x7e0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINSPOOL.DRV' (0x860000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMDLG32.DLL' (0x730000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0xf80000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEOSS.DRV' (0xb050000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0xda0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0xbc0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0xbe0000)
Unhandled exception: page fault on read access to 0x1f2ddd70 in 32-bit code (0x0 041a8b6).
In 32-bit mode.
0x0041a8b6 (install.exe..text+0x198b6 in install.exe): movl 0x0(%ecx),%esi
Wine-dbg>


wine-dbg war am ende so zu sagen ne eingabe konsole für irgendwas ... die frage ist nur... was? :)


kann mir wer helfen? help! g


mfg
tobias

Vollkorn
06.12.03, 00:54
Ich hatte so ungefair das gleiche Problem. Las das mit dem rpm. Bei der Wine Version ist ne super make bei und du kannst die keyboard.c nach angaben der Doku(sieh www.wine.hq.com )bearbeiten. Soweit ich weiß gibt es bei der rpm keine keyboard.c .
Und nach dem
dlls/x11drv/keyboard.c Pfad kannste dich beim rpm dumm und dämlich suchen

Keksi
07.12.03, 17:11
danke für den tipp.

ich habe auf meinem arbeitsrechner jetzt auch fedora installiert. wollte wine wieder selbst kompilieren (von /tmp aus). ich mache alles als root (./configure, make depend, make).
habe vorher allerdings die neuste version von openssl installiert (wie weiter oben im thread empfohlen) und lande bei make immer noch bei der oben genannten fehlermeldung (die zeilen mit openssl) ...

woran kanns denn nun liegen??
ich mache alles nach anleitung (von holarse und linuxforen.de)


komme nicht weiter ;-(((



mfg
tobias