You are not logged in.

#1 2010-10-25 23:04:14

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

More VMware trouble - can't build modules

After getting VMWare tools to reach the module-installation part, I've hit a snag. None of the modules will install, all failing for more or less the same error:

Building from scratch, can't use the AUR package. Anyone encountered this before?

Some funky symbols and spacing were added when I logged the session...strange things like a space in /usr/src/linux-2-6.35-ARCH/include for example...not sure why. Sorry about that.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:[71G done
   Unmounting HGFS shares:[71G done
   Guest filesystem driver:[71G done
None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.35-ARCH/build/include] /usr/src/linux-2.6.35-ARCh/  H/include

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config11/vmmemctl-only'
make -C /usr/src/linux-2.6.35-ARCH/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-2.6.35-ARCH'
  CC [M]  /tmp/vmware-config11/vmmemctl-only/backdoorGcc32.o
  CC [M]  /tmp/vmware-config11/vmmemctl-only/os.o
In file included from /tmp/vmware-config11/vmmemctl-only/driver-config.h:36:0,
                 from /tmp/vmware-config11/vmmemctl-only/os.c:38:
/tmp/vmware-config11/vmmemctl-only/compat_version.h:53:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:57:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:61:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:65:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:70:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:75:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:80:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:85:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:90:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:95:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:100:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:105:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:110:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_version.h:115:5: warning: "LINUX_VERSION_CODE" is not defined
In file included from /tmp/vmware-config11/vmmemctl-only/os.c:38:0:
/tmp/vmware-config11/vmmemctl-only/driver-config.h:66:5: warning: "LINUX_VERSION_CODE" is not defined
In file included from /tmp/vmware-config11/vmmemctl-only/os.c:42:0:
/tmp/vmware-config11/vmmemctl-only/compat_kernel.h:37:5: warning: "LINUX_VERSION_CODE" is not defined
In file included from /tmp/vmware-config11/vmmemctl-only/compat_kernel.h:43:0,
                 from /tmp/vmware-config11/vmmemctl-only/os.c:42:
/tmp/vmware-config11/vmmemctl-only/compat_completion.h:37:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_completion.h:71:7: warning: "LINUX_VERSION_CODE" is not defined
In file included from /tmp/vmware-config11/vmmemctl-only/compat_completion.h:160:0,
                 from /tmp/vmware-config11/vmmemctl-only/compat_kernel.h:43,
                 from /tmp/vmware-config11/vmmemctl-only/os.c:42:
/tmp/vmware-config11/vmmemctl-only/compat_semaphore.h:24:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vmware-config11/vmmemctl-only/compat_semaphore.h:25:30: fatal error: asm/semaphore.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/vmware-config11/vmmemctl-only/os.o] Error 1
make[1]: *** [_module_/tmp/vmware-config11/vmmemctl-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make: *** [vmmemctl.ko] Error 2
make: Leaving directory `/tmp/vmware-config11/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.

Last edited by Intrepidus (2010-10-25 23:05:17)

Offline

#2 2010-10-26 16:53:04

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

Re: More VMware trouble - can't build modules

Bumping myself. Haven't found any relevant information about this yet.

Offline

#3 2010-10-26 17:12:41

juan_sck
Member
Registered: 2007-03-06
Posts: 26

Re: More VMware trouble - can't build modules

have you installed vmware player, workstation, server...?

There's no vmware tools in AUR, not sure what are you installing.

try open-vm-tools from comunity.

Offline

Board footer

Powered by FluxBB