红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

Vmware on Debian 4.0 (Etch) Kernel 2.6.18-3

Vmware on Debian 4.0 (Etch) Kernel 2.6.18-3

Having problems compiling the vmmon kernel module on Debian 4.0 (Etch) using the 2.6.18-3 kernel?
Getting an error like: The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.18-3-amd64). Even if the module were to compile successfully, it would not load into the running kernel.

To fix this you need to copy the UTS_RELEASE information into the version.h file. Copy the line (or similar):
#define UTS_RELEASE "2.6.18-3-amd64"
from
/usr/src/linux-headers-2.6.18-3-amd64/include/linux/utsrelease.h
/usr/src/linux-headers-2.6.18-3-amd64/include/linux/version.h

The vmmon module will then compile successfully.

TOP

发新话题