2.6.16-rc6-git6 compilation fails (input system)
From: Patrizio Bassi
Date: Thu Mar 16 2006 - 06:04:01 EST
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
CC drivers/input/mousedev.o
In file included from drivers/input/mousedev.c:21:
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/mousedev.c:714: warning: initialization from incompatible
pointer type
CC drivers/input/evdev.o
In file included from drivers/input/evdev.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
drivers/input/evdev.c:668: warning: initialization from incompatible
pointer type
LD drivers/input/joystick/built-in.o
CC [M] drivers/input/joystick/adi.o
In file included from drivers/input/joystick/adi.c:34:
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
CC drivers/input/keyboard/atkbd.o
In file included from drivers/input/keyboard/atkbd.c:26:
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
LD drivers/input/keyboard/built-in.o
CC drivers/input/misc/pcspkr.o
In file included from drivers/input/misc/pcspkr.c:18:
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
LD drivers/input/misc/built-in.o
CC drivers/input/mouse/psmouse-base.o
In file included from drivers/input/mouse/psmouse-base.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
CC drivers/input/mouse/alps.o
In file included from drivers/input/mouse/alps.c:17:
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
CC drivers/input/mouse/logips2pp.o
In file included from drivers/input/mouse/logips2pp.c:12:
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
CC drivers/input/mouse/synaptics.o
In file included from drivers/input/mouse/synaptics.c:27:
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
CC drivers/input/mouse/lifebook.o
In file included from drivers/input/mouse/lifebook.c:15:
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
CC drivers/input/mouse/trackpoint.o
In file included from drivers/input/mouse/trackpoint.c:15:
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
LD drivers/input/mouse/psmouse.o
LD drivers/input/mouse/built-in.o
LD drivers/input/built-in.o
CC [M] drivers/input/joydev.o
In file included from include/linux/joystick.h:33,
from drivers/input/joydev.c:17:
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
In file included from drivers/input/joydev.c:18:
include/linux/input.h:1086: error: redefinition of âstruct input_device_idâ
drivers/input/joydev.c:578: warning: initialization from incompatible
pointer type
make[2]: *** [drivers/input/joydev.o] Error 1
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2
-
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/