编译内核中可能出空间不足的问题 (No space left on device)

在编译内核过程中遇到'No space left on device'错误,通过运行'df -h'检查发现/dev/mapper/centos-root分区已满。为了解决这个问题,需要对Linux根目录进行动态扩容。
摘要由CSDN通过智能技术生成

运行make -j 2时出现磁盘空间不足错误代码:

用df -h  检看时/dev/mapper/centos-root 100%   通过动态扩容Linux根目录解决这个问题。

{standard input}: Fatal error: can't close arch/x86/crypto/ghash-clmulni-intel.mod.o: No space left on device
arch/x86/crypto/ghash-clmulni-intel.mod.c:60:1: fatal error: opening dependency file arch/x86/crypto/.ghash-clmulni-intel.mod.o.d: No space left on device
 MODULE_INFO(srcversion, "15E32769533D18CDBB785BB");
 ^
compilation terminated.
Cannot create temporary file in /tmp/: No space left on device
make[1]: *** [arch/x86/crypto/ghash-clmulni-intel.mod.o] Error 134
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
arch/x86/tools/insn_decoder_test: success: Decoded and checked 4603984 instructions
  TEST    posttest
arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0x41ca01ef)
  CC      arch/x86/boot/a20.o

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值