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

Patrick Winnertz winnie at debian.org
Sat Sep 20 17:01:23 UTC 2008


gregor herrmann wrote on Saturday 20 September 2008 at 18:35:00:
> 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:
Well.. then on_each_cpu has changed from 2.6.26 to 2.6.27-rc6 because 
asm/semaphore.h is deprecated for quite some time. (It was only a onliner 
with: #include <linux/semaphore.h>

I'll have a look on it.

Greetings
Winnie

-- 
 . '' ` .   Patrick Winnertz <winnie at debian.org>
:  :'   :   proud Debian developer, author, administrator, and user
`. `'`     http://people.debian.org/~winnie - http://www.der-winnie.de
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20080920/1a9db180/attachment.pgp 


More information about the Pkg-virtualbox-devel mailing list