我正在尝试使用 open-embedded 编译带有 bitbake 的内核。通常,它可以工作,因为我之前已经做过几次,但从昨天开始,在使用 make menuconfig 修改了一些值之后,当我输入编译时:
bitbake linux-boundary -c 编译
我收到以下错误:
ERROR: Function failed: do_compile (log file is located at /home/user/\
setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/\
nitrogen6x-oe-linux-gnueabi/linux-boundary/3.0.35-r0/temp/\
log.do_compile.8182)
ERROR: Logfile of failure stored in: /home/user/\
setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/\
nitrogen6x-oe-linux-gnueabi/linux-boundary/3.0.35-r0/temp/\
log.do_compile.8182
当我打开日志文件时,它说:
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j9 uImage CC=arm-oe-linux-gnueabi-gcc -mno-thumb-interwork -marm LD=arm-oe-linux-gnueabi-ld.bfd LOADADDR=0x10008000
| scripts/kconfig/conf --silentoldconfig Kconfig
| *
| * Restart config...
| *
| *
| * Linux/arm 3.0.35 Kernel Configuration
| *
| Patch physical to virtual translations at runtime (EXPERIMENTAL) (ARM_PATCH_PHYS_VIRT) [N/y/?] (NEW) aborted!
|
| Console input/output is redirected. Run 'make oldconfig' to update configuration.
|
| make[2]: *** [silentoldconfig] Error 1
| make[1]: *** [silentoldconfig] Error 2
| make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/user/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/nitrogen6x-oe-linux-gnueabi/linux-boundary/3.0.35-r0/temp/log.do_compile.8182)
**ERROR: Task 4 (/home/user/setup-scripts/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-boundary_3.0.35.bb, do_compile) failed with exit code '1'**
我真的不知道会发生什么。我尝试通过使用bitbake cth-base-image生成一个新图像从头开始,但结果是相同的(这是上面的错误)。