During a kernel compile of gentoo-dev-sources-2.6.5-rc1 a fatal error occurs during compilation of lirc_atiusb.c. Just before the error, a warning is thrown which I include in the compile messages below: LD drivers/char/lirc/built-in.o CC [M] drivers/char/lirc/lirc_dev.o CC [M] drivers/char/lirc/lirc_it87.o drivers/char/lirc/lirc_it87.c: In function `init_port': drivers/char/lirc/lirc_it87.c:832: warning: assignment makes integer from pointer without a cast CC [M] drivers/char/lirc/lirc_atiusb.o drivers/char/lirc/lirc_atiusb.c: In function `usb_remote_probe': drivers/char/lirc/lirc_atiusb.c:374: error: structure has no member named `act_altsetting' make[3]: *** [drivers/char/lirc/lirc_atiusb.o] Error 1 make[2]: *** [drivers/char/lirc] Error 2 make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 Reproducible: Always Steps to Reproduce: 1. Enable the following options for a kernel build. (I use make menuconfig.) Device Drivers->Character devices->Linux Infrared Controller->Linux InfraRed Controller (M) Device Drivers->Character devices->Linux Infrared Controller->ATI USB Driver (M) 2. Save kernel configuration 3. run 'make' or 'make modules_install' 4. Notice the error shown above. Expected Results: The module should have compiled cleanly. Pentium 4 2.8E (Prescott) 1Gb DDR Ram Shuttle XPC Intel 875 chipset GCC 3.3.3-r6 gentoo-dev-sources-2.6.5-rc1
see bug 50481, comment 4
Ok, the patch at bug 50481 comment 4 resolved the problem. Thanks.