给Ubuntu系统安装VirtualBox Guest Additions,如果出现错误:

Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)"

查看log显示:

Makefile:75: *** Error: unable to find the sources of yourcurrent Linux kernel. Specify KERN_DIR= and run Make again.

 

解决方法为安装linux header,运行下面的命令,然后重新安装即可:

sudo apt-get install linux-headers-`uname -r`

 

相关文章:

  • 2021-08-15
  • 2021-11-07
  • 2021-06-20
  • 2021-11-25
  • 2022-02-28
  • 2021-06-19
  • 2022-12-23
  • 2021-09-14
猜你喜欢
  • 2021-06-16
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案