Excuse me, I have searched much materials in google.
But I still cannot find what's the solution ?
Currently, I have installed the openSUSE 11 KDE4 in VirtualBox1.6.6 as guest OS and my host OS is Windows Vista Business SP1. After installing the openSUSE 11, I try to install the guest addition.
Before installing the guest addition, I have also installed the needed packages such as kernel-source, kernel-header, gcc, and kernel-syms.
According to the materials from google, I also set the environment variables KERN_INCL=/usr/include
After completing above prerequisite, I start installing the guest addition by following command:
sudo ./VBoxLinuxAdditions.run
But something error generated in console as follows.
Building a test kernel module failed. See the log file /var/log/vboxadd-install.log for more details.
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.
I also check the log file but I confused the error messages as follows.
-----------------------------------------------------------
Building a test kernel module..
Makefile:38: *** Error: unable to find the include directory for your current Linux Kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
Building the test kernel module failed.
-----------------------------------------------------------
I don't understand why /usr/include cannot be finded@@
Any where I make mistake? Please help me !!!
Thanks.