分页: 1 / 1

[求助]Virtualbox无法编译Vboxdrv

发表于 : 2007-10-22 22:50
senhtry
编译的时候出错

代码: 全选

senhtry@senhtry-laptop:~$ sudo /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel module vboxdrv                             [ OK ] 
 * Recompiling VirtualBox kernel module vboxdrv                                 
 * Look at /var/log/vbox-install.log to find out what went wrong
senhtry@senhtry-laptop:~$ cat /var/log/vbox-install.log 
Makefile:82: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.。 停止。
senhtry@senhtry-laptop:~$ 
我的内核是自己编译的,编译完以后的文件我移动了位置,放到了另一个文件夹里,不知到是不是因为编译vboxdrv的时候找不到内核的库了?

发表于 : 2007-10-22 22:55
yysq009
Makefile:82: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.。 停止。

错误:不能够找到包含你正确Linux内核目录。指定内核目录并且再次运行make。。。