Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
LatOffline
Post subject: I still can't build virtualbox modules 4.1.18-dfsg-2.1  PostPosted: 27.01.2013, 16:27



Joined: 2010-09-19
Posts: 165

Status: Offline
Is module-assistant broken?
I can't build the module for the running kernel using m-a build virtualbox. I get error:
      Code:
Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel
headers to use.


However, you can install the header files for your kernel which are provided by the linux-headers-3.7-1.slh.1-aptosid-amd64
package. For most modules packages, these files are perfectly sufficient without having the original kernel source.

To install the package, run:

module-assistant prepare

or

apt-get install linux-headers-3.7-1.slh.1-aptosid-amd64


If I use m-a prepare and use the options -t and -k for m-a I still get the same error:

      Code:
debq virtualbox && m-a prepare -t -l $(uname -r) -k  /usr/src/linux-$(uname -r) virtualbox-source &&  m-a build -t -l $(uname -r) -k  /usr/src/linux-$(uname -r) virtualbox-source
hi  virtualbox                                             4.1.18-dfsg-2.1                     amd64        x86 virtualization solution - base binaries
ii  virtualbox-guest-additions-iso                         4.1.18-1                            all          guest additions iso image for VirtualBox
ii  virtualbox-modules-3.3-6.slh.2-aptosid-amd64           4.1.18-dfsg-1+3.3-27                amd64        VirtualBox modules for Linux (kernel 3.3-6.slh.2-aptosid-amd64)
ii  virtualbox-modules-3.5-2.slh.3-aptosid-amd64           4.1.18-dfsg-1+3.5-10                amd64        VirtualBox modules for Linux (kernel 3.5-2.slh.3-aptosid-amd64)
ii  virtualbox-modules-3.6-3.slh.3-aptosid-amd64           4.1.18-dfsg-1.1+3.6-13              amd64        VirtualBox modules for Linux (kernel 3.6-3.slh.3-aptosid-amd64)
ii  virtualbox-modules-3.7-1.slh.1-aptosid-amd64           4.1.18-dfsg-1.1+c0.aptosid.2+3.7-4  amd64        VirtualBox modules for Linux (kernel 3.7-1.slh.1-aptosid-amd64)
ii  virtualbox-modules-3.7-3.slh.2-aptosid-amd64           4.1.18-dfsg-1.1+c0.aptosid.2+3.7-12 amd64        VirtualBox modules for Linux (kernel 3.7-3.slh.2-aptosid-amd64)
ii  virtualbox-qt                                          4.1.18-dfsg-2.1                     amd64        x86 virtualization solution - Qt based user interface
hi  virtualbox-source                                      4.1.18-dfsg-2.1                     all          x86 virtualization solution - kernel module source
Getting source for kernel version: 3.7-1.slh.1-aptosid-amd64
apt-get install linux-headers-3.7-1.slh.1-aptosid-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.7-1.slh.1-aptosid-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Done!


Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel
headers to use.


However, you can install the header files for your kernel which are provided by the linux-headers-3.7-1.slh.1-aptosid-amd64
package. For most modules packages, these files are perfectly sufficient without having the original kernel source.

To install the package, run:

module-assistant prepare

or

apt-get install linux-headers-3.7-1.slh.1-aptosid-amd64


If I try to build the module for other kernel, m-a uses the running kernel. What gives??
      Code:
m-a build -t -l 3.7-3.slh.2-aptosid-amd64 -k /usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64 virtualbox
Extracting the package tarball, /usr/src/virtualbox.tar.bz2, please wait...
kmk -C vboxdrv clean
kmk: Entering directory `/usr/src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxdrv SRCROOT=/usr/src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk: Leaving directory `/usr/src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk: Entering directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetflt SRCROOT=/usr/src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk: Leaving directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk: Entering directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetadp SRCROOT=/usr/src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk: Leaving directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk: Entering directory `/usr/src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxpci SRCROOT=/usr/src/modules/virtualbox/vboxpci -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk: Leaving directory `/usr/src/modules/virtualbox/vboxpci'
dh_clean
kmk  -f debian/rules clean
kmk -C vboxdrv clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxdrv SRCROOT=/usr/src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetflt SRCROOT=/usr/src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetadp SRCROOT=/usr/src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxpci SRCROOT=/usr/src/modules/virtualbox/vboxpci -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxpci'
dh_clean
kmk  -f debian/rules kdist_clean kdist_config binary-modules
kmk -C vboxdrv clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxdrv SRCROOT=/usr/src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetflt SRCROOT=/usr/src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetadp SRCROOT=/usr/src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxpci SRCROOT=/usr/src/modules/virtualbox/vboxpci -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxpci'
dh_clean
kmk - --jobserver-fds=3,4 -j -f debian/rules clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox'
kmk -C vboxdrv clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxdrv SRCROOT=/usr/src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetflt SRCROOT=/usr/src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetadp SRCROOT=/usr/src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxpci SRCROOT=/usr/src/modules/virtualbox/vboxpci -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxpci'
dh_clean
kmk[1]: Leaving directory `/usr/src/modules/virtualbox'
kmk: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/3.7-3.slh.2-aptosid-amd64/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##/3.7-3.slh.2-aptosid-amd64/g ;s/#KVERS#/3.7-3.slh.2-aptosid-amd64/g ; s/_KVERS_/3.7-3.slh.2-aptosid-amd64/g ; s/##KDREV##/3.7-12/g ; s/#KDREV#/3.7-12/g ; s/_KDREV_/3.7-12/g  ' <templ> ${templ%.modules.in}; \
  done
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
# Build the module
kmk -C /usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64 M=/usr/src/modules/virtualbox
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /usr/src/modules/virtualbox/built-in.o
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /usr/src/modules/virtualbox/vboxdrv/built-in.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/SUPDrv.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/SUPDrvSem.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/alloc-r0drv.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/initterm-r0drv.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/memobj-r0drv.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/mp-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/mpnotification-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/process-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/semevent-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/semeventmulti-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/semfastmutex-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/semmutex-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/spinlock-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/thread-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/thread2-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/time-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/timer-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/generic/semspinmutex-r0drv-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/alloc/alloc.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/checksum/crc32.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/checksum/ipv4.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/checksum/ipv6.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/err/RTErrConvertFromErrno.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/err/RTErrConvertToErrno.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/log/log.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/log/logellipsis.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/log/logrel.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/log/logrelellipsis.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/log/logcom.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/log/logformat.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg1Weak.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2Add.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2AddWeak.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2AddWeakV.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2Weak.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2WeakV.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/assert.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/handletable.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/handletablectx.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/misc/thread.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/string/RTStrCopyP.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/string/strformat.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/string/strformatrt.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/string/strformattype.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/string/strprintf.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/string/strtonum.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/table/avlpv.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/time/time.o
/usr/src/modules/virtualbox/vboxdrv/common/string/strtonum.c: In function ‘VBoxHost_RTStrConvertHexBytes’:
/usr/src/modules/virtualbox/vboxdrv/common/string/strtonum.c:977:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/usr/src/modules/virtualbox/vboxdrv/common/string/strtonum.c:996:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/r0drv/linux/RTLogWriteDebugger-r0drv-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTAssertShouldPanic-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTLogWriteStdErr-stub-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTLogWriteStdOut-stub-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTLogWriteUser-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTMpGetArraySize-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTSemEventWait-2-ex-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTSemEventWaitNoResume-2-ex-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTSemEventMultiWait-2-ex-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTSemEventMultiWaitNoResume-2-ex-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/RTTimerCreate-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/errvars-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/mppresent-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/generic/uuid-generic.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/VBox/log-vbox.o
  CC [M]  /usr/src/modules/virtualbox/vboxdrv/common/alloc/heapsimple.o
  LD [M]  /usr/src/modules/virtualbox/vboxdrv/vboxdrv.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /usr/src/modules/virtualbox/vboxnetadp/built-in.o
  CC [M]  /usr/src/modules/virtualbox/vboxnetadp/linux/VBoxNetAdp-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxnetadp/VBoxNetAdp.o
  LD [M]  /usr/src/modules/virtualbox/vboxnetadp/vboxnetadp.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /usr/src/modules/virtualbox/vboxnetflt/built-in.o
  CC [M]  /usr/src/modules/virtualbox/vboxnetflt/linux/VBoxNetFlt-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxnetflt/VBoxNetFlt.o
  CC [M]  /usr/src/modules/virtualbox/vboxnetflt/SUPR0IdcClient.o
  CC [M]  /usr/src/modules/virtualbox/vboxnetflt/SUPR0IdcClientComponent.o
  CC [M]  /usr/src/modules/virtualbox/vboxnetflt/linux/SUPR0IdcClient-linux.o
  LD [M]  /usr/src/modules/virtualbox/vboxnetflt/vboxnetflt.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /usr/src/modules/virtualbox/vboxpci/built-in.o
  CC [M]  /usr/src/modules/virtualbox/vboxpci/linux/VBoxPci-linux.o
  CC [M]  /usr/src/modules/virtualbox/vboxpci/VBoxPci.o
  CC [M]  /usr/src/modules/virtualbox/vboxpci/SUPR0IdcClient.o
  CC [M]  /usr/src/modules/virtualbox/vboxpci/SUPR0IdcClientComponent.o
  CC [M]  /usr/src/modules/virtualbox/vboxpci/linux/SUPR0IdcClient-linux.o
  LD [M]  /usr/src/modules/virtualbox/vboxpci/vboxpci.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  Building modules, stage 2.
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  MODPOST 4 modules
  CC      /usr/src/modules/virtualbox/vboxdrv/vboxdrv.mod.o
  LD [M]  /usr/src/modules/virtualbox/vboxdrv/vboxdrv.ko
  CC      /usr/src/modules/virtualbox/vboxnetadp/vboxnetadp.mod.o
  LD [M]  /usr/src/modules/virtualbox/vboxnetadp/vboxnetadp.ko
  CC      /usr/src/modules/virtualbox/vboxnetflt/vboxnetflt.mod.o
  LD [M]  /usr/src/modules/virtualbox/vboxnetflt/vboxnetflt.ko
  CC      /usr/src/modules/virtualbox/vboxpci/vboxpci.mod.o
  LD [M]  /usr/src/modules/virtualbox/vboxpci/vboxpci.ko
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
# Install the module
dh_install vboxdrv/vboxdrv.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_install vboxnetflt/vboxnetflt.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_install vboxnetadp/vboxnetadp.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_install vboxpci/vboxpci.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_installudev
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installmodules
dh_installdeb
dh_gencontrol -- -v4.1.18-dfsg-2.1+3.7-12
dh_md5sums
dh_builddeb --destdir=/usr/src
dpkg-deb: building package `virtualbox-modules-3.7-3.slh.2-aptosid-amd64' in `/usr/src/virtualbox-modules-3.7-3.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-12_amd64.deb'.
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
kmk  -f debian/rules kdist_clean
kmk -C vboxdrv clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxdrv SRCROOT=/usr/src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetflt SRCROOT=/usr/src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetadp SRCROOT=/usr/src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxpci SRCROOT=/usr/src/modules/virtualbox/vboxpci -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/modules/virtualbox/vboxpci'
dh_clean
kmk - --jobserver-fds=3,4 -j -f debian/rules clean
kmk[1]: Entering directory `/usr/src/modules/virtualbox'
kmk -C vboxdrv clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxdrv SRCROOT=/usr/src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetflt SRCROOT=/usr/src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxnetadp SRCROOT=/usr/src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[2]: Entering directory `/usr/src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/usr/src/modules/virtualbox/vboxpci SRCROOT=/usr/src/modules/virtualbox/vboxpci -C /lib/modules/3.7-1.slh.1-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-1.slh.1-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/modules/virtualbox/vboxpci'
dh_clean
kmk[1]: Leaving directory `/usr/src/modules/virtualbox'
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: I still can  PostPosted: 27.01.2013, 19:42



Joined: 2010-08-25
Posts: 736

Status: Offline
virtualbox-source:
      Code:
$ mkdir -p /tmp/pkg/
$ cd /tmp/pkg/

$ LANG= m-a --kvers-list $(uname -r) --kernel-dir /usr/src/linux-headers-$(uname -r)/ --userdir /tmp/pkg/ --text-mode build virtualbox-source
Extracting the package tarball, /usr/src/virtualbox.tar.bz2, please wait...
kmk -C vboxdrv clean
kmk: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk  -f debian/rules clean
kmk -C vboxdrv clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk  -f debian/rules kdist_clean kdist_config binary-modules
kmk -C vboxdrv clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk - --jobserver-fds=3,4 -j -f debian/rules clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox'
kmk -C vboxdrv clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox'
kmk: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/3.7-4.slh.2-aptosid-amd64/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##/3.7-4.slh.2-aptosid-amd64/g ;s/#KVERS#/3.7-4.slh.2-aptosid-amd64/g ; s/_KVERS_/3.7-4.slh.2-aptosid-amd64/g ; s/##KDREV##/3.7-14/g ; s/#KDREV#/3.7-14/g ; s/_KDREV_/3.7-14/g  ' <templ> ${templ%.modules.in}; \
  done
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
# Build the module
kmk -C /usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64/ M=/tmp/pkg/usr_src/modules/virtualbox
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox/built-in.o
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/built-in.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/SUPDrv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/SUPDrvSem.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/alloc-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/initterm-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/memobj-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/mp-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/mpnotification-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/process-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/semevent-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/semeventmulti-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/semfastmutex-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/semmutex-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/spinlock-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/thread-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/thread2-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/time-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/timer-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/generic/semspinmutex-r0drv-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/alloc/alloc.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/checksum/crc32.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/checksum/ipv4.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/checksum/ipv6.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/err/RTErrConvertFromErrno.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/err/RTErrConvertToErrno.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/log/log.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/log/logellipsis.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/log/logrel.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/log/logrelellipsis.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/log/logcom.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/log/logformat.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg1Weak.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2Add.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2AddWeak.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2AddWeakV.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2Weak.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/RTAssertMsg2WeakV.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/assert.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/handletable.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/handletablectx.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/misc/thread.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/RTStrCopyP.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strformat.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strformatrt.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strformattype.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strprintf.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strtonum.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/table/avlpv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/time/time.o
/tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strtonum.c: In function 'VBoxHost_RTStrConvertHexBytes':
/tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strtonum.c:977:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/string/strtonum.c:996:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/r0drv/linux/RTLogWriteDebugger-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTAssertShouldPanic-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTLogWriteStdErr-stub-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTLogWriteStdOut-stub-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTLogWriteUser-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTMpGetArraySize-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTSemEventWait-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTSemEventWaitNoResume-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTSemEventMultiWait-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTSemEventMultiWaitNoResume-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/RTTimerCreate-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/errvars-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/mppresent-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/generic/uuid-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/VBox/log-vbox.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/common/alloc/heapsimple.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/vboxdrv.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox/vboxnetadp/built-in.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetadp/linux/VBoxNetAdp-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetadp/VBoxNetAdp.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetadp/vboxnetadp.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/built-in.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/linux/VBoxNetFlt-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/VBoxNetFlt.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/SUPR0IdcClient.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/SUPR0IdcClientComponent.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/linux/SUPR0IdcClient-linux.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/vboxnetflt.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox/vboxpci/built-in.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxpci/linux/VBoxPci-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxpci/VBoxPci.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxpci/SUPR0IdcClient.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxpci/SUPR0IdcClientComponent.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxpci/linux/SUPR0IdcClient-linux.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxpci/vboxpci.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  Building modules, stage 2.
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  MODPOST 4 modules
  CC      /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/vboxdrv.mod.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxdrv/vboxdrv.ko
  CC      /tmp/pkg/usr_src/modules/virtualbox/vboxnetadp/vboxnetadp.mod.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetadp/vboxnetadp.ko
  CC      /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/vboxnetflt.mod.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxnetflt/vboxnetflt.ko
  CC      /tmp/pkg/usr_src/modules/virtualbox/vboxpci/vboxpci.mod.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox/vboxpci/vboxpci.ko
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
# Install the module
dh_install vboxdrv/vboxdrv.ko /lib/modules/3.7-4.slh.2-aptosid-amd64/misc/
dh_install vboxnetflt/vboxnetflt.ko /lib/modules/3.7-4.slh.2-aptosid-amd64/misc/
dh_install vboxnetadp/vboxnetadp.ko /lib/modules/3.7-4.slh.2-aptosid-amd64/misc/
dh_install vboxpci/vboxpci.ko /lib/modules/3.7-4.slh.2-aptosid-amd64/misc/
dh_installudev
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installmodules
dh_installdeb
dh_gencontrol -- -v4.1.18-dfsg-2.1+3.7-14
dh_md5sums
dh_builddeb --destdir=/tmp/pkg
dpkg-deb: building package `virtualbox-modules-3.7-4.slh.2-aptosid-amd64' in `/tmp/pkg/virtualbox-modules-3.7-4.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-14_amd64.deb'.
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
kmk  -f debian/rules kdist_clean
kmk -C vboxdrv clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk - --jobserver-fds=3,4 -j -f debian/rules clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox'
kmk -C vboxdrv clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/pkg/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/pkg/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-4.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox'

