Re: 2.6.16-rc6-git6 compilation fails (input system)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux