dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp
# Cleaning package
rm -rf out
rm -f AutoConfig.kmk configure.log env.sh
dh_clean
kmk  -f debian/rules clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox-ose'
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp
# Cleaning package
rm -rf out
rm -f AutoConfig.kmk configure.log env.sh
dh_clean
kmk[1]: Leaving directory `/usr/src/modules/virtualbox-ose'
kmk  -f debian/rules kdist_clean kdist_config binary-modules
kmk[1]: Entering directory `/usr/src/modules/virtualbox-ose'
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp
# Cleaning package
rm -rf out
rm -f AutoConfig.kmk configure.log env.sh
dh_clean
kmk -w -f debian/rules clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox-ose'
dpatch  deapply-all  
rm -rf patch-stamp patch-stampT debian/patched
dh_testdir
dh_testroot
rm -f build-stamp
# Cleaning package
rm -rf out
rm -f AutoConfig.kmk configure.log env.sh
dh_clean
kmk[2]: Leaving directory `/usr/src/modules/virtualbox-ose'
kmk[1]: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.22-14-generic/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.22-14-generic/g ;s/#KVERS#/2.6.22-14-generic/g ; s/_KVERS_/2.6.22-14-generic/g ; s/##KDREV##/2.6.22-14.52/g ; s/#KDREV#/2.6.22-14.52/g ; s/_KDREV_/2.6.22-14.52/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testroot
dh_clean -k
# Build the module
kmk all KSRC=/usr/src/linux KVER=2.6.22-14-generic KERN_DIR=/usr/src/linux
kmk[2]: Entering directory `/usr/src/modules/virtualbox-ose'
kmk KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/usr/src/modules/virtualbox-ose SRCROOT=/usr/src/modules/virtualbox-ose modules
kmk[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
	echo;								\
	echo "  ERROR: Kernel configuration is invalid.";		\
	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\
	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
	echo;								\
	/bin/false)
mkdir -p /usr/src/modules/virtualbox-ose/.tmp_versions
rm -f /usr/src/modules/virtualbox-ose/.tmp_versions/*
kmk -f scripts/Makefile.build obj=/usr/src/modules/virtualbox-ose
  gcc -Wp,-MD,/usr/src/modules/virtualbox-ose/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables   -maccumulate-outgoing-args   -fomit-frame-pointer -g    -I/usr/src/linux/include  -I/usr/src/modules/virtualbox-ose/ -I/usr/src/modules/virtualbox-ose/include -I/usr/src/modules/virtualbox-ose/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DUSE_NEW_OS_INTERFACE_FOR_MM   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /usr/src/modules/virtualbox-ose/linux/.tmp_SUPDrv-linux.o /usr/src/modules/virtualbox-ose/linux/SUPDrv-linux.c
<built-in>:0: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
kmk[4]: *** [/usr/src/modules/virtualbox-ose/linux/SUPDrv-linux.o] Error 1
kmk[3]: *** [_module_/usr/src/modules/virtualbox-ose] Error 2
kmk[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
kmk[2]: *** [vboxdrv] Error 2
kmk[2]: Leaving directory `/usr/src/modules/virtualbox-ose'
kmk[1]: *** [binary-modules] Error 2
kmk[1]: Leaving directory `/usr/src/modules/virtualbox-ose'
make: *** [kdist_build] Error 2
