Wind River Support Network

HomeDefectsLIN6-9856
Fixed

LIN6-9856 : build error in fsl_t2xxx UP platform project

Created: May 3, 2015    Updated: Dec 3, 2018
Resolved Date: Aug 27, 2015
Found In Version: 6.0.0.18
Fix Version: 6.0.0.24
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP
Host OS: Linux Ubuntu

Description

when build a fsl_t2xxx UP platform project, an error msg was shown below. 

|   CC      arch/powerpc/sysdev/fsl_rcpm.o
| /SIM_workspace/PCVP_t2080_glibc_up_64/bitbake_build/tmp/work/fsl_t2xxx-wrs-linux/linux-windriver/3.10-r0/linux/arch/powerpc/sysdev/fsl_rcpm.c: In function 'rcpm_v1_irq_mask':
| /SIM_workspace/PCVP_t2080_glibc_up_64/bitbake_build/tmp/work/fsl_t2xxx-wrs-linux/linux-windriver/3.10-r0/linux/arch/powerpc/sysdev/fsl_rcpm.c:31:2: error: implicit declaration of function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration]
|   int hw_cpu = get_hard_smp_processor_id(cpu);
|   ^
| cc1: all warnings being treated as errors
| make[3]: *** [arch/powerpc/sysdev/fsl_rcpm.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| make[2]: *** [arch/powerpc/sysdev] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /SIM_workspace/PCVP_t2080_glibc_up_64/bitbake_build/tmp/work/fsl_t2xxx-wrs-linux/linux-windriver/3.10-r0/temp/do_compile/log.do_compile.17116)

Steps to Reproduce

1. create a wrlinux 6 platform project with 'fsl_t2xxx' bsp and glibc_small
 '../wrlinux-6/wrlinux/configure --enable-board=fsl-t2xxx --enable-build=production --enable-jobs=2 --enable-kernel=standard --enable-parallel-pkgbuilds=2 --enable-rootfs=glibc_small+initramfs --with-rcpl-version=0019 --enable-reconfig'

2. 'make -C build linux-windriver.menuconfig' open project kernel configuration, disable 'Processor support --->Symmetric Mulit-Processing support' and save the configuration. (see attachment 1.png and 2.png)
3. 'make -C build linux-windriver.rebuild' build project and inspect the build logs. (see attachment log.do_compile.17116)

Other Downloads


Live chat
Online