如何制作Linux内核
我导航到目录 usr/src/linuex-headers-2.6.38-8 并输入 make。 我收到以下错误消息。
No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'
我该如何解决这个问题?我用的是ubuntu...
I navigated to the directory usr/src/linuex-headers-2.6.38-8 and type make.
I got the following error message.
No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'
How do I solve this problem? I am using ubuntu...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你
在输入 make^ 之前运行过吗?您有权限在目录中创建文件吗?您是否在 Canonical 的网站上查找了构建内核的说明?
如果您不想使用给出的源代码,可以从 GitHub 获取最新的内核。通常情况下,kernel.org 上会有副本,但该网站最近遭到破坏并被删除以重新安装。
^ - 如果您不想回答一千个问题,还有其他命令,例如
Did you run
before typing make^? Do you have permissions to create files in the directory? Did you look on Canonical's site for instructions on building a kernel?
If you do not want to use the source code given, you can fetch the latest kernel from GitHub. Ordinarily, there would be copies on kernel.org, but the site was compromised recently and taken down for re-installation.
^ - If you do not want to answer a thousand questions, there are alternate commands such as
这是从 Ubuntu 论坛上的答案复制的:
您经常会发现,如果您将确切的错误消息粘贴到 Google 中,答案就会立即弹出:)
This is copied from an answer on the Ubuntu forums:
You'll often find if you paste the exact error message into Google the answer just pops right up :)