当我像在 Ubuntu 或 CentOS 上一样运行“sudo sh VBoxLinuxAdditions.run”时,TinyCore 会抛出错误并失败,并且 /var/log/vboxadd-install.log 显示:
/tmp/vbox.0/Makefile.include.header:97: *** Error:
unable to find the sources of your current Linux kernel.
Specify KERN_DIR=<directory> and run Make again. Stop.
我用tce工具安装了一些包如gcc、make、linux-kernel-sources-env.tcz、linux-3.16.2_api_headers.tcz,然后VBoxLinuxAdditions.run可以得到KERN_DIR,但是此时没有KERN_INC。
如果有人以前这样做过,你能给我一些分数吗?我真的不知道应该在 TinyCore 中安装哪些软件包才能使 VBoxAdditions 工作。我的 VBox 和 TinyCore 是最新的。谢谢。