FC8下安装VirtualBox的问题

yuchongjike 2008-06-20 08:13:36
一直提示找不到内核,查看了一下内核是:2.6.25.4-10.fc,也没错呀。
在 make的时候提示找不到内核,看了一下Makefile文件:
# kernel base directory
ifndef KERN_DIR
# build for the current kernel, version check
KERN_DIR := /lib/modules/$(shell uname -r)/build
ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
KERN_DIR := /usr/src/linux
ifneq ($(shell if test -d $(KERN_DIR); then echo yes; fi),yes)
$(error Error: unable to find the sources of your current Linux kernel. \
Specify KERN_DIR=<directory> and run Make again)
endif
$(warning Warning: using /usr/src/linux as the source directory of your \
Linux kernel. If this is not correct, specify \
KERN_DIR=<directory> and run Make again.)
endif
好像没有/usr/src/linux的目录,只有一个/usr/src/redhat目录和/usr/src/kernels目录
build也不能打开,它指向的是.i586,而我的是.i686
...全文
110 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yuchongjike 2008-06-20
  • 打赏
  • 举报
回复
我终于搞定了,还是内核的问题
下载的是.i586的包,安装的是.i686的核,所以才提示找不到内核

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