net-wireless/rt2x00-2.0.0_beta3 fails because of errors in rt2500usb.c. Also it is impossible to only compile for example rt2500pci. This is possible for the 9999 cvs ebuild.
Reopen with some errors and emerge --info; paranormal abilities missing.
lol, sorry :) The problem is that the module format seems to be dependend upon the kernel version. rt2500pci handles this correctly, but rt2500usb fails to do this. The following patch solves this problem. --- rt2500usb.c.orig 2006-08-16 19:19:21.000000000 +0200 +++ rt2500usb.c 2006-08-16 19:19:48.000000000 +0200 @@ -1282,7 +1282,9 @@ #endif /* CONFIG_RT2X00_DEBUG */ static struct usb_driver rt2x00_usb_driver = { +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15) .owner = THIS_MODULE, +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15) */ .name = DRV_NAME, .id_table = rt2x00_device_usb_tbl, .probe = rt2x00_usb_probe, Unfortunately while this is the same version that worked for me on the gnewsense (free ubuntu clone) livecd. I get a kernel oops with gentoo kernel 2.6.15-r1 :( just FYI.
*** Bug 144147 has been marked as a duplicate of this bug. ***
beta3 requires additional work for 2.6.18-rc kernels too afaik and I see no reason to maintain patches for something that has changed radically in CVS. Use the cvs ebuild for the time being.
It's a tiny patch. I don't see why it shouldn't be fixed. I know this beta3 release is very old, but then again it is the only release. Also if the cvs version worked I wouldn't be here. The fact is that I have seen problemfree operation of the beta3 version under Ubuntu and I want that under Gentoo too. It may not work under newer kernels, but at least I can try. Discussing this costs more time than fixing it.
Boom - it's done. BTW, it oopsies on all kernels I've got, but it compiles which makes you happy.
Thanks :) I'm getting the oopses. Still it works in Ubuntu dapper, so I hope to figure out the magic combo.
It seems the patch you included is very wrong. Two ifdef's instead of an if and an endif :( --- rt2500usb.c.orig 2006-08-17 12:47:35.000000000 +0100 +++ rt2500usb.c 2006-08-17 12:48:21.000000000 +0100 @@ -1282,7 +1282,9 @@ #endif /* CONFIG_RT2X00_DEBUG */ static struct usb_driver rt2x00_usb_driver = { +#ifdef LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15) .owner = THIS_MODULE, +#ifdef /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 15) */ .name = DRV_NAME, .id_table = rt2x00_device_usb_tbl, .probe = rt2x00_usb_probe,
Hmmm, how did that happen? Anyway, fixed.