Opened 10 years ago
Closed 10 years ago
#14081 closed defect (fixed)
5.0.0_BETA2 cannot build dkms kernel modules with 4.1-rc1 kernel
Reported by: | colorprint | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.26 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
CC [M] /var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxnetflt/SUPR0IdcClientComponent.o CC [M] /var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxnetflt/linux/SUPR0IdcClient-linux.o LD [M] /var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxnetflt/vboxnetflt.o LD /var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci/built-in.o CC [M] /var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci/linux/VBoxPci-linux.o
/var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci/linux/VBoxPci-linux.c: In function 'vboxPciOsDevRegisterIrqHandler': /var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci/linux/VBoxPci-linux.c:927:22: error: 'IRQF_DISABLED' undeclared (first use in this function)
IRQF_DISABLED, /* keep irqs disabled when calling the action handler */
/var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci/linux/VBoxPci-linux.c:927:22: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.build:258: recipe for target '/var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci/linux/VBoxPci-linux.o' failed make[2]: * var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci/linux/VBoxPci-linux.o Error 1 scripts/Makefile.build:403: recipe for target '/var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci' failed make[1]: * var/lib/dkms/vboxhost/5.0.0_BETA2/build/vboxpci Error 2 Makefile:1383: recipe for target '_module_/var/lib/dkms/vboxhost/5.0.0_BETA2/build' failed make: * [_module_/var/lib/dkms/vboxhost/5.0.0_BETA2/build] Error 2 make: Leaving directory '/usr/lib/modules/4.1.0-1-mainline/build'
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thank you for the report. Similar fix applied. Actually that code deserves more maintenance but right now there is no time for that. The fix will be part of the next 4.3.x maintenance release and also part of the next 5.0.x Beta. Please use the forum to report problems in Beta releases (I know, this time it made sense to use the bugtracker).
I bypassed this with a very simple modification to the file:
/usr/share/virtualbox/src/vboxhost/vboxpci/linux/VBoxPci-linux.c