[Pkg-virtualbox-devel] Bug#499623: [virtualbox-ose-source] does not build against 2.6.27

gregor herrmann gregoa at debian.org
Sat Sep 20 16:35:00 UTC 2008


Package: virtualbox-ose-source
Version: 1.6.2-dfsg-6
Severity: normal

Today I built a 2.6.27-rc6 kernel (from the Debian kernel team's
trunk repository). Afterwards building virtualbox-ose-source with
module-assistant fails:

  In file included from /usr/src/modass/usr_src/modules/virtualbox-ose/linux/SUPDrv-linux.c:35:
  /usr/src/modass/usr_src/modules/virtualbox-ose/SUPDRV.h:99:30: error: asm/semaphore.h: No such file or directory
  kmk[2]: *** [/usr/src/modass/usr_src/modules/virtualbox-ose/linux/SUPDrv-linux.o] Error 1

Grepping through the kernel sources shows:
  ./linux-source-2.6.25/include/asm-$ARCH/semaphore.h
  ./linux-source-2.6.26/include/asm-$ARCH/semaphore.h
  ./linux-source-2.6.26/include/linux/semaphore.h
  ./linux-source-2.6.27-rc6/include/linux/semaphore.h

#include linux/semaphore.h instead of asm/semaphore.h leads to the
following errors:

  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198:74: error: macro "on_each_cpu" passed 4 arguments, but takes just 3
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c: In function 'RTMpOnAll':
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198: error: 'on_each_cpu' undeclared (first use in this function)
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198: error: (Each undeclared identifier is reported only once
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198: error: for each function it appears in.)
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:232:80: error: macro "smp_call_function" passed 4 arguments, but takes just 3
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c: In function 'RTMpOnOthers':
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:232: error: 'smp_call_function' undeclared (first use in this function)
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:285:102: error: macro "smp_call_function_single" passed 5 arguments, but takes just 4
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c: In function 'RTMpOnSpecific':
  /usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:285: error: 'smp_call_function_single' undeclared (first use in this function)
  kmk[2]: *** [/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.o] Error 1


Cheers,
gregor

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26.200809141904
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virtualbox-ose-source depends on:
ii  bzip2                   1.0.5-1          high-quality block-sorting file co
ii  debhelper               7.0.17           helper programs for debian/rules
ii  dpatch                  2.0.30           patch maintenance system for Debia
ii  kbuild                  1:0.1.3svn1610-1 framework for writing simple makef

Versions of packages virtualbox-ose-source recommends:
ii  module-assistant              0.10.11.0  tool to make module package creati

virtualbox-ose-source suggests no packages.

-- no debconf information

-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20080920/b63e70cc/attachment.pgp 


More information about the Pkg-virtualbox-devel mailing list