VirtualBox

Ticket #15327 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months ago

Compatibility with 4.5 Kernel => Fixed in SVN

Reported by: Salz Owned by:
Priority: major Component: host support
Version: VirtualBox 5.0.18 Keywords:
Cc: Guest type: other
Host type: Linux

Description (last modified by frank) (diff)

Compiling the host modules fails if CONFIG_NET_CLS_ACT is set with:

  CC [M]  /var/lib/dkms/virtualbox/5.0.18/build/vboxnetflt/linux/VBoxNetFlt-linux.o
In file included from include/linux/filter.h:16:0,
                 from include/net/sock.h:64,
                 from include/linux/tcp.h:22,
                 from include/linux/ipv6.h:72,
                 from include/net/ipv6.h:16,
                 from /var/lib/dkms/virtualbox/5.0.18/build/vboxnetflt/linux/VBoxNetFlt-linux.c:38:
include/net/sch_generic.h: In function ‘skb_at_tc_ingress’:
include/net/sch_generic.h:413:9: error: implicit declaration of function ‘G_TC_AT’ [-Werror=implicit-function-declaration]
  return G_TC_AT(skb->tc_verd) & AT_INGRESS;
         ^
include/net/sch_generic.h:413:33: error: ‘AT_INGRESS’ undeclared (first use in this function)
  return G_TC_AT(skb->tc_verd) & AT_INGRESS;
                                 ^
include/net/sch_generic.h:413:33: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/virtualbox/5.0.18/build/vboxnetflt/linux/VBoxNetFlt-linux.o' failed

This is due to a change in the kernel headers in 4.5:  https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=fdc5432

The appended patch fixes compilation on linux 4.5

Attachments

vbox-patch-for-kernel-4.5.diff Download (418 bytes) - added by Salz 18 months ago.

Change History

Changed 18 months ago by Salz

comment:1 Changed 18 months ago by frank

  • Description modified (diff)

comment:2 Changed 18 months ago by frank

  • Summary changed from Compatibility with 4.5 Kernel to Compatibility with 4.5 Kernel => Fixed in SVN

Thanks! Fix will be part of the next 5.0 maintenance release.

comment:3 Changed 18 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 5.0.20.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use