On Mon, 2006-02-13 at 22:49 -0700, William F. Acker WB2FLW +1-303-722-7209 wrote:
> /usr/src/redhat/BUILD/zaptel-1.2.3/wcusb.c:1452: error: unknown field 'owner' > specified in initializer The Linux kernel USB API changed in 2.6.16rc1 - the 'owner' field was removed. There is an official fix in the Zaptel sources (see http://bugs.digium.com/view.php?id=6288) which IIRC made it into zaptel 1.2.3. When Redhat started shipping 2.6.16-based kernels, they did it by applying a patch to a 2.6.15 tarball. That's why the version number of the kernel packages still say 2.6.15. Unfortunately for us, the patch didn't change the internal version number that modules could use to detect which version of the kernel is running. I've attached a patch that just removes the problem rather than trying to #ifdef around it. You might also want to check out the Asterisk packages that I'm working on getting into Fedora Extras. You can find links to the packages from the Fedora wiki: http://fedoraproject.org/wiki/Extras/SIGs/VoIP Jeff
Index: wcusb.c
===================================================================
--- wcusb.c (revision 926)
+++ wcusb.c (working copy)
@@ -1447,14 +1447,6 @@
static struct usb_driver wc_usb_driver =
{
-#ifdef LINUX26
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
- owner: THIS_MODULE,
-#endif
-#else
- fops: NULL,
- minor: 0,
-#endif
name: "wcusb",
probe: wc_usb_probe,
disconnect: wc_usb_disconnect,
signature.asc
Description: This is a digitally signed message part
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
