PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : wineX compilierungs error



Affi
27.03.03, 23:47
Hi,
Habe mir heute suse 8.1 installiert (umgestiegen von debian, finde debian ist nicht wirklich so toll als desktop system (und vorallem wenn man neu dabei ist nicht gerade zu empfehlen) ;D). Auf jeden wollte ich mir dann wineX installieren, habe mich also nach dem howto von www.holarse.net durchgekämpft alle weiteren packete installiert.
configure (configure --with-x --disable-trace --enable-opengl --disable-debug) läuft ohne probleme durch make depend auch. Doch bei make kommt folgender Fehler.

gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -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
In file included from caps.c:20:
d3dgl_private.h:119: parse error before "PFNGLACTIVETEXTUREARBPROC"
d3dgl_private.h:119: warning: no semicolon at end of struct or union
d3dgl_private.h:119: warning: type defaults to `int' in declaration of `glClientActiveTextureARB'
d3dgl_private.h:119: `glClientActiveTextureARB' redeclared as different kind of symbol
/usr/include/GL/gl.h:1959: previous declaration of `glClientActiveTextureARB'
d3dgl_private.h:119: warning: data definition has no type or storage class
d3dgl_private.h:119: parse error before "glMultiTexCoord2fARB"
d3dgl_private.h:119: warning: type defaults to `int' in declaration of `glMultiTexCoord2fARB'
d3dgl_private.h:119: `glMultiTexCoord2fARB' redeclared as different kind of symbol
/usr/include/GL/gl.h:1970: previous declaration of `glMultiTexCoord2fARB'
d3dgl_private.h:119: warning: data definition has no type or storage class
d3dgl_private.h:121: parse error before '}' token
d3dgl_private.h:121: warning: type defaults to `int' in declaration of `DD_GL_data'
d3dgl_private.h:121: warning: data definition has no type or storage class
caps.c:32: parse error before '*' token
caps.c:33: parse error before '*' token
caps.c:34: parse error before '*' token
caps.c:35: parse error before '*' token
caps.c: In function `D3DGL_Init':
caps.c:100: `gld' undeclared (first use in this function)
caps.c:100: (Each undeclared identifier is reported only once
caps.c:100: for each function it appears in.)
caps.c:113: parse error before ')' token
caps.c:131: `PFNGLACTIVETEXTUREARBPROC' undeclared (first use in this function)
caps.c:131: parse error before "extproc"
caps.c:131: `PFNGLCLIENTACTIVETEXTUREARBPROC' undeclared (first use in this function)
caps.c:131: parse error before "extproc"
caps.c:131: `PFNGLMULTITEXCOORD2FARBPROC' undeclared (first use in this function)
caps.c:131: parse error before "extproc"
caps.c: At top level:
caps.c:386: parse error before '*' token
caps.c: In function `fill_prim_caps':
caps.c:388: `pc' undeclared (first use in this function)
caps.c:392: `gld' undeclared (first use in this function)
caps.c: At top level:
caps.c:450: parse error before '*' token
caps.c: In function `check_exts':
caps.c:458: `gld' undeclared (first use in this function)
caps.c: At top level:
caps.c:463: parse error before '*' token
caps.c: In function `add_texture_fmts':
caps.c:470: `lpData' undeclared (first use in this function)
caps.c:553: `gld' undeclared (first use in this function)
caps.c: At top level:
caps.c:582: parse error before '*' token
caps.c: In function `add_zbuffer_fmts':
caps.c:587: `lpDD' undeclared (first use in this function)
caps.c: In function `D3DGL_GetCaps':
caps.c:612: `gld' undeclared (first use in this function)
caps.c:612: parse error before ')' token
make[2]: *** [caps.o] Fehler 1
make[2]: Verlassen des Verzeichnisses »/home/affi/wine/wine/dlls/d3dgl«
make[1]: *** [d3dgl/libd3dgl.so] Fehler 2
make[1]: Verlassen des Verzeichnisses »/home/affi/wine/wine/dlls«
make: *** [dlls] Fehler 2

Wäre nett wenn jemand von euch vieleicht eine Lösung des fehlers hat :) und bidde net haun wenn ich vieleicht irgendwo etwas übersehen habe ;D

cya Marco

carni
28.03.03, 13:54
Hallo,

Hatte das selbe Problem. Dazu musst du wahrscheinlich ein bisschen an der wine_gl.h rumbasteln. Was du dort genau verändern musst hab ich in diesem Thread (http://www.linuxforen.de/forums/showthread.php?s=&threadid=72194) beschrieben.

Gruss, Patrick

Affi
28.03.03, 21:49
Ihr seid die Kings ;D
Alles läuft big thx