简体   繁体   English

在构建内核映像时,我在执行make -j4时遇到此错误(使用ubuntu)

[英]While building kernel image i am getting this error while doing make -j4 (Using ubuntu)

lib/mpi/generic_mpih-lshift.o:/home/shubh/Root/XENO_WS/linux-3.8.13/lib/mpi/mpi-inline.h:110: first defined here
scripts/Makefile.build:443: recipe for target 'lib/mpi/mpi.o' failed
make[2]: *** [lib/mpi/mpi.o] Error 1
scripts/Makefile.build:454: recipe for target 'lib/mpi' failed
make[1]: *** [lib/mpi] Error 2
Makefile:791: recipe for target 'lib' failed
make: *** [lib] Error 2
make: *** Waiting for unfinished jobs....

How can I resolve this? 我该如何解决? When I am doing same steps in OpenSUSE it is not giving any error. 当我在OpenSUSE中执行相同的步骤时,它没有给出任何错误。 I followed these steps: 我遵循以下步骤:

   make mrproper
   make oldconfig
   make -j4

then I get the error in between this. 然后我得到这之间的错误。

So you use gcc of version 5, which is incompatible with Linux kernel version you want to compile. 因此,您使用的版本5的gcc与要编译的Linux内核版本不兼容。 – Tsyvarev –齐瓦列夫

It is resolve now. 现在解决。 I build the kernel with lower version of gcc. 我用较低版本的gcc构建内核。 – sam1006 – sam1006

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么在psql cli中使用WITH语句时出现错误? - Why am I getting an ERROR while using WITH statement in psql cli? 尝试使用HttpClient检索AccesToken时出现错误 - While trying to retrieve the AccesToken using HttpClient I am getting an error 为小米设备构建 linux 内核时出错 - Error while building a linux kernel for xiaomi device 在ubuntu上为交叉编译ARM构建压扁时出错 - Error while building squish for crosscompile ARM on ubuntu 执行awk时遇到意外的换行错误 - Getting unexpected newline error while doing awk 编译Linux Kernel 4.18时发生编译时错误 - Compile time error while building Linux Kernel 4.18 为什么使用Zend Framework 1发送电子邮件时出现500 Internal Server Error? - Why I am getting 500 Internal Server Error while sending an email using Zend Framework 1? 为什么在尝试使用 Linux 中的 bash 脚本从 MySQL db 检索数据时出现此错误? - Why am I getting this error while trying to retrieve data from MySQL db using bash script in Linux? 执行Linux bash脚本时出现错误 - I am getting error while executing Linux bash script 在Ubuntu 32位上构建Trilinos时发生内部cmake错误 - Internal cmake error while building trilinos on ubuntu 32bit
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM