环境:dvrrdk4.0.2+dm8168
在内核源码中
在编译内核的时候首先make lsp_clean ,然后make lsp出现报错,提示不能编译arch/arm/mach-omap2/board-flash.o
后来ls目录发现只有board-flash.h,怎么没有board-flash.c 请问大家有没有遇到过这个问题?谢谢!
make[3]: Entering directory `/opt/prj/hdmeeting/bsp/DVRRDK_04.00.00.03.kernel'
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[4]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
make[4]: *** No rule to make target `arch/arm/mach-omap2/board-flash.o', needed by `arch/arm/mach-omap2/built-in.o'. Stop.
make[3]: *** [arch/arm/mach-omap2] Error 2
make[3]: Leaving directory `/opt/prj/hdmeeting/bsp/DVRRDK_04.00.00.03.kernel'
make[2]: *** [lsp_build] Error 2
make[2]: Leaving directory `/opt/prj/hdmeeting/bsp/DVRRDK_04.00.00.03.app/dvr_rdk/makerules'
make[1]: *** [lsp] Error 2
make[1]: Leaving directory `/opt/prj/hdmeeting/bsp/DVRRDK_04.00.00.03.app/dvr_rdk/makerules'
make: *** [lsp] Error 2
ljh@ljh-desktop:/opt/prj/hdmeeting/bsp/DVRRDK_04.00.00.03.kernel$ ls arch/arm/mach-omap2/board-flash.* -l
-rwxr-xr-x 1 root root 992 2016-11-22 15:20 arch/arm/mach-omap2/board-flash.h
-rwxr-xr-x 1 root root 5316 2016-11-22 15:20 arch/arm/mach-omap2/board-flash.o
sir sanmaoljh:
回复 Chris Meng:
谢谢 Chris Meng
是我这边dvrrdk4.0.0.2包有问题,谢谢