Re: 2.6.16-rc5-mm2 compile error in urb.c

From: Helge Hafting
Date: Mon Mar 06 2006 - 07:15:01 EST


Andrew Morton wrote:

Helge Hafting <helge.hafting@xxxxxxxxxxxxx> wrote:


Compiling 2.6.16-rc5-mm2 stopped here:

CC drivers/usb/core/urb.o
drivers/usb/core/urb.c: In function ___usb_alloc_urb___:
drivers/usb/core/urb.c:65: error: dereferencing pointer to incomplete type
drivers/usb/core/urb.c: In function ___usb_submit_urb___:
drivers/usb/core/urb.c:329: error: dereferencing pointer to incomplete type
make[3]: *** [drivers/usb/core/urb.o] Error 1
make[2]: *** [drivers/usb/core] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2




I guess this is gregkh-usb-usb-reduce-syslog-clutter.patch trying to
dereference THIS_MODULE when the driver is being built into vmlinux. I
suggest you revert that patch, thanks.


Thanks. Reverting this gave me a kernel that compiled and booted.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/