Opened 8 years ago

Closed 8 years ago

#15327 closed defect (fixed)

Compatibility with 4.5 Kernel => Fixed in SVN

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

Description (last modified by Frank Mehnert)

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/ 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:

The appended patch fixes compilation on linux 4.5

Attachments (1)

vbox-patch-for-kernel-4.5.diff (418 bytes ) - added by Salz 8 years ago.

Download all attachments as: .zip

Change History (4)

by Salz, 8 years ago

comment:1 by Frank Mehnert, 8 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 8 years ago

Summary: Compatibility with 4.5 KernelCompatibility with 4.5 Kernel => Fixed in SVN

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

comment:3 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in 5.0.20.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use