problems with -ck patchset
This has been a recurring problem for me. When compiling a kernel with the -ck patchset, it always fails right here:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=hid_core -c -o hid-core.o hid-core.c
hid-core.c: In function `hid_input_report':
hid-core.c:913: warning: implicit declaration of function `hiddev_report_event'
hid-core.c: In function `usb_hid_configure':
hid-core.c:1347: structure has no member named `application'
make[2]: *** [hid-core.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/usb'
make[1]: *** [_modsubdir_usb] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers'
make: *** [_mod_drivers] Error 2
bash-2.05b#
It happened when I was using the 2.4.20 kernel in Gentoo 1.4, and now when I use the 2.4.22 kernel in Slackware 9.1. Both patched the vanilla kernel source. Anyone know why this happens and how to fix it? Thanks in advance.
|