Page 1 of 1

Linux 3.4 y : make uImage compile Error

Posted: Sat Jun 03, 2017 12:27 pm
I am interface USB modem for 4d lte configure with linux kernel error in mke uImage ??

root@nanaopc:~/NanoPC/linux-3.4.y$ make uImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/
CHK include/generated/compile.h
CC drivers/net/usb/cdc_ether.o
drivers/net/usb/cdc_ether.c: In function ‘usbnet_cdc_status’:
drivers/net/usb/cdc_ether.c:415:3: error: implicit declaration of function ‘usbnet_link_change’ [-Werror=implicit-function-declaration]
usbnet_link_change(dev, !!event->wValue, 0);
drivers/net/usb/cdc_ether.c: At top level:
drivers/net/usb/cdc_ether.c:469:18: error: ‘usbnet_manage_power’ undeclared here (not in a function)
.manage_power = usbnet_manage_power,
drivers/net/usb/cdc_ether.c:637:2: error: implicit declaration of function ‘USB_DEVICE_INTERFACE_NUMBER’ [-Werror=implicit-function-declaration]
drivers/net/usb/cdc_ether.c:637:2: error: initializer element is not constant
drivers/net/usb/cdc_ether.c:637:2: error: (near initialization for ‘products[16].match_flags’)
drivers/net/usb/cdc_ether.c:747:2: error: unknown field ‘disable_hub_initiated_lpm’ specified in initializer
.disable_hub_initiated_lpm = 1,
cc1: some warnings being treated as errors
make[3]: *** [drivers/net/usb/cdc_ether.o] Error 1
make[2]: *** [drivers/net/usb] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2