bitbake -c compile -f virtual/kernel

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

bitbake -c compile -f virtual/kernel

1,659 次查看
zmq001
Contributor I

I

I modify the kernel code and recompile

Use the following command:

 

$ bitbake -c menuconfig virtual/kernel

$ bitbake -c compile -f virtual/kernel

When I execute the command $ bitbake -c menuconfig virtual/kernel.It has the same error as below, I found a solution in the community and executed this command successfully。

But When I execute the command $bitbake -c compile -f virtual/kernel .This error came out again.The last command menuconfig did not reproduce this error.

Does anyone have a similar problem? help me.

 

 

NOTE: Preparing RunQueue
NOTE: Tainting hash to force rebuild of task /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_compile
WARNING: /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb.do_compile is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.123112)
ERROR: Logfile of failure stored in: /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.123112
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 uImage CC=powerpc64-fsl-linux-gcc -fuse-ld=bfd --sysroot=/home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/sysroots/t2080rdb-64b LD=powerpc64-fsl-linux-ld.bfd --sysroot=/home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/sysroots/t2080rdb-64b LOADADDR=0x80008000
| CHK include/config/kernel.release
| GEN ./Makefile
| CHK include/generated/uapi/linux/version.h
| CHK include/generated/utsrelease.h
| Using /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work-shared/t2080rdb-64b/kernel-source as source for kernel
| CHK include/generated/bounds.h
| CHK include/generated/asm-offsets.h
| CALL /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work-shared/t2080rdb-64b/kernel-source/scripts/checksyscalls.sh
| CHK include/generated/compile.h
| CALL /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work-shared/t2080rdb-64b/kernel-source/arch/powerpc/kernel/systbl_chk.sh
| CHK kernel/config_data.h
| make[4]: *** No rule to make target `drivers/net/virt_nic.o', needed by `drivers/net/built-in.o'. Stop.
| make[4]: *** Waiting for unfinished jobs....
| LD drivers/video/backlight/built-in.o
| CC drivers/video/console/dummycon.o
| CC drivers/virt/fsl_hypervisor.o
| make[3]: *** [drivers/net] Error 2
| make[3]: *** Waiting for unfinished jobs....
| CC drivers/video/fbdev/core/fb_notify.o
| CC drivers/video/console/vgacon.o
| LD drivers/video/fbdev/omap2/displays-new/built-in.o
| LD drivers/video/fbdev/omap2/dss/built-in.o
| LD drivers/video/fbdev/omap2/built-in.o
| LD drivers/video/fbdev/core/built-in.o
| LD drivers/video/fbdev/built-in.o
| LD drivers/virt/built-in.o
| LD drivers/video/console/built-in.o
| LD drivers/video/built-in.o
| make[2]: *** [drivers] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| WARNING: /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/run.do_compile.123112:1 exit 1 from
| exit 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.123112)
ERROR: Task 5 (/home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 286 tasks of which 285 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/can/t2080/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_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.

0 项奖励
1 回复

1,646 次查看
yipingwang
NXP TechSupport
NXP TechSupport

It seems that there is problem with Linux Kernel configuration file.

Would you please send Linux Kernel configuration file(.config) in build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/linux-qoriq/4.1-r0/build/.config to me to do more investigation?

0 项奖励