Hello Avi, On Thursday 23 August 2001 14:41, Avi Schwartz wrote:
This is a common problem that bit me before (should it go into the faq?). Apparently the version.h file has to be generated after you install a new version of the kernel sources. To generate the file I had to do the following, all this when logged in as root:
cd /usr/src/linux make cloneconfig make menuconfig
This did clear up the problem with the version.h file, however, a new error has shown up as it fails to find "modversions.h". Any further suggestions? Thanks, Dominic What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.4.4-4GB/build/include] Extracting the sources of the vmmon module. Building the vmmon module. make: Entering directory `/tmp/vmware-config7/vmmon-only' make[1]: Entering directory `/tmp/vmware-config7/vmmon-only' make[2]: Entering directory `/tmp/vmware-config7/vmmon-only/driver-2.4.4-4GB' In file included from .././linux/driver.c:19: /lib/modules/2.4.4-4GB/build/include/linux/module.h:21: warning: No include path in which to find linux/modversions.h make[2]: Leaving directory `/tmp/vmware-config7/vmmon-only/driver-2.4.4-4GB' make[2]: Entering directory `/tmp/vmware-config7/vmmon-only/driver-2.4.4-4GB' In file included from .././linux/driver.c:19: /lib/modules/2.4.4-4GB/build/include/linux/module.h:21: linux/modversions.h: No such file or directory make[2]: *** [driver.o] Error 1 make[2]: Leaving directory `/tmp/vmware-config7/vmmon-only/driver-2.4.4-4GB' make[1]: *** [driver] Error 2 make[1]: Leaving directory `/tmp/vmware-config7/vmmon-only' make: *** [auto-build] Error 2 make: Leaving directory `/tmp/vmware-config7/vmmon-only' Unable to build the vmmon module.