wine/dlls/dinput joystick_linuxinput.c

Marcelo Duarte marcelotduarte at gmail.com
Sat Sep 3 22:57:18 CDT 2005


Alexandre Julliard escreveu:

>ChangeSet ID:	19966
>CVSROOT:	/opt/cvs-commit
>Module name:	wine
>Changes by:	julliard at winehq.org	2005/09/03 10:02:38
>
>Modified files:
>	dlls/dinput    : joystick_linuxinput.c 
>
>Log message:
>	Daniel Remenak <dtremenak at gmail.com>
>	Implement EnumEffects, CreateEffect, EnumCreatedEffects,
>	SendForceFeedbackCommand, and GetForceFeedbackStatus for linux input
>	joysticks.
>
>Patch: http://cvs.winehq.org/patch.py?id=19966
>
>Old revision  New revision  Changes     Path
> 1.25          1.26          +377 -12    wine/dlls/dinput/joystick_linuxinput.c
>  
>
I think that this patch is the cause of a compiler error in my box 
(Fedora core 2):

make[2]: Entering directory `/home/mduarte/wine/dlls/dinput'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__   
-D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2  -o 
joystick_linuxinput.o joystick_linuxinput.c
joystick_linuxinput.c: In function `alloc_device':
joystick_linuxinput.c:305: error: `FF_STATUS_STOPPED' undeclared (first 
use in this function)
joystick_linuxinput.c:305: error: (Each undeclared identifier is 
reported only once
joystick_linuxinput.c:305: error: for each function it appears in.)
joystick_linuxinput.c: In function `joy_polldev':
joystick_linuxinput.c:726: error: `EV_FF_STATUS' undeclared (first use 
in this function)
joystick_linuxinput.c: In function `JoystickAImpl_EnumEffects':
joystick_linuxinput.c:1182: warning: unused variable `dei'
joystick_linuxinput.c: In function `JoystickWImpl_EnumEffects':
joystick_linuxinput.c:1266: warning: unused variable `dei'
make[2]: ** [joystick_linuxinput.o] Erro 1
make[2]: Leaving directory `/home/mduarte/wine/dlls/dinput'
make[1]: ** [dinput/__install-lib__] Erro 2
make[1]: Leaving directory `/home/mduarte/wine/dlls'
make: ** [dlls/__install-lib__] Erro 2




More information about the wine-devel mailing list