Sponsored Links

Problems with virtualbox 4.0.2 and linux kernel 2.6.38? Here’s a solution..

Just copy/paste this entire line into a terminal window…

sudo cd /usr/share/virtualbox/src/vboxhost && for file in `grep "autoconf.h" * -R| cut -f1 -d:`; do sed -i 's/^#\(\s*\)include <linux\/autoconf\.h>/#\1include <generated\/autoconf.h>/g' $file; done

Then type;

sudo /etc/init.d/vboxdrv setup

The virtualbox driver should now compile.

The file “autoconf.h” has been moved in more recent kernels from <linux/autoconf.h> to <generated/autoconf.h>, hence the error.

VN:F [1.9.22_1171]
Rate This Article
Rating: 9.0/10 (3 votes cast)
Problems with virtualbox 4.0.2 and linux kernel 2.6.38? Here’s a solution.., 9.0 out of 10 based on 3 ratings
Share the knowledge :
Facebook Twitter Pinterest Linkedin Digg Delicious Reddit Stumbleupon Posterous Email Snailmail

1 comment to Problems with virtualbox 4.0.2 and linux kernel 2.6.38? Here’s a solution..

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

This site uses Akismet to reduce spam. Learn how your comment data is processed.