You are not logged in.

#1 2014-03-28 21:06:17

darnit
Member
Registered: 2014-03-28
Posts: 1

VMware 9.0.2 vmnet fails to build on 3.13.7

So yet another thread and problem with VMware and I've tried all different kind of patches from all kind of places without any results.

As usual with an upgrade (Syu) I needed to rebuild vmblock and vmnet. vmblock built successfully using the available patches for 3.13, vmnet however didn't.

I've tried the solution listed on http://dandar3.blogspot.se/2014/01/vmwa … alpha.html, tried the one listed on the wiki (patch that came with vmblock), tried the patch in the AUR vmware-patch, but nothing. I've also tried reinstalling the packages listed in some threads that got it working for a few people, that did however not help me.

This is the log from the last run, I've used the patch that came with vmblock (the solution listed on the wiki), I'm using the stock kernel which means no netfilter.

Logging to /tmp/vmware-root/vmware-modconfig-724.log
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
make: Entering directory '/tmp/modconfig-6SBn6j/vmnet-only'
Using 2.6.x kernel build system.
/sbin/make -C /lib/modules/3.13.7-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/3.13.7-1-ARCH/build'
  CC [M]  /tmp/modconfig-6SBn6j/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-6SBn6j/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-6SBn6j/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-6SBn6j/vmnet-only/netif.o
In file included from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:28:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/netif.c:42:
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompilePtr':
In file included from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:28:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/driver.c:51:
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompilePtr':
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2558:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2558:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompileInt':
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2562:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompileInt':
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2562:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:28:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/userif.c:46:
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompilePtr':
In file included from /tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:31:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:29,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/netif.c:42:
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h: In function 'MonitorActionSet_AtomicInclude':
/tmp/modconfig-6SBn6j/vmnet-only/vm_assert.h:320:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:91:4: note: in expansion of macro 'ASSERT_ON_COMPILE'
    ASSERT_ON_COMPILE((ACTION_WORD_SIZE & (ACTION_WORD_SIZE - 1)) == 0);
    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2558:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
In file included from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:28:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/hub.c:43:
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompilePtr':
In file included from /tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:31:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:29,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/driver.c:51:
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h: In function 'MonitorActionSet_AtomicInclude':
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2558:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Ptr, 64, void const *, void *, uintptr_t)
 ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompileInt':
/tmp/modconfig-6SBn6j/vmnet-only/vm_assert.h:320:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:91:4: note: in expansion of macro 'ASSERT_ON_COMPILE'
    ASSERT_ON_COMPILE((ACTION_WORD_SIZE & (ACTION_WORD_SIZE - 1)) == 0);
    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2562:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h: In function 'AtomicAssertOnCompileInt':
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2397:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused];             \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_atomic.h:2562:1: note: in expansion of macro 'MAKE_ATOMIC_TYPE'
 MAKE_ATOMIC_TYPE(Int, 32, int, int, int)
 ^
In file included from /tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:31:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:29,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/userif.c:46:
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h: In function 'MonitorActionSet_AtomicInclude':
/tmp/modconfig-6SBn6j/vmnet-only/vm_assert.h:320:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:91:4: note: in expansion of macro 'ASSERT_ON_COMPILE'
    ASSERT_ON_COMPILE((ACTION_WORD_SIZE & (ACTION_WORD_SIZE - 1)) == 0);
    ^
In file included from /tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:31:0,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnet.h:29,
                 from /tmp/modconfig-6SBn6j/vmnet-only/vnetInt.h:24,
                 from /tmp/modconfig-6SBn6j/vmnet-only/hub.c:43:
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h: In function 'MonitorActionSet_AtomicInclude':
/tmp/modconfig-6SBn6j/vmnet-only/vm_assert.h:320:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/monitorAction_exported.h:91:4: note: in expansion of macro 'ASSERT_ON_COMPILE'
    ASSERT_ON_COMPILE((ACTION_WORD_SIZE & (ACTION_WORD_SIZE - 1)) == 0);
    ^
