Most recent kernel where this bug did not occur: 2.6.14, maybe 2.6.15 Distribution: Slackware 10.2 Hardware Environment: Athlon Software Environment: GCC 3.4.6 / glibc 2.3.4 Problem Description: It seems that linux/input.h defines structure input_device_id, which in turns use kernel_ulong_t, outside of __KERNEL__ block (thus, it is visible from userspace). But this kernel_ulong_t is only visible from Kernel, since it is definied in linux/mod_devicetable.h, which is not included if __KERNEL__ is not defined. This prevents kdebase from KDE 3.5.2 to build. Steps to reproduce: tar xjf kdebase-3.5.2-tar.bz2 cd kdebase-3.5.2 ./configure make doesn't build, due to joystick.h including buggy input.h.
Existing also in 2.6.15, causing errors with hald and kcontrol-3.5.2 in Gentoo
Fixed in 2.6.17-rc4.