954,132 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

version.h: No such file

Hello everyone. I was trying to compile a Linux kernel module yesterday called vmmon (which you need to make VMware work on Linux) for the 2.6.16.7 kernel. First I installed a GCC package made for my distro, Puppy Linux 2.00. The package turned out to be for a slightly different version of the distro (2.02), so it didn't have the correct header files in it. So, I picked up the appropriate source code from kernel.org and put it in

/lib/modules/linux-2.6.16.7/include


The VMware install script tries to build the module for you, but after I tell it where the kernel header files are it comes up with:

/lib/modules/linux-2.6.16.7 does contain kernel header files, but it does not contain version.h.  This may indicate you have not built the kernel.
 
Unable to build the module.


So I need to know; what is inside this version.h file and how do I create one. Any help would be appriciated.

Steven.

Mushy-pea
Posting Whiz in Training
275 posts since Jun 2006
Reputation Points: 47
Solved Threads: 1
 

This has nothing to do with C or C++. Please direct your question to a Linux forum.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: