Re: 2.6.16-rc6-git6 compilation fails (input system)
From: Patrizio Bassi
Date: Thu Mar 16 2006 - 07:35:57 EST
Adrian Bunk ha scritto:
> On Thu, Mar 16, 2006 at 01:03:53PM +0100, Patrizio Bassi wrote:
>
>> 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
>>
>
> Your .config compiles for me with neither errors nor warnings in the
> input system.
>
> Well, with the exception that "make oldconfig" reveals that you have the
> following options set that aren't present in 2.6.16-rc6-git6:
> CONFIG_NO_IDLE_HZ=y
> CONFIG_FB_SPLASH=y
>
>
>> this should be the cause of the problem.
>>
>
> It seems the cause of the problem is that you omitted the information
> that what you call "2.6.16-rc6-git6" is in fact 2.6.16-rc6-git6 plus
> tons of patches, and one of these patches is causing your problem.
>
>
>> Patrizio
>>
>
> cu
> Adrian
>
>
no i just have the Con Kolivas dynticks patch and the gentoo fbsplash one.
the whole kernel compiles good without the joystick interface,
the 2 patches don't touch the input.h file or related..
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/