wine 0.9.1 compile fix

Edgar Hucek gimli at
Sun Nov 13 09:55:40 CST 2005


I use gentoo linux. I got the following comopile error :

make[2]: Entering directory
i686-pc-linux-gnu-gcc -c -I. -I. -I../../../include -I../../../include 
-Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -O2 -march=pentium3 -pipe
-I//usr/include/lcms  -o joystick.o joystick.c
In Datei, eingefügt von joystick.c:66:
../../../include/winuser.h:3109:1: Warnung: "SW_MAX" redefined
In Datei, eingefügt von /usr/include/linux/joystick.h:33,
                    von joystick.c:56:
/usr/include/linux/input.h:576:1: Warnung: this is the location of the previous
joystick.c: In function `JSTCK_GetDevCaps':
joystick.c:255: Warnung: implizite Deklaration der Funktion »strcpyW«
../../../tools/winegcc/winegcc -B../../../tools/winebuild -shared
./joystick.drv.spec    joystick.o     -o -L../../../dlls
-L../../../dlls/winmm -L../../../dlls/user32 -L../../../dlls/kernel32 -lwinmm
-luser32 -lkernel32  -L../../../libs/wine -lwine  -L../../../libs/port -lwine_port
joystick.o(.text+0x2cd): In function `JSTCK_DriverProc':
undefined reference to `strcpyW'
collect2: ld gab 1 als Ende-Status zurück
winegcc: i686-pc-linux-gnu-gcc failed.
make[2]: *** [] Fehler 2
make[2]: Leaving directory
make[1]: *** [winmm/joystick] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.1/work/wine-0.9.1/dlls'
make: *** [dlls] Fehler 2

The attached patch did fix the problem for me.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-0.9.1-uniciode_fix.patch
Type: text/x-patch
Size: 433 bytes
Desc: not available
Url :

More information about the wine-patches mailing list