Wind River Support Network

HomeDefectsLIN8-5109
Fixed

LIN8-5109 : intel-x86-64 : do_compile kernel with CONFIG_USB_USBNET failed

Created: Nov 13, 2016    Updated: Dec 3, 2018
Resolved Date: Nov 15, 2016
Found In Version: unknown
Fix Version: 8.0.0.12
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

NOTE: Tainting hash to force rebuild of task /intel/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb, do_compile
WARNING: /intel/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb.do_compile is tainted from a forced run
NOTE: Checking sstate mirror object availability (for 7 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile_kernelmodules (log file is located at /intel/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/4.1-r0/temp/do_compile_kernelmodules/log.do_compile_kernelmodules.2696)
ERROR: Logfile of failure stored in: /intel/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/4.1-r0/temp/do_compile_kernelmodules/log.do_compile_kernelmodules.2696
Log data follows:
| DEBUG: Executing shell function do_compile_kernelmodules
| NOTE: make -C /intel/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/4.1-r0/linux-intel_x86_64-preempt-rt-build -j 8 modules CC=x86_64-wrs-linux-gcc   LD=x86_64-wrs-linux-ld
| make: Entering directory '/intel/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/4.1-r0/linux-intel_x86_64-preempt-rt-build'
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/Makefile:1190: target '_clean_samples' given more than once in the same rule
|   CHK     include/config/kernel.release
|   GEN     ./Makefile
|   CHK     include/generated/uapi/linux/version.h
|   CHK     include/generated/utsrelease.h
|   Using /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source as source for kernel
|   CHK     include/generated/bounds.h
|   CHK     include/generated/asm-offsets.h
|   CALL    /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/scripts/checksyscalls.sh
|   CC [M]  drivers/net/usb/asix_devices.o
|   CC [M]  drivers/net/usb/asix_common.o
|   CC [M]  drivers/net/usb/ax88172a.o
|   CC [M]  drivers/net/usb/ax88179_178a.o
|   CC [M]  drivers/net/usb/cdc_ether.o
|   CC [M]  drivers/net/usb/net1080.o
|   CC [M]  drivers/net/usb/cdc_subset.o
|   CC [M]  drivers/net/usb/zaurus.o
|   CC [M]  drivers/net/usb/usbnet.o
|   CC [M]  drivers/net/usb/cdc_ncm.o
|   LD [M]  drivers/net/usb/asix.o
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/drivers/net/usb/cdc_ncm.c: In function 'cdc_ncm_bind':
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/drivers/net/usb/cdc_ncm.c:986:9: error: too many arguments to function 'cdc_ncm_bind_common'
|   return cdc_ncm_bind_common(dev, intf, CDC_NCM_DATA_ALTSETTING_NCM, 0);
|          ^
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/drivers/net/usb/cdc_ncm.c:718:5: note: declared here
|  int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting)
|      ^
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/scripts/Makefile.build:264: recipe for target 'drivers/net/usb/cdc_ncm.o' failed
| make[5]: *** [drivers/net/usb/cdc_ncm.o] Error 1
| make[5]: *** Waiting for unfinished jobs....
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/scripts/Makefile.build:403: recipe for target 'drivers/net/usb' failed
| make[4]: *** [drivers/net/usb] Error 2
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/scripts/Makefile.build:403: recipe for target 'drivers/net' failed
| make[3]: *** [drivers/net] Error 2
| make[3]: *** Waiting for unfinished jobs....
| /intel/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/Makefile:947: recipe for target 'drivers' failed
| make[2]: *** [drivers] Error 2
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:24: recipe for target '__sub-make' failed
| make: *** [__sub-make] Error 2
| make: Leaving directory '/intel/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/4.1-r0/linux-intel_x86_64-preempt-rt-build'
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile_kernelmodules (log file is located at /intel/bitbake_build/tmp/work/intel_x86_64-wrs-linux/linux-windriver/4.1-r0/temp/do_compile_kernelmodules/log.do_compile_kernelmodules.2696)
ERROR: Task 25 (/intel/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb, do_compile_kernelmodules) failed with exit code '1'
NOTE: Tasks Summary: Attempted 433 tasks of which 426 didn't need to be rerun and 1 failed.
No currently running tasks (433 of 446)

Summary: 1 task failed:
  /intel/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb, do_compile_kernelmodules
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
make: *** [linux-windriver.rebuild] Error 1
make: Leaving directory `/intel/build'

Steps to Reproduce



# /net/pek-lpggp5.wrs.com/buildarea1/product/wrlinux80RCPL/RCPL0011_LX07/wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=preempt-rt --enable-rootfs=glibc-std --enable-internet-download=yes --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes --with-rcpl-version=0011
# make

# make -C build linux-windriver.menuconfig 

to enable 'CONFIG_USB_USBNET'

# make -C build linux-windriver.rebuild

Other Downloads


Live chat
Online