абшибочка такая:
root@darkstar:/mnt/lin2/wine-cvs/dlls/winmm/joystick# make
../../../tools/winegcc/winegcc -B../../../tools/winebuild -shared ./joystick.drv.spec joystick.o -o joystick.drv.so -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+0x19e): In function `JSTCK_GetDevCaps':
/mnt/lin2/wine-cvs/dlls/winmm/joystick/joystick.c:255: undefined reference to `strcpyW'
collect2: ld returned 1 exit status
winegcc: gcc failed.
make: *** [joystick.drv.so] Error 2