Re: 2.6.16-rc6-git6 compilation fails (input system)
From: Patrizio Bassi
Date: Thu Mar 16 2006 - 07:04:09 EST
Adrian Bunk ha scritto:
> On Thu, Mar 16, 2006 at 12:06:18PM +0100, Patrizio Bassi wrote:
>
>> i've a problem with gcc 4.1.0
>>
>>
>> LD drivers/ide/built-in.o
>> CC drivers/input/input.o
>> In file included from drivers/input/input.c:16:
>> include/linux/input.h:957: warning: âstruct input_device_idâ declared
>> inside parameter list
>> include/linux/input.h:957: warning: its scope is only this definition or
>> declaration, which is probably not what you want
>> drivers/input/input.c: In function âinput_register_deviceâ:
>> drivers/input/input.c:842: warning: passing argument 3 of
>> âhandler->connectâ from incompatible pointer type
>> drivers/input/input.c: In function âinput_register_handlerâ:
>> drivers/input/input.c:898: warning: passing argument 3 of
>> âhandler->connectâ from incompatible pointer type
>> ...
>>
>
> Please send your .config .
>
> cu
> Adrian
>
>
remving joystick interface fixed it, but a nice warning still remains:
In file included from drivers/input/serio/libps2.c:19:
include/linux/input.h:957: warning: âstruct input_device_idâ declared
inside parameter list
include/linux/input.h:957: warning: its scope is only this definition or
declaration, which is probably not what you want
this should be the cause of the problem.
Patrizio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/