Opened 6 years ago
Last modified 6 years ago
#18183 new defect
vbox-dkms modules (vboxnetadp vboxdrv) compilation error against kernel 4.20.0-rc6 -> fixed after (not in) 5.2.22
Reported by: | Tyler A | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.2.22 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
I am on ArchLinux and decided to to use the mainline kernel ie "vanilla" with mainline-headers. That is currently 4.20.0-rc6-mainline and noticed these compilation failures:
$ cat /var/lib/dkms/vboxhost/5.2.22_OSE/build/make.log DKMS make.log for vboxhost-5.2.22_OSE for kernel 4.20.0-rc6-mainline (x86_64) Sat Dec 15 17:29:02 ACDT 2018 make: Entering directory '/usr/lib/modules/4.20.0-rc6-mainline/build' CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetflt/VBoxNetFlt.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetadp/VBoxNetAdp.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetflt/SUPR0IdcClient.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/linux/SUPDrv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxpci/linux/VBoxPci-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxpci/VBoxPci.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetflt/SUPR0IdcClientComponent.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetflt/linux/SUPR0IdcClient-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxpci/SUPR0IdcClient.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxpci/SUPR0IdcClientComponent.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxpci/linux/SUPR0IdcClient-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/SUPDrv.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/SUPDrvGip.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/SUPDrvSem.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/SUPDrvTracer.o /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.c:132:6: error: ‘const struct ethtool_ops’ has no member named ‘get_settings’; did you mean ‘get_strings’? .get_settings = vboxNetAdpEthGetSettings, ^~~~~~~~~~~~ get_strings /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.c:132:27: error: initialization of ‘int (*)(struct net_device *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_cmd *)’ [-Werror=incompatible-pointer-types] .get_settings = vboxNetAdpEthGetSettings, ^~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.c:132:27: note: (near initialization for ‘gEthToolOpsVBoxNetAdp.get_regs_len’) cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetadp/linux/VBoxNetAdp-linux.o] Error 1 make[1]: *** [scripts/Makefile.build:516: /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetadp] Error 2 make[1]: *** Waiting for unfinished jobs.... CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/SUPLibAll.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/alloc-r0drv.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/initterm-r0drv.o LD [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxpci/vboxpci.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/memobj-r0drv.o LD [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxnetflt/vboxnetflt.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/mpnotification-r0drv.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/powernotification-r0drv.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/.tmp_SUPDrvTracer.o: warning: objtool: .text+0x7: indirect jump found in RETPOLINE build CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/mp-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/mpnotification-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/process-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/rtStrFormatKernelAddress-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/semevent-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/semeventmulti-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/semfastmutex-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/semmutex-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/spinlock-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/thread-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/thread2-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/threadctxhooks-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/time-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/timer-r0drv-linux.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/generic/semspinmutex-r0drv-generic.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/common/alloc/alloc.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/common/checksum/crc32.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/common/checksum/ipv4.o CC [M] /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/common/checksum/ipv6.o /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/time-r0drv-linux.c: In function ‘VBoxHost_RTTimeNow’: /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/time-r0drv-linux.c:175:5: error: implicit declaration of function ‘ktime_get_real_ts’; did you mean ‘ktime_get_real_ns’? [-Werror=implicit-function-declaration] ktime_get_real_ts(&Ts); ^~~~~~~~~~~~~~~~~ ktime_get_real_ns cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv/r0drv/linux/time-r0drv-linux.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [scripts/Makefile.build:516: /var/lib/dkms/vboxhost/5.2.22_OSE/build/vboxdrv] Error 2 make: *** [Makefile:1565: _module_/var/lib/dkms/vboxhost/5.2.22_OSE/build] Error 2 make: Leaving directory '/usr/lib/modules/4.20.0-rc6-mainline/build'
Change History (3)
comment:2 by , 6 years ago
Can confirm that the current test version 5.2.23 r127495
solves this issue and this ticket should be closed after the next stable version comes out.
comment:3 by , 6 years ago
Summary: | vbox-dkms modules (vboxnetadp vboxdrv) compilation error against kernel 4.20.0-rc6 → vbox-dkms modules (vboxnetadp vboxdrv) compilation error against kernel 4.20.0-rc6 -> fixed after (not in) 5.2.22 |
---|
Note:
See TracTickets
for help on using tickets.
Looks like this has already been discussed: