dinput compile error

Vitaliy Margolen wine-devel at kievinfo.com
Mon Aug 20 21:12:26 CDT 2007


Robert Reif wrote:
> Lei Zhang wrote:
> 
>> It sounds like you're missing the Linux kernel headers.
>>
>> On 8/20/07, Robert Reif <reif at earthlink.net> wrote:
>>  
>>
>>> make[2]: Entering directory `/home/wine/wine/dlls/dinput'
>>> gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__
>>> -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings
>>> -Wpointer-arith  -g -O2  -o joystick_linuxinput.o joystick_linuxinput.c
>>> joystick_linuxinput.c:153: field `axes' has incomplete type
>>> joystick_linuxinput.c:154: confused by earlier errors, bailing out
>>> make[2]: *** [joystick_linuxinput.o] Error 1
>>> make[2]: Leaving directory `/home/wine/wine/dlls/dinput'
>>>
>>> It seems struct input_absinfo is not defined.
>>>
>>>
>>
> The headers are there or else there would have been a missing include 
> file error.
> The needed structure is just not there in older versions of the headers.
> 

How old are your headers? It seems that struct was added 2002-08-01 - 5 
years ago!. Are you sure you have correct headers there? Oh and that was 
pre-2.5.x What kernel are you using again?

Vitaliy.



More information about the wine-devel mailing list