Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 48762

Summary: lirc module bombing out kernel compile
Product: Gentoo Linux Reporter: Adam <glassvial>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED INVALID    
Severity: major    
Priority: Highest    
Version: 2004.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam 2004-04-23 00:04:22 UTC
Turned on Lirc support in the kernel of Gentoo 2.6.5-r1, along with the mceusb remote module.  This bombs the kernel compile out every time.  Details follow.

 CC [M]  drivers/char/lirc/lirc_mceusb.o
drivers/char/lirc/lirc_mceusb.c:111:39: drivers/lirc_dev/lirc_dev.h: No such file or directory
drivers/char/lirc/lirc_mceusb.c:286: warning: initialization from incompatible pointer type
drivers/char/lirc/lirc_mceusb.c:287: warning: initialization from incompatible pointer type
drivers/char/lirc/lirc_mceusb.c:288: error: unknown field `fops' specified in initializer
drivers/char/lirc/lirc_mceusb.c:288: warning: initialization from incompatible pointer type
drivers/char/lirc/lirc_mceusb.c:289: error: unknown field `minor' specified in initializer
drivers/char/lirc/lirc_mceusb.c:289: warning: initialization makes pointer from integer without a cast
drivers/char/lirc/lirc_mceusb.c: In function `set_use_dec':
drivers/char/lirc/lirc_mceusb.c:567: warning: implicit declaration of function `lirc_unregister_plugin'
drivers/char/lirc/lirc_mceusb.c:568: warning: implicit declaration of function `lirc_buffer_free'
drivers/char/lirc/lirc_mceusb.c:568: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:569: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c: In function `msir_fetch_more_data':
drivers/char/lirc/lirc_mceusb.c:709: error: syntax error before string constant
drivers/char/lirc/lirc_mceusb.c:739: error: syntax error before string constant
drivers/char/lirc/lirc_mceusb.c:753: error: syntax error before string constant
drivers/char/lirc/lirc_mceusb.c:786: error: syntax error before string constant
drivers/char/lirc/lirc_mceusb.c:788: error: `USB_ST_DATAOVERRUN' undeclared (first use in this function)
drivers/char/lirc/lirc_mceusb.c:788: error: (Each undeclared identifier is reported only once
drivers/char/lirc/lirc_mceusb.c:788: error: for each function it appears in.)
drivers/char/lirc/lirc_mceusb.c: In function `mceusb_write':
drivers/char/lirc/lirc_mceusb.c:1258: warning: implicit declaration of function `FILL_BULK_URB'
drivers/char/lirc/lirc_mceusb.c:1264: error: too few arguments to function `usb_submit_urb'
drivers/char/lirc/lirc_mceusb.c:1266: error: called object is not a function
drivers/char/lirc/lirc_mceusb.c:1266: error: syntax error before string constant
drivers/char/lirc/lirc_mceusb.c: In function `mceusb_write_bulk_callback':
drivers/char/lirc/lirc_mceusb.c:1285: warning: unused variable `dev'
drivers/char/lirc/lirc_mceusb.c: In function `mceusb_probe':
drivers/char/lirc/lirc_mceusb.c:1346: warning: assignment from incompatible pointer type
drivers/char/lirc/lirc_mceusb.c:1355: warning: assignment from incompatible pointer type
drivers/char/lirc/lirc_mceusb.c:1357: error: structure has no member named `endpoint'
drivers/char/lirc/lirc_mceusb.c:1375: error: too few arguments to function `usb_alloc_urb'
drivers/char/lirc/lirc_mceusb.c:1404: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1408: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1408: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1408: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1408: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1408: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1408: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1410: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1416: warning: implicit declaration of function `lirc_buffer_init'
drivers/char/lirc/lirc_mceusb.c:1417: error: invalid application of `sizeof' to an incomplete type
drivers/char/lirc/lirc_mceusb.c:1423: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1424: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1425: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1426: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1427: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1428: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1429: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1430: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1431: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1432: error: dereferencing pointer to incomplete type
drivers/char/lirc/lirc_mceusb.c:1433: warning: implicit declaration of function `lirc_register_plugin'
drivers/char/lirc/lirc_mceusb.c:1318: warning: unused variable `name'
drivers/char/lirc/lirc_mceusb.c: At top level:
drivers/char/lirc/lirc_mceusb.c:1464: error: conflicting types for `mceusb_disconnect'
drivers/char/lirc/lirc_mceusb.c:216: error: previous declaration of `mceusb_disconnect'
drivers/char/lirc/lirc_mceusb.c: In function `mceusb_disconnect':
drivers/char/lirc/lirc_mceusb.c:1468: error: `dev' undeclared (first use in this function)
drivers/char/lirc/lirc_mceusb.c:1489: warning: `return' with a value, in function returning void
make[3]: *** [drivers/char/lirc/lirc_mceusb.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. make menuconfig
2. device drivers->character devices->linux infared controller->linux infared controller, and mce usb driver
3. save configuration
4. make clean
5. make && make modules_install


Actual Results:  
pasted above

Expected Results:  
for it to work??
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-05-01 08:00:39 UTC
ick, this module sucks.
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 14:08:55 UTC
lirc module is now gone from gentoo-dev-sources release, so this is no longer
a bug.