Opened 8 years ago
Last modified 7 years ago
#16286 closed defect
Kernel module does not compile with Linux 4.9 — at Version 4
Reported by: | HarryE | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.10 |
Keywords: | Debian Kernel 4.9 | Cc: | |
Guest type: | all | Host type: | Linux |
Description (last modified by )
The kernel module is not compiling with Virtual Box 5.1.10 for Debian Jessie and Linux 4.9. I get the following compile error:
In file included from ./arch/x86/include/asm/acpi.h:33:0, from ./arch/x86/include/asm/fixmap.h:19, from ./arch/x86/include/asm/apic.h:11, from ./arch/x86/include/asm/smp.h:12, from ./arch/x86/include/asm/mmzone_64.h:10, from ./arch/x86/include/asm/mmzone.h:4, from ./include/linux/mmzone.h:889, from ./include/linux/gfp.h:5, from ./include/linux/slab.h:14, from /tmp/vbox.0/linux/../SUPDrvInternal.h:80, from /tmp/vbox.0/linux/SUPDrv-linux.c:32: ./arch/x86/include/asm/realmode.h: In function 'real_mode_size_needed': ./arch/x86/include/asm/realmode.h:66:2: error: implicit declaration of function 'ALIGN' [-Werror=implicit-function-declaration] return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE); ^
I included my kernel configuration.
Change History (6)
by , 8 years ago
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Interesting, with Kernel 4.9 I get:
/usr/src/linux> sudo make alldefconfig setting scripts/kconfig/conf --alldefconfig Kconfig # # configuration written to .config # scripts/kconfig/conf --silentoldconfig Kconfig make[1]: *** Keine Regel, um „setting“ zu erstellen. Schluss. Makefile:525: die Regel für Ziel „__build_one_by_one“ scheiterte make: *** [__build_one_by_one] Fehler 2
comment:4 by , 8 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
same here with Fedora 25, my deconfig (attached) and VirtualBox-5.1-5.1.10_112026_fedora25-1.x86_64.rpm
If I do a kernel compile with "make alldefconfig setting" vbox modules will be build without error !
there must be a setting in my defconfig that impedes the building of vbox modules with kernel 4.9. But which ?
my defconfig has been working during the whole 4.8-series