Can't recompile Virtualbox Kernel Module

Discussions related to using VirtualBox on Linux hosts.
Post Reply
bibi
Posts: 3
Joined: 23. Feb 2008, 19:28

Can't recompile Virtualbox Kernel Module

Post by bibi »

Hello,

I am searching over the internet an answer but nothing...so I need your help.
  • bibi@donald:/tmp$ sudo /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel module: vboxdrv.
    Recompiling VirtualBox kernel module: vboxdrv
    Look at /var/log/vbox-install.log to find out what went wrong

    bibi@donald:/tmp$ cat /var/log/vbox-install.log
    /lib/modules/2.4.34.4.070531/build/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set
    make KBUILD_VERBOSE=1 -C /lib/modules/2.4.34.4.070531/build SUBDIRS=/tmp/vbox.2 SRCROOT=/tmp/vbox.2 modules
    make[1]: Entering directory `/usr/src/linux-2.4.34.4'
    make -C /tmp/vbox.2 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.34.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.34.4/include/linux/modversions.h" MAKING_MODULES=1 modules
    make[2]: Entering directory `/tmp/vbox.2'
    Makefile:210: /Rules.make: No such file or directory
    make[2]: *** No rule to make target `/Rules.make'. Stop.
    make[2]: Leaving directory `/tmp/vbox.2'
    make[1]: *** [_mod_/tmp/vbox.2] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.4.34.4'
    make: *** [vboxdrv] Error 2

Debian etch, kernel 2.4.34, kernel headers installed

bibi@donald:/tmp$ dpkg -l | grep virtualbox
ii virtualbox 1.5.6-28266_Debian_etch innotek VirtualBox


Thanks for you help
bibi
Posts: 3
Joined: 23. Feb 2008, 19:28

Post by bibi »

No solution guys ? :(
bibi
Posts: 3
Joined: 23. Feb 2008, 19:28

Post by bibi »

It's working now, but I am using a 2.6 kernel now.
Something strange with the kernel sources or modules, I don't know.
Post Reply