$ ls -1 *.deb
virtualbox-modules-3.7-4.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-14_amd64.deb

# LANG= dpkg -i virtualbox-modules-3.7-4.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-14_amd64.deb
Selecting previously unselected package virtualbox-modules-3.7-4.slh.2-aptosid-amd64.
(Reading database ... 161814 files and directories currently installed.)
Unpacking virtualbox-modules-3.7-4.slh.2-aptosid-amd64 (from virtualbox-modules-3.7-4.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-14_amd64.deb) ...
Setting up virtualbox-modules-3.7-4.slh.2-aptosid-amd64 (4.1.18-dfsg-2.1+3.7-14) ...
[ ok ] Stopping VirtualBox kernel modules.
[ ok ] Starting VirtualBox kernel modules.

$ dmesg | tail -n6
[  189.236307] vboxdrv: Found 2 processor cores.
[  189.237509] VBoxDrv: dbg - g_abExecMemory=ffffffffa0553f40
[  189.237542] vboxdrv: fAsync=1 offMin=0x2996 offMax=0x2996
[  189.237689] vboxdrv: TSC mode is 'asynchronous', kernel timer mode is 'normal'.
[  189.237692] vboxdrv: Successfully loaded version 4.1.18_Debian (interface 0x00190000).
[  189.295968] vboxpci: IOMMU not found (not registered)
q.e.d.
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: I still can  PostPosted: 27.01.2013, 19:44



Joined: 2010-08-25
Posts: 736

Status: Offline
virtualbox-guest-source:
      Code:
$ mkdir -p /tmp/pkg/
$ cd /tmp/pkg/

$ LANG= m-a --kvers-list $(uname -r) --kernel-dir /usr/src/linux-headers-$(uname -r)/ --userdir /tmp/pkg/ --text-mode build virtualbox-guest-source
Extracting the package tarball, /usr/src/virtualbox-guest.tar.bz2, please wait...
kmk -C vboxguest clean
kmk: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
for f in . linux r0drv generic r0drv/linux r0drv/generic VBox common/alloc common/err common/log common/math/gcc common/misc common/string common/time; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxguest* .tmp_ver* vboxguest.* Modules.symvers modules.order
kmk: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
kmk -C vboxsf clean
kmk: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order
kmk: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
kmk -C vboxvideo clean
kmk: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxvideo* .tmp_ver* vboxvideo.* Modules.symvers modules.order
kmk: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
dh_clean
kmk  -f debian/rules clean
kmk -C vboxguest clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
for f in . linux r0drv generic r0drv/linux r0drv/generic VBox common/alloc common/err common/log common/math/gcc common/misc common/string common/time; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxguest* .tmp_ver* vboxguest.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
kmk -C vboxsf clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
kmk -C vboxvideo clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxvideo* .tmp_ver* vboxvideo.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
dh_clean
kmk  -f debian/rules kdist_clean kdist_config binary-modules
kmk -C vboxguest clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
for f in . linux r0drv generic r0drv/linux r0drv/generic VBox common/alloc common/err common/log common/math/gcc common/misc common/string common/time; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxguest* .tmp_ver* vboxguest.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
kmk -C vboxsf clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
kmk -C vboxvideo clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxvideo* .tmp_ver* vboxvideo.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
dh_clean
kmk - --jobserver-fds=3,4 -j -f debian/rules clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest'
kmk -C vboxguest clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
for f in . linux r0drv generic r0drv/linux r0drv/generic VBox common/alloc common/err common/log common/math/gcc common/misc common/string common/time; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxguest* .tmp_ver* vboxguest.* Modules.symvers modules.order
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
kmk -C vboxsf clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
kmk -C vboxvideo clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxvideo* .tmp_ver* vboxvideo.* Modules.symvers modules.order
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
dh_clean
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest'
kmk: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/3.7-4.slh.2-aptosid-amd64/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##/3.7-4.slh.2-aptosid-amd64/g ;s/#KVERS#/3.7-4.slh.2-aptosid-amd64/g ; s/_KVERS_/3.7-4.slh.2-aptosid-amd64/g ; s/##KDREV##/3.7-14/g ; s/#KDREV#/3.7-14/g ; s/_KDREV_/3.7-14/g  ' <templ> ${templ%.modules.in}; \
  done
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
# Build the modules
kmk -C /usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64/ M=/tmp/pkg/usr_src/modules/virtualbox-guest
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox-guest/built-in.o
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/built-in.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VBoxGuest-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VBoxGuest.o
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VBoxGuest.c: In function 'VBoxGuestCommonIOCtl':
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VBoxGuest.c:2480:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VBoxGuest2.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/GenericRequest.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/HGCMInternal.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/Init.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/PhysHeap.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/SysHlp.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VMMDev.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/alloc-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/initterm-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/memobj-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/mpnotification-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/powernotification-r0drv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/assert-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/initterm-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/memobj-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/memuserkernel-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/mp-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/mpnotification-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/process-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/semevent-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/semeventmulti-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/semfastmutex-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/spinlock-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/thread-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/thread2-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/time-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/linux/RTLogWriteDebugger-r0drv-linux.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/r0drv/generic/semspinmutex-r0drv-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/alloc/alloc.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/err/RTErrConvertFromErrno.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/err/RTErrConvertToErrno.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/log/log.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/log/logellipsis.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/log/logrel.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/log/logrelellipsis.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/log/logcom.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/log/logformat.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/RTAssertMsg1Weak.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/RTAssertMsg2.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/RTAssertMsg2Add.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/RTAssertMsg2AddWeak.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/RTAssertMsg2AddWeakV.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/RTAssertMsg2Weak.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/RTAssertMsg2WeakV.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/assert.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/misc/thread.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/RTStrCopy.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/RTStrCopyP.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strformat.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strformatrt.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strformattype.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strprintf.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strtonum.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/table/avlpv.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/time/time.o
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strtonum.c: In function 'VBoxGuest_RTStrConvertHexBytes':
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strtonum.c:977:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/string/strtonum.c:996:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/RTAssertShouldPanic-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/RTLogWriteStdErr-stub-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/RTLogWriteStdOut-stub-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/RTSemEventWait-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/RTSemEventWaitNoResume-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/RTSemEventMultiWait-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/RTSemEventMultiWaitNoResume-2-ex-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/generic/errvars-generic.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VBox/log-vbox.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/VBox/logbackdoor.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/common/alloc/heapsimple.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/vboxguest.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/built-in.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/vfsmod.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/dirops.o
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/dirops.c:831:5: warning: initialization from incompatible pointer type [enabled by default]
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/dirops.c:831:5: warning: (near initialization for 'sf_dir_iops.lookup') [enabled by default]
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/dirops.c:832:5: warning: initialization from incompatible pointer type [enabled by default]
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/dirops.c:832:5: warning: (near initialization for 'sf_dir_iops.create') [enabled by default]
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/lnkops.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/regops.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/utils.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/GenericRequest.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/SysHlp.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/PhysHeap.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/Init.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/VMMDev.o
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/utils.c: In function 'sf_nlscpy':
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/utils.c:582:13: warning: passing argument 3 of 'utf8_to_utf32' from incompatible pointer type [enabled by default]
In file included from /tmp/pkg/usr_src/modules/virtualbox-guest/r0drv/linux/the-linux-kernel.h:117:0,
                 from /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/vfsmod.h:21,
                 from /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/utils.c:20:
include/linux/nls.h:53:12: note: expected 'unicode_t *' but argument is of type 'wchar_t *'
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/utils.c: At top level:
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/utils.c:848:1: warning: initialization from incompatible pointer type [enabled by default]
/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/utils.c:848:1: warning: (near initialization for 'sf_dentry_ops.d_revalidate') [enabled by default]
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/HGCM.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/VBoxGuestR0LibSharedFolders.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/VbglR0CanUsePhysPageList.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/vboxsf.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  LD      /tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo/built-in.o
  CC [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo/vboxvideo_drm.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo/vboxvideo.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  Building modules, stage 2.
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
  MODPOST 3 modules
  CC      /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/vboxguest.mod.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest/vboxguest.ko
  CC      /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/vboxsf.mod.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf/vboxsf.ko
  CC      /tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo/vboxvideo.mod.o
  LD [M]  /tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo/vboxvideo.ko
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-4.slh.2-aptosid-amd64'
# Install the modules
dh_install vboxguest/vboxguest.ko /lib/modules/3.7-4.slh.2-aptosid-amd64/misc/
dh_install vboxsf/vboxsf.ko /lib/modules/3.7-4.slh.2-aptosid-amd64/misc/
dh_install vboxvideo/vboxvideo.ko /lib/modules/3.7-4.slh.2-aptosid-amd64/misc/
dh_installudev
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installmodules
dh_installdeb
dh_gencontrol -- -v4.1.18-dfsg-2.1+3.7-14
dh_md5sums
dh_builddeb --destdir=/tmp/pkg
dpkg-deb: building package `virtualbox-guest-modules-3.7-4.slh.2-aptosid-amd64' in `/tmp/pkg/virtualbox-guest-modules-3.7-4.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-14_amd64.deb'.
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
kmk  -f debian/rules kdist_clean
kmk -C vboxguest clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
for f in . linux r0drv generic r0drv/linux r0drv/generic VBox common/alloc common/err common/log common/math/gcc common/misc common/string common/time; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxguest* .tmp_ver* vboxguest.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
kmk -C vboxsf clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
kmk -C vboxvideo clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxvideo* .tmp_ver* vboxvideo.* Modules.symvers modules.order
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
dh_clean
kmk - --jobserver-fds=3,4 -j -f debian/rules clean
kmk[1]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest'
kmk -C vboxguest clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
for f in . linux r0drv generic r0drv/linux r0drv/generic VBox common/alloc common/err common/log common/math/gcc common/misc common/string common/time; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxguest* .tmp_ver* vboxguest.* Modules.symvers modules.order
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxguest'
kmk -C vboxsf clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxsf* .tmp_ver* vboxsf.* Modules.symvers modules.order
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxsf'
kmk -C vboxvideo clean
kmk[2]: Entering directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
for f in . linux r0drv r0drv/linux; do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxvideo* .tmp_ver* vboxvideo.* Modules.symvers modules.order
kmk[2]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest/vboxvideo'
dh_clean
kmk[1]: Leaving directory `/tmp/pkg/usr_src/modules/virtualbox-guest'

$ ls -1 *.deb
virtualbox-guest-modules-3.7-4.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-14_amd64.deb
q.e.d.
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: I still can  PostPosted: 03.02.2013, 18:21



Joined: 2010-09-19
Posts: 165

Status: Offline
The --userdir /tmp/pkg/ makes it work.

I also made it work with
      Code:
KERNELDIRS=/usr/src/linux-headers-$(uname -r)/ 
m-a  build -t virtualbox-source -l $(uname -r) -k /usr/src/linux-headers-$(uname -r)


I like your way better
Thank you, slh

P.S : I still can't make it to build for another kernel

      Code:
LANG= m-a --kvers-list 3.7-3.slh.2-aptosid-amd64 --kernel-dir /usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64/ --userdir /tmp/1 --text-mode build virtualbox-source  -f ; uname -r
Extracting the package tarball, /usr/src/virtualbox.tar.bz2, please wait...
kmk -C vboxdrv clean
kmk: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk  -f debian/rules clean
kmk -C vboxdrv clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk  -f debian/rules kdist_clean kdist_config binary-modules
kmk -C vboxdrv clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk - --jobserver-fds=4,5 -j -f debian/rules clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox'
kmk -C vboxdrv clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox'
kmk: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/3.7-3.slh.2-aptosid-amd64/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##/3.7-3.slh.2-aptosid-amd64/g ;s/#KVERS#/3.7-3.slh.2-aptosid-amd64/g ; s/_KVERS_/3.7-3.slh.2-aptosid-amd64/g ; s/##KDREV##/3.7-12/g ; s/#KDREV#/3.7-12/g ; s/_KDREV_/3.7-12/g  ' <templ> ${templ%.modules.in}; \
  done
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
# Build the module
kmk -C /usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64/ M=/tmp/1/usr_src/modules/virtualbox
kmk[1]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /tmp/1/usr_src/modules/virtualbox/vboxdrv/built-in.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxdrv/SUPDrv.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxdrv/SUPDrvSem.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxdrv/vboxdrv.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /tmp/1/usr_src/modules/virtualbox/vboxnetadp/built-in.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetadp/linux/VBoxNetAdp-linux.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetadp/VBoxNetAdp.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetadp/vboxnetadp.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /tmp/1/usr_src/modules/virtualbox/vboxnetflt/built-in.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetflt/linux/VBoxNetFlt-linux.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetflt/VBoxNetFlt.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetflt/SUPR0IdcClient.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetflt/SUPR0IdcClientComponent.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetflt/linux/SUPR0IdcClient-linux.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetflt/vboxnetflt.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  LD      /tmp/1/usr_src/modules/virtualbox/vboxpci/built-in.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxpci/linux/VBoxPci-linux.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxpci/VBoxPci.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxpci/SUPR0IdcClient.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxpci/SUPR0IdcClientComponent.o
  CC [M]  /tmp/1/usr_src/modules/virtualbox/vboxpci/linux/SUPR0IdcClient-linux.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxpci/vboxpci.o
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  Building modules, stage 2.
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
  MODPOST 4 modules
  CC      /tmp/1/usr_src/modules/virtualbox/vboxdrv/vboxdrv.mod.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxdrv/vboxdrv.ko
  CC      /tmp/1/usr_src/modules/virtualbox/vboxnetadp/vboxnetadp.mod.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetadp/vboxnetadp.ko
  CC      /tmp/1/usr_src/modules/virtualbox/vboxnetflt/vboxnetflt.mod.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxnetflt/vboxnetflt.ko
  CC      /tmp/1/usr_src/modules/virtualbox/vboxpci/vboxpci.mod.o
  LD [M]  /tmp/1/usr_src/modules/virtualbox/vboxpci/vboxpci.ko
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/usr/src/linux-headers-3.7-3.slh.2-aptosid-amd64'
# Install the module
dh_install vboxdrv/vboxdrv.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_install vboxnetflt/vboxnetflt.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_install vboxnetadp/vboxnetadp.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_install vboxpci/vboxpci.ko /lib/modules/3.7-3.slh.2-aptosid-amd64/misc/
dh_installudev
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installmodules
dh_installdeb
dh_gencontrol -- -v4.1.18-dfsg-2.1+3.7-12
dh_md5sums
dh_builddeb --destdir=/tmp/1
dpkg-deb: building package `virtualbox-modules-3.7-3.slh.2-aptosid-amd64' in `/tmp/1/virtualbox-modules-3.7-3.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-12_amd64.deb'.
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
kmk  -f debian/rules kdist_clean
kmk -C vboxdrv clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[2]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk - --jobserver-fds=4,5 -j -f debian/rules clean
kmk[1]: Entering directory `/tmp/1/usr_src/modules/virtualbox'
kmk -C vboxdrv clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxdrv SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxdrv -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxdrv'
kmk -C vboxnetflt clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetflt SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetflt -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetflt'
kmk -C vboxnetadp clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxnetadp SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxnetadp -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxnetadp'
kmk -C vboxpci clean
kmk[2]: Entering directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
kmk KBUILD_VERBOSE= SUBDIRS=/tmp/1/usr_src/modules/virtualbox/vboxpci SRCROOT=/tmp/1/usr_src/modules/virtualbox/vboxpci -C /lib/modules/3.7-5.slh.2-aptosid-amd64/build clean
kmk[3]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Entering directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[4]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[3]: Leaving directory `/usr/src/linux-headers-3.7-5.slh.2-aptosid-amd64'
kmk[2]: Leaving directory `/tmp/1/usr_src/modules/virtualbox/vboxpci'
dh_clean
kmk[1]: Leaving directory `/tmp/1/usr_src/modules/virtualbox'
3.7-5.slh.2-aptosid-amd64


      Code:
[[ -n $KERNELDIRS ]] && echo 1 || echo 0
0


I does create a virtualbox-modules-3.7-3.slh.2-aptosid-amd64_4.1.18-dfsg-2.1+3.7-12_amd64.deb but I see lots of linux-headers-3.7-5.slh.2-aptosid-amd64 references
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio