VMware Cloud Community
vancod
Contributor
Contributor

Cannot install VMCI module in RHEL 6 64-bit guest

I know it's not a supported guest yet.

All other modules build and install just fine - only this one is cranky....

-


Extracting the sources of the vmci module.

Building the vmci module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config0/vmci-only'

make -C /lib/modules/2.6.32-19.el6.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/kernels/2.6.32-19.el6.x86_64'

CC /tmp/vmware-config0/vmci-only/kernelStubsLinux.o

CC /tmp/vmware-config0/vmci-only/vmciDatagram.o

In file included from /tmp/vmware-config0/vmci-only/vmci_queue_pair.h:36,

from /tmp/vmware-config0/vmci-only/vmciGuestKernelAPI.h:43,

from /tmp/vmware-config0/vmci-only/vmciUtil.h:33,

from /tmp/vmware-config0/vmci-only/vmciDatagram.c:48:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

In file included from /tmp/vmware-config0/vmci-only/vmci_queue_pair.h:36,

from /tmp/vmware-config0/vmci-only/vmciGuestKernelAPI.h:43,

from /tmp/vmware-config0/vmci-only/vmciUtil.h:33,

from /tmp/vmware-config0/vmci-only/vmciDatagram.c:48:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

CC /tmp/vmware-config0/vmci-only/vmci_drv.o

In file included from /tmp/vmware-config0/vmci-only/vmci_queue_pair.h:36,

from /tmp/vmware-config0/vmci-only/vmciGuestKernelAPI.h:43,

from /tmp/vmware-config0/vmci-only/vmciDatagram.h:35,

from /tmp/vmware-config0/vmci-only/vmci_drv.c:49:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

CC /tmp/vmware-config0/vmci-only/vmciEvent.o

In file included from /tmp/vmware-config0/vmci-only/vmci_queue_pair.h:36,

from /tmp/vmware-config0/vmci-only/vmciGuestKernelAPI.h:43,

from /tmp/vmware-config0/vmci-only/vmciEvent.c:39:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

In file included from /tmp/vmware-config0/vmci-only/vmci_queue_pair.h:36,

from /tmp/vmware-config0/vmci-only/vmciGuestKernelAPI.h:43,

from /tmp/vmware-config0/vmci-only/vmciEvent.c:39:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

CC /tmp/vmware-config0/vmci-only/vmciGuestDs.o

In file included from /tmp/vmware-config0/vmci-only/vmciGuestDs.c:45:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

In file included from /tmp/vmware-config0/vmci-only/vmciGuestDs.c:45:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

CC /tmp/vmware-config0/vmci-only/vmciGuestKernelIf.o

CC /tmp/vmware-config0/vmci-only/vmciKernelIf.o

In file included from /tmp/vmware-config0/vmci-only/vmciKernelIf.c:48:

/tmp/vmware-config0/vmci-only/pgtbl.h: In function âPgtblVa2MPNâ:

/tmp/vmware-config0/vmci-only/pgtbl.h:301: error: dereferencing pointer to incomplete type

/tmp/vmware-config0/vmci-only/pgtbl.h: In function âPgtblVa2Pageâ:

/tmp/vmware-config0/vmci-only/pgtbl.h:373: error: dereferencing pointer to incomplete type

In file included from /tmp/vmware-config0/vmci-only/vmci_queue_pair.h:36,

from /tmp/vmware-config0/vmci-only/vmciKernelIf.c:56:

/tmp/vmware-config0/vmci-only/vm_atomic.h:996:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vm_atomic.h:1081:7: warning: "_MSC_VER" is not defined

/tmp/vmware-config0/vmci-only/vmciKernelIf.c: In function âVMCIHost_SignalCallâ:

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:320: error: âTASK_NORMALâ undeclared (first use in this function)

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:320: error: (Each undeclared identifier is reported only once

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:320: error: for each function it appears in.)

/tmp/vmware-config0/vmci-only/vmciKernelIf.c: In function âVMCIHost_WaitForCallLockedâ:

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:362: error: dereferencing pointer to incomplete type

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:362: error: âTASK_INTERRUPTIBLEâ undeclared (first use in this function)

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:370: error: implicit declaration of function âscheduleâ

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:378: error: dereferencing pointer to incomplete type

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:378: error: âTASK_RUNNINGâ undeclared (first use in this function)

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:382: error: implicit declaration of function âsignal_pendingâ

/tmp/vmware-config0/vmci-only/vmciKernelIf.c: In function âVMCI_SignalEventâ:

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:674: error: âTASK_NORMALâ undeclared (first use in this function)

/tmp/vmware-config0/vmci-only/vmciKernelIf.c: In function âVMCI_WaitOnEventâ:

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:704: error: dereferencing pointer to incomplete type

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:704: error: âTASK_INTERRUPTIBLEâ undeclared (first use in this function)

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:716: error: dereferencing pointer to incomplete type

/tmp/vmware-config0/vmci-only/vmciKernelIf.c:716: error: âTASK_RUNNINGâ undeclared (first use in this function)

make[2]: *** Error 1

make[1]: *** Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.32-19.el6.x86_64'

make: *** http://vmci.ko Error 2

make: Leaving directory `/tmp/vmware-config0/vmci-only'

Unable to build the vmci module.

-


I've seen this error repeatedly around various modules with various Linux hosts or guests and "really new" kernels. The solution always seems to be a patch.

Does anyone have any other kind of suggestion? I'm just baffled how all the other modules build fine but this one seems to puke on this "_MSC_VER" call.

Again, I know it's not a supported guest yet, so no need to ffer comment in that regard. Hopefully a VMware developer is also toying with the beta. It's blazing fast as a VM.

0 Kudos
1 Reply
echoshaw
Contributor
Contributor

Bump. We need an answer.

This occurs on Ubuntu 10.04 LTS 64-bit as well, using a similar kernel (Linux 2.6.32-23-server #37-Ubuntu SMP Fri Jun 11 09:11:11 UTC 2010 x86_64 GNU/Linux), with identical results.

0 Kudos