Hi Frank

>thanks for the heads-up. In my opinion this is a bug in the Yakkety

>Linux kernel headers package (ethtool.h should include the headers it
>depends on itself) but I applied the workaround you proposed.


not just yakkety, but every linux 4.4/4.6 I guess :)

anyway, I have a locally cloned git kernel repo, I saw it, and I saw this code
#ifndef __KERNEL__
#include <limits.h> /* for INT_MAX */
#endif

of course I didn't check the yakkety source, and indeed this was a kernel bug
and fixed in a later kernel release
(not checking git log, made in myself the assumption that it was a virtualbox 
bug, sorry
for that)



git tag --contains 14e2037902d65213842b4e40305ff54a64abbcb6
v4.6
v4.6-rc1
v4.6-rc2
v4.6-rc3
v4.6-rc4
v4.6-rc5
v4.6-rc6
v4.6-rc7
v4.7-rc1
v4.7-rc2
v4.7-rc3
v4.7-rc4

so, maybe you want to do something like
if kernel <=4.6
include
endif

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=14e2037902d65213842b4e40305ff54a64abbcb6


Thanks for fixing

Gianfranco
_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to