[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

linux-kbuild-2.6 one line fix for 2.6.32-rc8



Hi, 

VirtualBox 3.1 driver modules, from upstream's nonfree virtualbox-3.1
(3.1.0-55467_Debian_lenny) package, failed to build for 2.6.32-rc8-amd64
currently in unstable without this patch:

Index: scripts/Makefile
===================================================================
--- scripts/Makefile	(revision 14711)
+++ scripts/Makefile	(working copy)
@@ -27,6 +27,7 @@
 	makelst \
 	mksysmap \
 	mkuboot.sh \
+	module-common.lds \
 	namespace.pl \
 	patch-kernel \
 	setlocalversion \

Build had failed with
[...]
  ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.32-rc8-common/scripts/module-common.lds --build-id -o /tmp/vbox.0/vboxdrv.ko /tmp/vbox.0/vboxdrv.o /tmp/vbox.0/vboxdrv.mod.o
ld: cannot open linker script file /usr/src/linux-headers-2.6.32-rc8-common/scripts/module-common.lds: No such file or directory
make[4]: *** [/tmp/vbox.0/vboxdrv.ko] Error 1
make[3]: *** [modules] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [vboxdrv] Error 2

Regards,
Zoran


Reply to: