asm/semaphore.h doesn't exists.
Created attachment 163537 [details, diff] virtualbox-modules_2.6.27.patch Remove #include <asm/semaphore.h>. It will be include for older kernels without this line.
Created attachment 163538 [details] virtualbox-modules-1.6.4-r1.ebuild Modified ebuild what uses the patch.
is this pushed upstream already?
(In reply to comment #3) > is this pushed upstream already? > Not
(In reply to comment #4) > (In reply to comment #3) > > is this pushed upstream already? > > > > Not > Maybe this: http://www.virtualbox.org/ticket/1962
That's not the only incompatibility with kernel-2.6.27. Interface for smp_call_func changed as well. Updated ebuild with patch are in my overlay: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=tree;f=app-emulation/virtualbox-modules;hb=HEAD
Upstream seems unwilling to adress this in 1.6.4 http://www.virtualbox.org/ticket/1962 Fixed in future 1.6.6 versions though