Wind River Support Network

HomeDefectsLIN7-3969
Fixed

LIN7-3969 : missing tool of recordmcount cause build modules failed on target

Created: Jun 7, 2015    Updated: Sep 8, 2018
Resolved Date: Feb 3, 2016
Found In Version: 7.0.0.5
Fix Version: 7.0.0.13
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

root@vmware:~# make -C $KERNELDIR M=/root/moduledebug_3 modules
make: Entering directory '/usr/src/kernel'
  CC [M]  /root/moduledebug_3/moduledebug.o
/bin/sh: /usr/src/kernel/scripts/recordmcount: No such file or directory
scripts/Makefile.build:308: recipe for target '/root/moduledebug_3/moduledebug.o' failed
make[1]: *** [/root/moduledebug_3/moduledebug.o] Error 1
Makefile:1280: recipe for target '_module_/root/moduledebug_3' failed
make: *** [_module_/root/moduledebug_3] Error 2
make: Leaving directory '/usr/src/kernel'
root@vmware:~#

Steps to Reproduce

/net/pek-lpgtest9.wrs.com/buildarea1/xxxxx/WRL7/product_install/wrlinux-7/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-jobs=24 --enable-parallel-pkgbuilds=24 --enable-reconfig=yes --with-template=feature/target-toolchain --with-package=kernel-devsrc --with-rcpl-version=0

Make

Install OS on target.

Copy kernel module srouce code $WRLinux7_Install_Path/samples/moduledebug_3 to target /root/moduledebug_3.

Target:
>>> KERNELDIR=/usr/src/kernel/
>>>make -C $KERNELDIR M=/root/moduledebug_3 modules

Other Downloads


Live chat
Online