[英]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.