Compilation error on cvs - version

Florian Sukup florian.sukup at mail.com
Tue Oct 23 06:43:49 CDT 2001


Hi,

Thanks to Eric Pouech I was encouraged to download the
newest cvs-version to have the windows media player
running under linux.

Unfortunately there is a compilation error when I run

./tools/wineinstall .

Apparently a type definition is missing for XDGAMode in
include/ts_xf86dga2.h:

extern XDGAMode* TSXDGAQueryModes(Display*, int, int*);

Any hints?

Thank you
Florian

----- output ----

make[1]: Entering directory `/usr/local/src/wine/tsx11'
gcc -c -I. -I. -I../include -I../include  -g -O2 -Wall
-fno-strength-reduce -mpreferred-stack-boundary=2 -fPIC
-D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o
ts_xf86dga2.o ts_xf86dga2.c
In file included from ts_xf86dga2.c:14:
../include/ts_xf86dga2.h:24: parse error before `*'
../include/ts_xf86dga2.h:24: warning: type defaults to
`int' in declaration of `TSXDGAQueryModes'
../include/ts_xf86dga2.h:24: warning: data definition
has no type or storage class
../include/ts_xf86dga2.h:25: parse error before `*'
../include/ts_xf86dga2.h:25: warning: type defaults to
`int' in declaration of `TSXDGASetMode'
../include/ts_xf86dga2.h:25: warning: data definition
has no type or storage class
../include/ts_xf86dga2.h:30: parse error before
`XDGADevice'
../include/ts_xf86dga2.h:39: parse error before `*'
ts_xf86dga2.c: In function `TSXDGAQueryVersion':
ts_xf86dga2.c:21: warning: implicit declaration of
function `XDGAQueryVersion'
ts_xf86dga2.c: In function `TSXDGAQueryExtension':
ts_xf86dga2.c:30: warning: implicit declaration of
function `XDGAQueryExtension'
ts_xf86dga2.c: At top level:
ts_xf86dga2.c:35: parse error before `*'
ts_xf86dga2.c:36: warning: return-type defaults to
`int'
ts_xf86dga2.c: In function `TSXDGAQueryModes':
ts_xf86dga2.c:37: `XDGAMode' undeclared (first use in
this function)
ts_xf86dga2.c:37: (Each undeclared identifier is
reported only once
ts_xf86dga2.c:37: for each function it appears in.)
ts_xf86dga2.c:37: `r' undeclared (first use in this
function)
ts_xf86dga2.c:37: warning: statement with no effect
ts_xf86dga2.c:39: warning: implicit declaration of
function `XDGAQueryModes'
ts_xf86dga2.c:42: warning: control reaches end of
non-void function
ts_xf86dga2.c: At top level:
ts_xf86dga2.c:44: parse error before `*'
ts_xf86dga2.c:45: warning: return-type defaults to
`int'
ts_xf86dga2.c: In function `TSXDGASetMode':
ts_xf86dga2.c:46: `XDGADevice' undeclared (first use in
this function)
ts_xf86dga2.c:46: `r' undeclared (first use in this
function)
ts_xf86dga2.c:46: warning: statement with no effect
ts_xf86dga2.c:48: warning: implicit declaration of
function `XDGASetMode'
ts_xf86dga2.c:51: warning: control reaches end of
non-void function
ts_xf86dga2.c: In function `TSXDGAOpenFramebuffer':
ts_xf86dga2.c:57: warning: implicit declaration of
function `XDGAOpenFramebuffer'
ts_xf86dga2.c: In function `TSXDGACloseFramebuffer':
ts_xf86dga2.c:65: warning: implicit declaration of
function `XDGACloseFramebuffer'
ts_xf86dga2.c: In function `TSXDGASetViewport':
ts_xf86dga2.c:72: warning: implicit declaration of
function `XDGASetViewport'
ts_xf86dga2.c: In function `TSXDGAInstallColormap':
ts_xf86dga2.c:79: warning: implicit declaration of
function `XDGAInstallColormap'
ts_xf86dga2.c: At top level:
ts_xf86dga2.c:83: parse error before `XDGADevice'
ts_xf86dga2.c: In function `TSXDGACreateColormap':
ts_xf86dga2.c:87: warning: implicit declaration of
function `XDGACreateColormap'
ts_xf86dga2.c:87: `a0' undeclared (first use in this
function)
ts_xf86dga2.c:87: `a1' undeclared (first use in this
function)
ts_xf86dga2.c:87: `a2' undeclared (first use in this
function)
ts_xf86dga2.c:87: `a3' undeclared (first use in this
function)
ts_xf86dga2.c: In function `TSXDGASelectInput':
ts_xf86dga2.c:95: warning: implicit declaration of
function `XDGASelectInput'
ts_xf86dga2.c: In function `TSXDGAFillRectangle':
ts_xf86dga2.c:102: warning: implicit declaration of
function `XDGAFillRectangle'
ts_xf86dga2.c: In function `TSXDGACopyArea':
ts_xf86dga2.c:109: warning: implicit declaration of
function `XDGACopyArea'
ts_xf86dga2.c: In function `TSXDGACopyTransparentArea':
ts_xf86dga2.c:116: warning: implicit declaration of
function `XDGACopyTransparentArea'
ts_xf86dga2.c: In function `TSXDGAGetViewportStatus':
ts_xf86dga2.c:124: warning: implicit declaration of
function `XDGAGetViewportStatus'
ts_xf86dga2.c: In function `TSXDGASync':
ts_xf86dga2.c:132: warning: implicit declaration of
function `XDGASync'
ts_xf86dga2.c: In function `TSXDGASetClientVersion':
ts_xf86dga2.c:140: warning: implicit declaration of
function `XDGASetClientVersion'
ts_xf86dga2.c: In function `TSXDGAChangePixmapMode':
ts_xf86dga2.c:148: warning: implicit declaration of
function `XDGAChangePixmapMode'
ts_xf86dga2.c: At top level:
ts_xf86dga2.c:152: parse error before `*'
ts_xf86dga2.c: In function `TSXDGAKeyEventToXKeyEvent':
ts_xf86dga2.c:155: warning: implicit declaration of
function `XDGAKeyEventToXKeyEvent'
ts_xf86dga2.c:155: `a0' undeclared (first use in this
function)
ts_xf86dga2.c:155: `a1' undeclared (first use in this
function)
make[1]: *** [ts_xf86dga2.o] Error 1
make[1]: Leaving directory `/usr/local/src/wine/tsx11'
make: *** [tsx11/libwine_tsx11.so] Error 2

Compilation failed, aborting install.



More information about the wine-users mailing list