On Jul 31, 2008, at 12:40 PM, Bob Ewart wrote:
Hi Randall,
That was a problem with installing vmware on an openSUSE 11.0 system.
What Shawn is trying to do is to install openSUSE 11.0 under vmware which is already installed on 10.3.
I am having the same problem. I told it to go ahead and compile anyway. Then it came up with:
The path "/usr/src/linux/include" is a kernel header file directory, but it does not contain the file "linux/version.h" as expected...
and would not go beyond that.
I created a file /usr/src/linux/include/linux/version.h which had one line:
#define UTS_RELEASE "2.6.25.11-0.1-default"
where the 2.6... matched the output of 'uname -r'
The problem with the compiler number is that the output of: gcc -dumpversion is 4.3 whereas gcc --version shows 4.3.1 (prerelease) which is probably why they don't match.
vmware-config-tools.pl looks at 'gcc -dumpversion'
So just answer yes to the gcc version question.
Hi Bob, Thanks for the info. I added the version.h file and just answered 'yes' to the gcc bug. The next issue is the vmmemctl module. I'm going to compile the open-vm-tools and replace the vmware-tools modules with those. Here is the output of the original vmware-tools vmmemctl error: Extracting the sources of the vmmemctl module. Building the vmmemctl module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config10/vmmemctl-only' make -C /lib/modules/2.6.25.11-0.1-default/build/include/.. SUBDIRS= $PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.25.11-0.1-obj/x86_64/ default' make -C /usr/src/linux-2.6.25.11-0.1 O=/usr/src/linux-2.6.25.11-0.1- obj/x86_64/default/. modules CC [M] /tmp/vmware-config10/vmmemctl-only/os.o In file included from /tmp/vmware-config10/vmmemctl-only/os.c:40: /tmp/vmware-config10/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /tmp/vmware-config10/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined In file included from /tmp/vmware-config10/vmmemctl-only/os.c:40: /tmp/vmware-config10/vmmemctl-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’ /usr/src/linux-2.6.25.11-0.1/include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here make[4]: *** [/tmp/vmware-config10/vmmemctl-only/os.o] Error 1 make[3]: *** [_module_/tmp/vmware-config10/vmmemctl-only] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25.11-0.1-obj/x86_64/ default' make: *** [vmmemctl.ko] Error 2 make: Leaving directory `/tmp/vmware-config10/vmmemctl-only' Unable to build the vmmemctl module. The memory manager driver (vmmemctl module) is used by VMware host software to efficiently reclaim memory from a virtual machine. If the driver is not available, VMware host software may instead need to swap guest memory to disk, which may reduce performance. The rest of the software provided by VMware Tools is designed to work independently of this feature. If you want the memory management feature, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution's installation CD. [ Press Enter key to continue ] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org