MarvellEmbeddedProcessors / openwrt-dd

GNU General Public License v2.0
12 stars 17 forks source link

Compile drivers/usb/host/ehci-orion.o will failed #15

Open ghost opened 6 years ago

ghost commented 6 years ago

CC [M] drivers/usb/host/ehci-orion.o drivers/usb/host/ehci-orion.c: In function 'ehci_orion_drv_suspend': drivers/usb/host/ehci-orion.c:372:7: error: implicit declaration of function 'ehci_suspend' [-Werror=implicit-function-declaration] rc = ehci_suspend(hcd, do_wakeup); ^ drivers/usb/host/ehci-orion.c: In function 'ehci_orion_drv_resume': drivers/usb/host/ehci-orion.c:446:2: error: implicit declaration of function 'ehci_resume' [-Werror=implicit-function-declaration] ehci_resume(hcd, priv->reset_on_resume); ^ drivers/usb/host/ehci-orion.c: At top level: drivers/usb/host/ehci-orion.c:358:12: warning: 'ehci_orion_drv_suspend' defined but not used [-Wunused-function] static int ehci_orion_drv_suspend(struct platform_device pdev, ^ drivers/usb/host/ehci-orion.c:392:12: warning: 'ehci_orion_drv_resume' defined but not used [-Wunused-function] static int ehci_orion_drv_resume(struct platform_device pdev) ^ cc1: some warnings being treated as errors scripts/Makefile.build:264: recipe for target 'drivers/usb/host/ehci-orion.o' failed make[8]: [drivers/usb/host/ehci-orion.o] Error 1 scripts/Makefile.build:403: recipe for target 'drivers/usb/host' failed make[7]: [drivers/usb/host] Error 2 scripts/Makefile.build:403: recipe for target 'drivers/usb' failed make[6]: [drivers/usb] Error 2 Makefile:967: recipe for target 'drivers' failed make[5]: [drivers] Error 2 make[5]: Leaving directory '/home/l337/openwrt/kernel/lede-kernel' Makefile:25: recipe for target '/home/l337/openwrt/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/linux-4.9.37/.modules' failed make[4]: [/home/l337/openwrt/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu/linux-4.9.37/.modules] Error 2 make[4]: Leaving directory '/home/l337/openwrt/lede/target/linux/mvebu' Makefile:13: recipe for target 'compile' failed make[3]: [compile] Error 2 make[3]: Leaving directory '/home/l337/openwrt/lede/target/linux' target/Makefile:23: recipe for target 'target/linux/compile' failed make[2]: [target/linux/compile] Error 2 make[2]: Leaving directory '/home/l337/openwrt/lede' target/Makefile:18: recipe for target '/home/l337/openwrt/lede/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.target_compile' failed make[1]: [/home/l337/openwrt/lede/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.target_compile] Error 2 make[1]: Leaving directory '/home/l337/openwrt/lede' /home/l337/openwrt/lede/include/toplevel.mk:207: recipe for target 'world' failed make: *** [world] Error 2

damirsamardzic commented 6 years ago

Hi,

please check the wiki page here: https://github.com/MarvellEmbeddedProcessors/openwrt-dd/wiki

Idea is to use Marvell kernel from https://github.com/MarvellEmbeddedProcessors/openwrt-kernel. Using mainline kernel will most probably not work correctly.