You are not logged in.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-2.6.19-ARCH/include/The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.19-ARCH). Even if the module were to compile
successfully, it would not load into the running kernel.What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
What to do?
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Complain to vmware about their horribly broken scripts.
Or, search the forums quickly http://bbs.archlinux.org/viewtopic.php?t=27699
There's a patch linked in that thread.
Enjoy
James
Offline
The patch is ugly... I think a better way is:
echo "#define UTS_RELEASE "`uname -r`"" >> /usr/src/linux-`uname -r`/include/linux/version.h
The vmware-script is just checking against this '#define UTS_RELEASE' entry.
cat /usr/src/linux-`uname -r`/include/linux/version.h
#define LINUX_VERSION_CODE 132627
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#define UTS_RELEASE "2.6.19-ARCH"
Now everything is fine. Wiki is allready touched.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Hmmm....
So you're solving it by changing a kernel header to accommodate vmware? Personally, I'd do it the other way around - or do you think the kernel guys made a mistake there?
Offline
I don't think it is a mistake. The kernel guys themselves use this UTS-RELEASE variable. As far as I understand, this variable is used to flag user compiled kernels. debians and red hats kernel compilation scripts f.e. use this, too.
If, in debian or red had, I would compile and name my kernel 2.6.19-ARCH, their makros would create the UTS-RELEASE 2.6.19-ARCH entry.
Therefore, it might be a mistake in archlinux kernel package to not use this flag - but this is just my humble opinion.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Meanwhile, this entry has been moved to ustversion.h
http://www.ussg.iu.edu/hypermail/linux/ … /1644.html
It would be better to
- patch the vmware installer to check against utsversion.h
- use utsversion.h
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
don't know if this helps but I use anyany script....
Mr Green
Offline