vmware error

Hi all

When i installed vmware server this masseg is came

Your kernel was built with "gcc" version "4.3.1", while you are trying to use
"/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware
Server may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3" anyway? [no] yes


What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.25.16-0.1-xen/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.25.16-0.1-xen/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.25.16-0.1-obj/i386/xen'
make -C /usr/src/linux-2.6.25.16-0.1 O=/usr/src/linux-2.6.25.16-0.1-obj/i386/xen/. modules
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/hostif.o
/tmp/vmware-config2/vmmon-only/linux/hostif.c: In function ‘HostIF_APICBase’:
/tmp/vmware-config2/vmmon-only/linux/hostif.c:2477: error: ‘FIX_APIC_BASE’ undeclared (first use in this function)
/tmp/vmware-config2/vmmon-only/linux/hostif.c:2477: error: (Each undeclared identifier is reported only once
/tmp/vmware-config2/vmmon-only/linux/hostif.c:2477: error: for each function it appears in.)
/tmp/vmware-config2/vmmon-only/linux/hostif.c: In function ‘HostIF_APIC_ID’:
/tmp/vmware-config2/vmmon-only/linux/hostif.c:2529: error: ‘FIX_APIC_BASE’ undeclared (first use in this function)
make[4]: *** [/tmp/vmware-config2/vmmon-only/linux/hostif.o] Error 1
make[3]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.16-0.1-obj/i386/xen'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


I hope to find Help

Thank you

Did not face this problem one by

Hi linuxformat,

Haven’t tried it with 11.0, but I see you are running the Xen version kernel. And from what I’ve experienced running a Xen kernel and trying to compile or run VMWare modules is a no go.

First thing to do would be to reboot and select the normal linux kernel and retry the vmware-config script.

If that works you’ll have to switch between kernels to use one or the other (Xen or VMWare).

One last thing… which version of VMWare Server are you tring to install? You could have better luck with the latest version.

Hope that helps,
Wj

This script solution

vmware-any-any-update117

Thanks

Glad you got it working :wink:

Note that the vmware-any-any script is not needed with recent VMWare versions (vmserver 1.0.6 & vmware workstation 6.0.4 and higher)

Cheers,
Wj