Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: Jules on September 27, 2012, 12:59:48 AM

Title: Kernel compile problems
Post by: Jules on September 27, 2012, 12:59:48 AM
I downloaded the kernel source from linux-sunxi.org and tried compiling, but when I enable the wireless driver I get the following messages during the modules build phase:

  Building modules, stage 2.
  MODPOST 82 modules
ERROR: "sw_usb_disable_hcd" [drivers/net/wireless/rtl8192cu/8192cu.ko] undefined!
ERROR: "sw_usb_enable_hcd" [drivers/net/wireless/rtl8192cu/8192cu.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2


Any ideas what I'm doing wrong?
Title: Re: Kernel compile problems
Post by: Jules on September 27, 2012, 03:29:16 AM
Ah, never mind, it seems I needed to turn on option USB_SW_SUN5I_USB_MANAGER (under Device Drivers -> USB support (USB_SUPPORT [=y]) -> SUN5I USB2.0 Dual Role Controller support (USB_SW_SUN5I_USB)).