#14081 closed defect (fixed)
5.0.0_BETA2 cannot build dkms kernel modules with 4.1-rc1 kernel
回報者: | colorprint | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 4.3.26 |
關鍵字: | 副本: | ||
Guest type: | other | Host type: | other |
描述
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'
更動歷史 (2)
comment:2 10 年 前 由 編輯
狀態: | new → closed |
---|---|
處理結果: | → fixed |
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