Wine-20040408 Compile Bug
greensh at knology.net
greensh at knology.net
Fri Apr 9 09:59:57 CDT 2004
Had a problem compiling this latest version on my Dell Latitude laptop...
here is the exact make error;
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D__WINESRC__ -DBINDIR="\"/usr/local/bin\"" -D_REENTRANT -fPIC -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith
-g -O2 -o keyboard.o keyboard.c
keyboard.c: In function `X11DRV_ToUnicodeEx':
keyboard.c:2128: error: `XK_EuroSign' undeclared (first use in this
function)
keyboard.c:2128: error: (Each undeclared identifier is reported only once
keyboard.c:2128: error: for each function it appears in.)
make[2]: *** [keyboard.o] Error 1
make[2]: Leaving directory `/data/0MD2/wine-20040408/dlls/x11drv'
make[1]: *** [x11drv] Error 2
make[1]: Leaving directory `/data/0MD2/wine-20040408/dlls'
make: *** [dlls] Error 2
Compilation failed, aborting install.
Looks like it's wrong in detecting the keyboard. A fix was to comment out
the if statement entirely;
< if (keysym == XK_EuroSign)
< {
< bufW[0] = 0x20AC;
< ret = 1;
< goto found;
< }
---
> /*
> if (keysym == XK_EuroSign)
> {
> bufW[0] = 0x20AC;
> ret = 1;
> goto found;
> }
> /*
Then it compiled/installed fine.
Shaun
More information about the wine-devel
mailing list