[elrepo] Empty include/linux/version.h

Mihai T. Lazarescu mtlagm at gmail.com
Sun Dec 30 15:06:04 EST 2012


I noticed that the comilation of VirtualBox drivers failed
due to an empty

    include/linux/version.h

in the 3.7.x series.  In 3.6.9 it has the normal contents.
This is the diff that fills it:

diff -rupN 3.7.1-1.el6.elrepo.i686-original/include/linux/version.h 3.7.1-1.el6.elrepo.i686/include/linux/version.h
--- 3.7.1-1.el6.elrepo.i686-original/include/linux/version.h    2012-12-19 00:54:56.000000000 +0200
+++ 3.7.1-1.el6.elrepo.i686/include/linux/version.h     2012-12-30 14:03:09.810016093 +0200
@@ -0,0 +1,2 @@
+#define LINUX_VERSION_CODE 198401
+#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

but I'm not sure whether this is a configuration/compilation
issue or upstream.

Either way, with this VistualBox 4.2.6 compiles and runs fine
on CentOS 6.3 with kernel 3.7.1.

Mihai


More information about the elrepo mailing list