Wind River Support Network

HomeDefectsLIN8-2026
Fixed

LIN8-2026 : fsl-t2xxx: build failed CONFIG_UIO=m

Created: Dec 3, 2015    Updated: Mar 4, 2016
Resolved Date: Dec 7, 2015
Found In Version: 8.0
Fix Version: 8.0.0.0.LB13
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: BSP

Description

|   LD      lib/raid6/built-in.o
|   LD      lib/built-in.o
|   AR      lib/lib.a
|   LINK    vmlinux
|   LD      vmlinux.o
|   MODPOST vmlinux.o
|   GEN     .version
|   CHK     include/generated/compile.h
|   UPD     include/generated/compile.h
|   CC      init/version.o
|   LD      init/built-in.o
| drivers/built-in.o: In function `fsl_rman_ib_remove':
| /buildarea1/lyang0/ppcc/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/staging/fsl_rman/rman_uio_driver.c:235: undefined reference to `.uio_unregister_device'
| drivers/built-in.o: In function `fsl_rman_remove':
| /buildarea1/lyang0/ppcc/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/staging/fsl_rman/rman_uio_driver.c:337: undefined reference to `.uio_unregister_device'
| drivers/built-in.o: In function `rman_ib_uio_init':
| /buildarea1/lyang0/ppcc/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/staging/fsl_rman/rman_uio_driver.c:169: undefined reference to `.__uio_register_device'
| drivers/built-in.o: In function `rman_uio_init':
| /buildarea1/lyang0/ppcc/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/staging/fsl_rman/rman_uio_driver.c:144: undefined reference to `.__uio_register_device'
| drivers/built-in.o: In function `fsl_rman_ib_remove':
| /buildarea1/lyang0/ppcc/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/staging/fsl_rman/rman_uio_driver.c:235: undefined reference to `.uio_unregister_device'
| /buildarea1/lyang0/ppcc/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/Makefile:933: recipe for target 'vmlinux' failed
| make[2]: *** [vmlinux] Error 1
| 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
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /buildarea1/lyang0/ppcc/bitbake_build/tmp/work/fsl_t2xxx-wrs-linux/linux-windriver/4.1-r0/temp/do_compile/log.do_compile.17323)
ERROR: Task 12 (/buildarea1/lyang0/ppcc/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 405 tasks of which 288 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0% sstate reuse (0 setscene, 13 scratch)
NOTE:   do_package: 0% sstate reuse (0 setscene, 2 scratch)
NOTE:   do_packagedata: 0% sstate reuse (0 setscene, 2 scratch)
NOTE:   do_package_write_rpm: 0% sstate reuse (0 setscene, 2 scratch)
NOTE:   do_populate_lic: 0% sstate reuse (0 setscene, 1 scratch)
Waiting for 0 running tasks to finish:

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

Steps to Reproduce

/buildarea1/lyang0/wrlinux-8/wrlinux/configure --enable-board=fsl-t2xxx --enable-kernel=preempt-rt --enable-rootfs=glibc-small --enable-jobs=36 --enable-parallel-pkgbuilds=36 && make -C build linux-windriver.menuconfig

set CONFIG_UIO=m 
Live chat
Online