在Linux Mint 17上编译Linux内核时出错 [英] Error while compiling linux kernel on Linux mint 17

查看:621
本文介绍了在Linux Mint 17上编译Linux内核时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Linux Mint肉桂64bit上编译内核Linux时出现以下错误

I have the following error while trying to compile kernel Linux on Linux mint cinnamon 64bit

linux-3.17.1 # make modules_install

INSTALL arch/x86/crypto/aes-x86_64.ko

Can't read private key

make[1]: *** [arch/x86/crypto/aes-x86_64.ko] Error 2

make: *** [_modinst_] Error 2

此命令(#make模块)已成功完成,没有任何错误. 已安装gcc,build-essentials和g ++.

This command (#make modules) had been done successfully without any errors. gcc, build-essentials and g++ are installed.

系统在4核+ 3 GB内存+ 40GB可用空间的虚拟机上运行.

The system is running on virtual machine 4 cores + 3 GB of ram + 40GB freespace.

推荐答案

要解决此错误,我运行了make,首先编译内核.我尝试不首先编译内核就进行make modules_install.因此,我运行了以下内容.

To solve this error I ran make, to compile the kernel first. I was trying make modules_install without compiling kernel first. Thus I ran the following.

制作

这篇关于在Linux Mint 17上编译Linux内核时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