Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/wcf/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux kernel 错误:函数失败:使用SabreLIte使用open embedded进行编译_Linux Kernel_Arm_Openembedded - Fatal编程技术网

Linux kernel 错误:函数失败:使用SabreLIte使用open embedded进行编译

Linux kernel 错误:函数失败:使用SabreLIte使用open embedded进行编译,linux-kernel,arm,openembedded,Linux Kernel,Arm,Openembedded,我正在尝试使用OpenEmbedded使用bitbake编译内核。通常情况下,它是有效的,因为我以前做过几次,但从昨天开始,在使用make menuconfig修改了一些值之后,当我键入要编译的内容时: bitbake linux边界-c编译 我得到以下错误: ERROR: Function failed: do_compile (log file is located at /home/user/\ setup-scripts/build/tmp-defaultsetup-eglib

我正在尝试使用OpenEmbedded使用bitbake编译内核。通常情况下,它是有效的,因为我以前做过几次,但从昨天开始,在使用make menuconfig修改了一些值之后,当我键入要编译的内容时:

bitbake linux边界-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生成一个新图像,但结果是相同的(这是上面的错误)。

好了,现在一切都已修复。我用bitbake和openembedded生成了另一个内核映像。然后,我使用bitbake virtual/kernel-c menuconfig激活内核中的rt5370。以下是我遵循的一些思路:

运行时修补物理到虚拟的转换,表示已中止。您需要修改
.config
,以便选择是或否。感谢您的回答,我想通过说“我必须修改我的.config”,您是想说我必须重新配置和构建映像。我已经做过了。事实上,我已经完全删除了我的.config文件,并使用bitbake cth base image重新生成了一个新映像。就在用make menuconfig激活内核中的atheros模块之后,我无法再编译内核,因此我所做的更改才会生效。我认为在这些指令中,有一个
cp*/defconfig.config
,它实际上是按照我的建议进行的。