Hi!
virtualbox-kernel failed to build with the new kernel 4.1.6 ...
I have included a patch to build against new kernel
if ! [ "${HARDENING:-yes}" = "yes" ]; then
sed -i "s/ -DVBOX_WITH_HARDENING//g" \
{vboxdrv,vboxnetadp,vboxnetflt,vboxpci}/Makefile
fi
+ patch -p1 < $CWD/VBoxPci-linux.c.patch
make KERN_DIR=${KERNELPATH}
Regards Panagiotis
--- virtualbox-kernel-4.3.24/vboxpci/linux/VBoxPci-linux.c.orig 2015-03-08 10:39:37.000000000 +0200
+++ virtualbox-kernel-4.3.24/vboxpci/linux/VBoxPci-linux.c 2015-09-08 12:31:57.061856000 +0300
@@ -885,7 +885,8 @@
#else
/* We don't allow interrupts sharing */
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) && \
+ LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 6)
IRQF_DISABLED, /* keep irqs disabled when calling the action handler */
# else
0,
_______________________________________________
SlackBuilds-users mailing list
[email protected]
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/