Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53556 - lirc_atiusb module in gentoo-dev-sources-2.6.5-rc1 fails to compile with missing structure member act_altsetting
Summary: lirc_atiusb module in gentoo-dev-sources-2.6.5-rc1 fails to compile with miss...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 11:32 UTC by Michael Richmond
Modified: 2004-06-10 14:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Richmond 2004-06-10 11:32:02 UTC
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
Comment 1 Sven Wegener gentoo-dev 2004-06-10 13:18:19 UTC
see bug 50481, comment 4
Comment 2 Michael Richmond 2004-06-10 14:40:11 UTC
Ok, the patch at bug 50481 comment 4 resolved the problem. Thanks.