Hi everyone -
I've tried to be a good citizen and figure this out but so far I can't. I've got SUSE 10.3 installed under XP SP2. All updates are applied to both systems. I'm running VirtualBox 1.54.
When I try to install the Guest additions, I get...
Makefile:38: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.. Stop.
I've installed linux-kernel-headers, kernel-source, autoyast, autoconf, automake, gcc, and probably a few others I'm forgetting.
I've got these repositories...
/repositories/openSUSE:/10.3/standard/
/update/10.3/
/repositories/Virtualization:/VirtualBox/openSUSE_10.3/
/distribution/10.3/repo/non-oss/
plus the install DVD and a few others.
rpm -qa | grep kernel shows me this....
kernel-default-2.6.24_rc6_g304b4699-3.1
kernel-syms-2.6.22.13-0.3
linux-kernel-headers-2.6.22-19
kernel-source-2.6.22.13-0.3
I'm smart enough to notice that the versions don't match but not smart enough to know what to do about it. In particular, I notice I've got a release candidate kernel. I assume I picked it up during my update frenzy.
Some gentle guidance would be appreciated.
- Kevin
kernel headers problem with SUSE 10.3 guest additions
Hello,
I got exactly the same with a fresh installed OpenSuse 10.3 as guest.
After installing all automatically offered Suse-updates inclusive the kernel update, the installing of the virtual box guest applications works without any error. Of course I do not know, which of the Updates brought about this.
W.Pavel
I got exactly the same with a fresh installed OpenSuse 10.3 as guest.
After installing all automatically offered Suse-updates inclusive the kernel update, the installing of the virtual box guest applications works without any error. Of course I do not know, which of the Updates brought about this.
W.Pavel
Actually, I run into the same problem (KDE 4.01 live CD installed): Kernel header, includes and source are installed, and I can easily recompile the kernel.
After entering the path for the include
the error changes to:
And yes, version.h is not there. I'm a little out of kernel building, was that file not required in older Linux-versions?
After entering the path for the include
Code: Select all
export KERN_INCL=/usr/src/linux/include
Code: Select all
Installing VirtualBox 1.5.2 Guest Additions, built Thu Oct 18 10:04:07 CEST 2007
Testing the setup of the guest system
Building a test kernel module...
grep: /usr/src/linux/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.22.16-0.1-default/build SUBDIRS=/tmp/selfgz95286869/module/test SRCROOT=/tmp/selfgz95286869/module/test modules
make[1]: *** Keine Regel, um ?modules? zu erstellen. Schluss.
make: *** [vboxadd_test] Fehler 2
Building the test kernel module failed.
Giving up due to the problems mentioned above.
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
stefan.becker wrote: The package "kernel-source" must be same version as running kernel.
Code: Select all
linux:/media/VBOXADDITIONS_1.5.2_25433 # uname -r
2.6.22.16-0.1-default