/tmp/modconfig-6SBn6j/vmnet-only/hub.c: In function 'VNetHubFindHubByID':
/tmp/modconfig-6SBn6j/vmnet-only/hub.c:132:49: warning: argument to 'sizeof' in 'memcmp' call is the same expression as the first source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
         memcmp(idNum, currHub->id.pvnID, sizeof idNum))) {
                                                 ^
/tmp/modconfig-6SBn6j/vmnet-only/hub.c: In function 'VNetHubAlloc':
/tmp/modconfig-6SBn6j/vmnet-only/hub.c:315:36: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'uint8 *' as the destination; expected 'uint8' or an explicit length [-Wsizeof-pointer-memaccess]
   memcpy(hub->id.pvnID, id, sizeof id);
                                    ^
/tmp/modconfig-6SBn6j/vmnet-only/hub.c:366:28: error: dereferencing pointer to incomplete type
             jack->procEntry->read_proc = VNetHubProcRead;
                            ^
/tmp/modconfig-6SBn6j/vmnet-only/hub.c:367:28: error: dereferencing pointer to incomplete type
             jack->procEntry->data = jack;
                            ^
/tmp/modconfig-6SBn6j/vmnet-only/userif.c: In function 'VNetUserIfIoctl':
/tmp/modconfig-6SBn6j/vmnet-only/vm_assert.h:320:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/userif.c:810:7: note: in expansion of macro 'ASSERT_ON_COMPILE'
       ASSERT_ON_COMPILE(VNET_NOTIFY_VERSION == 5);
       ^
/tmp/modconfig-6SBn6j/vmnet-only/vm_assert.h:320:20: warning: typedef 'AssertOnCompileFailed' locally defined but not used [-Wunused-local-typedefs]
       typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
                    ^
/tmp/modconfig-6SBn6j/vmnet-only/userif.c:811:7: note: in expansion of macro 'ASSERT_ON_COMPILE'
       ASSERT_ON_COMPILE(ACTION_EXPORTED_VERSION == 2);
       ^
/tmp/modconfig-6SBn6j/vmnet-only/userif.c: In function 'VNetUserIf_Create':
/tmp/modconfig-6SBn6j/vmnet-only/userif.c:1049:34: error: dereferencing pointer to incomplete type
       userIf->port.jack.procEntry->read_proc = VNetUserIfProcRead;
                                  ^
/tmp/modconfig-6SBn6j/vmnet-only/userif.c:1050:34: error: dereferencing pointer to incomplete type
       userIf->port.jack.procEntry->data = userIf;
                                  ^
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-6SBn6j/vmnet-only/hub.o' failed
make[2]: *** [/tmp/modconfig-6SBn6j/vmnet-only/hub.o] Error 1
make[2]: *** Waiting for unfinished jobs....
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-6SBn6j/vmnet-only/userif.o' failed
make[2]: *** [/tmp/modconfig-6SBn6j/vmnet-only/userif.o] Error 1
/tmp/modconfig-6SBn6j/vmnet-only/netif.c: In function 'VNetNetIf_Create':
/tmp/modconfig-6SBn6j/vmnet-only/netif.c:191:33: error: dereferencing pointer to incomplete type
       netIf->port.jack.procEntry->read_proc = VNetNetIfProcRead;
                                 ^
/tmp/modconfig-6SBn6j/vmnet-only/netif.c:192:33: error: dereferencing pointer to incomplete type
       netIf->port.jack.procEntry->data = netIf;
                                 ^
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-6SBn6j/vmnet-only/netif.o' failed
make[2]: *** [/tmp/modconfig-6SBn6j/vmnet-only/netif.o] Error 1
Makefile:1249: recipe for target '_module_/tmp/modconfig-6SBn6j/vmnet-only' failed
make[1]: *** [_module_/tmp/modconfig-6SBn6j/vmnet-only] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.13.7-1-ARCH/build'
Makefile:130: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-6SBn6j/vmnet-only'
Failed to build vmnet.  Failed to execute the build command.

$ uname -a
Linux prometheus 3.13.7-1-ARCH #1 SMP PREEMPT Mon Mar 24 20:06:08 CET 2014 x86_64 GNU/Linux
$ vmware --version
VMware Workstation 9.0.2 build-1031769

Thanks in advance smile

Last edited by darnit (2014-03-28 21:11:46)

Offline

Board footer

Powered by FluxBB