VMware Communities
AndersD
Contributor
Contributor

Fedora 7 Kernel 2.6.22.1-41.fc7 breaks compilation

Hi,

Just apdated my Fedora kernel to 2.6.22.1-41.fc7 from 2.6.21-1.3194.fc7 and was (as usual) informed that I needed to rerun vmware-config.pl since the vmware modules were not correct for my new kernel.

Unforunately I got acompile error alraedy in the modules section.

Sifing through the forums, I found a patch for this (http://linux.netmail.ru/vmnet-only-2.6.22.patch.bz). Applying this made the first step (the vmcore modules) compile correctly and load into the kernel.

Unfortunately step 2 (compiling the network modules) spews out warnings and finaly fails.

See attacched output.

I'm not familiar with the support structure of this site -- is there a place to download patches?

Thnx in advance

___________________ attached output vmware-config.pl \----


CC /tmp/vmware-config1/vmmon-only/common/comport.o

CC /tmp/vmware-config1/vmmon-only/common/cpuid.o

CC /tmp/vmware-config1/vmmon-only/common/hash.o

CC /tmp/vmware-config1/vmmon-only/common/memtrack.o

CC /tmp/vmware-config1/vmmon-only/common/phystrack.o

CC /tmp/vmware-config1/vmmon-only/common/task.o

CC /tmp/vmware-config1/vmmon-only/common/vmciContext.o

CC /tmp/vmware-config1/vmmon-only/common/vmciDatagram.o

CC /tmp/vmware-config1/vmmon-only/common/vmciDriver.o

CC /tmp/vmware-config1/vmmon-only/common/vmciDs.o

CC /tmp/vmware-config1/vmmon-only/common/vmciGroup.o

CC /tmp/vmware-config1/vmmon-only/common/vmciHashtable.o

CC /tmp/vmware-config1/vmmon-only/common/vmciProcess.o

CC /tmp/vmware-config1/vmmon-only/common/vmciResource.o

CC /tmp/vmware-config1/vmmon-only/common/vmciSharedMem.o

CC /tmp/vmware-config1/vmmon-only/common/vmx86.o

CC /tmp/vmware-config1/vmmon-only/vmcore/moduleloop.o

LD /tmp/vmware-config1/vmmon-only/vmmon.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-config1/vmmon-only/vmmon.mod.o

LD /tmp/vmware-config1/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/tmp/vmware-config1/vmmon-only'

The module loads perfectly in the running kernel.

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config1/vmblock-only'

make -C /lib/modules/2.6.22.1-41.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'

CC /tmp/vmware-config1/vmblock-only/linux/block.o

CC /tmp/vmware-config1/vmblock-only/linux/control.o

CC /tmp/vmware-config1/vmblock-only/linux/dbllnklst.o

CC /tmp/vmware-config1/vmblock-only/linux/dentry.o

CC /tmp/vmware-config1/vmblock-only/linux/file.o

CC /tmp/vmware-config1/vmblock-only/linux/filesystem.o

CC /tmp/vmware-config1/vmblock-only/linux/inode.o

CC /tmp/vmware-config1/vmblock-only/linux/module.o

CC /tmp/vmware-config1/vmblock-only/linux/stubs.o

CC /tmp/vmware-config1/vmblock-only/linux/super.o

LD /tmp/vmware-config1/vmblock-only/vmblock.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-config1/vmblock-only/vmblock.mod.o

LD /tmp/vmware-config1/vmblock-only/vmblock.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'

cp -f vmblock.ko ./../vmblock.o

make: Leaving directory `/tmp/vmware-config1/vmblock-only'

The module loads perfectly in the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?

(yes/no) \[yes]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config1/vmnet-only'

make -C /lib/modules/2.6.22.1-41.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'

CC /tmp/vmware-config1/vmnet-only/driver.o

In file included from include/linux/if_ether.h:113,

from include/linux/netdevice.h:29,

from /tmp/vmware-config1/vmnet-only/driver.c:23:

include/linux/skbuff.h: In function ‘skb_truesize_check’:

include/linux/skbuff.h:372: warning: comparison between signed and unsigned

In file included from /tmp/vmware-config1/vmnet-only/driver.c:23:

include/linux/netdevice.h: In function ‘netif_msg_init’:

include/linux/netdevice.h:860: warning: comparison between signed and unsigned

In file included from include/net/rtnetlink.h:5,

from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/driver.c:29:

include/net/netlink.h: In function ‘nlmsg_ok’:

include/net/netlink.h:329: warning: comparison between signed and unsigned

include/net/netlink.h:331: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_parse’:

include/net/netlink.h:365: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_validate’:

include/net/netlink.h:397: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nla_ok’:

include/net/netlink.h:688: warning: comparison between signed and unsigned

In file included from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/driver.c:29:

include/net/rtnetlink.h: In function ‘rtnl_msg_family’:

include/net/rtnetlink.h:19: warning: comparison between signed and unsigned

CC /tmp/vmware-config1/vmnet-only/hub.o

In file included from include/linux/if_ether.h:113,

from include/linux/netdevice.h:29,

from /tmp/vmware-config1/vmnet-only/hub.c:19:

include/linux/skbuff.h: In function ‘skb_truesize_check’:

include/linux/skbuff.h:372: warning: comparison between signed and unsigned

In file included from /tmp/vmware-config1/vmnet-only/hub.c:19:

include/linux/netdevice.h: In function ‘netif_msg_init’:

include/linux/netdevice.h:860: warning: comparison between signed and unsigned

In file included from include/net/rtnetlink.h:5,

from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/hub.c:25:

include/net/netlink.h: In function ‘nlmsg_ok’:

include/net/netlink.h:329: warning: comparison between signed and unsigned

include/net/netlink.h:331: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_parse’:

include/net/netlink.h:365: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_validate’:

include/net/netlink.h:397: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nla_ok’:

include/net/netlink.h:688: warning: comparison between signed and unsigned

In file included from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/hub.c:25:

include/net/rtnetlink.h: In function ‘rtnl_msg_family’:

include/net/rtnetlink.h:19: warning: comparison between signed and unsigned

CC /tmp/vmware-config1/vmnet-only/userif.o

In file included from include/linux/if_ether.h:113,

from include/linux/netdevice.h:29,

from /tmp/vmware-config1/vmnet-only/userif.c:19:

include/linux/skbuff.h: In function ‘skb_truesize_check’:

include/linux/skbuff.h:372: warning: comparison between signed and unsigned

In file included from /tmp/vmware-config1/vmnet-only/userif.c:19:

include/linux/netdevice.h: In function ‘netif_msg_init’:

include/linux/netdevice.h:860: warning: comparison between signed and unsigned

In file included from include/net/rtnetlink.h:5,

from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/userif.c:24:

include/net/netlink.h: In function ‘nlmsg_ok’:

include/net/netlink.h:329: warning: comparison between signed and unsigned

include/net/netlink.h:331: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_parse’:

include/net/netlink.h:365: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_validate’:

include/net/netlink.h:397: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nla_ok’:

include/net/netlink.h:688: warning: comparison between signed and unsigned

In file included from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/userif.c:24:

include/net/rtnetlink.h: In function ‘rtnl_msg_family’:

include/net/rtnetlink.h:19: warning: comparison between signed and unsigned

CC /tmp/vmware-config1/vmnet-only/netif.o

In file included from include/linux/if_ether.h:113,

from include/linux/netdevice.h:29,

from /tmp/vmware-config1/vmnet-only/netif.c:19:

include/linux/skbuff.h: In function ‘skb_truesize_check’:

include/linux/skbuff.h:372: warning: comparison between signed and unsigned

In file included from /tmp/vmware-config1/vmnet-only/netif.c:19:

include/linux/netdevice.h: In function ‘netif_msg_init’:

include/linux/netdevice.h:860: warning: comparison between signed and unsigned

In file included from include/net/rtnetlink.h:5,

from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/netif.c:24:

include/net/netlink.h: In function ‘nlmsg_ok’:

include/net/netlink.h:329: warning: comparison between signed and unsigned

include/net/netlink.h:331: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_parse’:

include/net/netlink.h:365: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_validate’:

include/net/netlink.h:397: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nla_ok’:

include/net/netlink.h:688: warning: comparison between signed and unsigned

In file included from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/netif.c:24:

include/net/rtnetlink.h: In function ‘rtnl_msg_family’:

include/net/rtnetlink.h:19: warning: comparison between signed and unsigned

CC /tmp/vmware-config1/vmnet-only/bridge.o

In file included from include/linux/if_ether.h:113,

from include/linux/netdevice.h:29,

from /tmp/vmware-config1/vmnet-only/bridge.c:19:

include/linux/skbuff.h: In function ‘skb_truesize_check’:

include/linux/skbuff.h:372: warning: comparison between signed and unsigned

In file included from /tmp/vmware-config1/vmnet-only/bridge.c:19:

include/linux/netdevice.h: In function ‘netif_msg_init’:

include/linux/netdevice.h:860: warning: comparison between signed and unsigned

In file included from include/net/rtnetlink.h:5,

from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/bridge.c:24:

include/net/netlink.h: In function ‘nlmsg_ok’:

include/net/netlink.h:329: warning: comparison between signed and unsigned

include/net/netlink.h:331: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_parse’:

include/net/netlink.h:365: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nlmsg_validate’:

include/net/netlink.h:397: warning: comparison between signed and unsigned

include/net/netlink.h: In function ‘nla_ok’:

include/net/netlink.h:688: warning: comparison between signed and unsigned

In file included from include/net/neighbour.h:27,

from include/net/dst.h:15,

from include/net/sock.h:56,

from /tmp/vmware-config1/vmnet-only/compat_sock.h:5,

from /tmp/vmware-config1/vmnet-only/bridge.c:24:

include/net/rtnetlink.h: In function ‘rtnl_msg_family’:

include/net/rtnetlink.h:19: warning: comparison between signed and unsigned

In file included from include/net/tcp.h:576,

from /tmp/vmware-config1/vmnet-only/bridge.c:33:

include/net/tcp_ecn.h: In function ‘TCP_ECN_send’:

include/net/tcp_ecn.h:55: warning: comparison between signed and unsigned

In file included from /tmp/vmware-config1/vmnet-only/bridge.c:33:

include/net/tcp.h: In function ‘tcp_minshall_update’:

include/net/tcp.h:785: warning: comparison between signed and unsigned

include/net/tcp.h: In function ‘keepalive_intvl_when’:

include/net/tcp.h:991: warning: signed and unsigned type in conditional expression

include/net/tcp.h: In function ‘keepalive_time_when’:

include/net/tcp.h:996: warning: signed and unsigned type in conditional expression

include/net/tcp.h: In function ‘tcp_paws_check’:

include/net/tcp.h:1014: warning: comparison between signed and unsigned

include/net/tcp.h:1029: warning: comparison between signed and unsigned

/tmp/vmware-config1/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:

/tmp/vmware-config1/vmnet-only/bridge.c:563: error: ‘struct sock’ has no member named ‘wmem_alloc’

make[2]: *** Error 1

make[1]: *** \[_module_/tmp/vmware-config1/vmnet-only] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'

make: *** \[vmnet.ko] Error 2

make: Leaving directory `/tmp/vmware-config1/vmnet-only'

Unable to build the vmnet 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.

0 Kudos
14 Replies
AndersD
Contributor
Contributor

I have dug around more in the forums and googled a bit...

I have downloaded and applied

vmware-any-any-update113 from http://knihovny.cvut.cz/ftp/pub/vmware/ as suggested in the WMPlayer forum: http://vmware.com/coomunity/thread.jspa?messageID=694330.

Now it seems that I can get everyting to compile (a lot of warnings in the core compilation though see attached output).

Is this an official patch? Am I still running a VmWare supported Workstation? Is this even the correct patch to apply?

Rgds

/Anders

_____________ partial output from vmwareconfig.pl ___________________

cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++

cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++

cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++

cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++

/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage, VMDriver) \[with VMCrossPage = VMCrossPageV321]’:

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2491: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2492: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage, VMDriver) \[with VMCrossPage = VMCrossPageV3]’:

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2491: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2492: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage, VMDriver) \[with VMCrossPage = VMCrossPageGSX1]’:

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2491: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2492: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMCrossPage, VMDriver) \[with VMCrossPage = VMCrossPageV2]’:

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2491: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2492: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM_V4(VMDriver*, Vcpuid) \[with VMCrossPage = VMCrossPageV4]’:

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘int Vmx86_RunVM(VMDriver*, Vcpuid)’:

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2491: warning: ‘sysenterState.SysenterStateV45::rsp’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2492: warning: ‘sysenterState.SysenterStateV45::rip’ is used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:3028: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2666: warning: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2666: warning: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2666: warning: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function

/tmp/vmware-config2/vmmon-only/common/task_compat.h:2666: warning: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function

CC /tmp/vmware-config2/vmmon-only/common/vmciContext.o

CC /tmp/vmware-config2/vmmon-only/common/vmciDatagram.o

CC /tmp/vmware-config2/vmmon-only/common/vmciDriver.o

CC /tmp/vmware-config2/vmmon-only/common/vmciDs.o

CC /tmp/vmware-config2/vmmon-only/common/vmciGroup.o

CC /tmp/vmware-config2/vmmon-only/common/vmciHashtable.o

CC /tmp/vmware-config2/vmmon-only/common/vmciProcess.o

CC /tmp/vmware-config2/vmmon-only/common/vmciResource.o

CC /tmp/vmware-config2/vmmon-only/common/vmciSharedMem.o

CC /tmp/vmware-config2/vmmon-only/common/vmx86.o

CC /tmp/vmware-config2/vmmon-only/vmcore/compat.o

CC /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o

LD /tmp/vmware-config2/vmmon-only/vmmon.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o

LD /tmp/vmware-config2/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/tmp/vmware-config2/vmmon-only'

The module loads perfectly in the running kernel.

0 Kudos
bruno82
Contributor
Contributor

hello,

I have also downloaded and applied vmware-any-any-update113 on my fedora 7 Kernel 2.6.22.1-41...

But It doesn't work.

the log:

Building for VMware Workstation 6.0.0.

Using 2.6.x kernel build system.

make: entrant dans le répertoire « /tmp/vmware-config5/vmmon-only »

make -C /usr/src/kernels/2.6.22.1-41.fc7-i686/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: entrant dans le répertoire « /usr/src/kernels/2.6.22.1-41.fc7-i686 »

CC /tmp/vmware-config5/vmmon-only/linux/driver.o

CC /tmp/vmware-config5/vmmon-only/linux/hostif.o

CC /tmp/vmware-config5/vmmon-only/common/comport.o

CC /tmp/vmware-config5/vmmon-only/common/cpuid.o

CC /tmp/vmware-config5/vmmon-only/common/hash.o

CC /tmp/vmware-config5/vmmon-only/common/memtrack.o

CC /tmp/vmware-config5/vmmon-only/common/phystrack.o

CC /tmp/vmware-config5/vmmon-only/common/task.o

gcc: error trying to exec 'cc1plus': execvp: Aucun fichier ou répertoire de ce type

make[2]: *** Erreur 1

make[1]: *** \[_module_/tmp/vmware-config5/vmmon-only] Erreur 2

make[1]: quittant le répertoire « /usr/src/kernels/2.6.22.1-41.fc7-i686 »

make: *** \[vmmon.ko] Erreur 2

make: quittant le répertoire « /tmp/vmware-config5/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.

Thanks for your help

0 Kudos
KevinG
Immortal
Immortal

You are missing gcc-c++ on your host, you will need to install it.

0 Kudos
bruno82
Contributor
Contributor

thanks kevin,

I am going to try another time

0 Kudos
bruno82
Contributor
Contributor

many thanks kevin!

now it works!

Bruno

0 Kudos
MudLevelGnuby
Contributor
Contributor

I also downloaded any any update. And it didn't work for me too, but for a different reason.

After extracting the files there is one named runme.pl But in a root terminal I can't get it to run. I checked the permissions and it says it is executable, but no go. What is the correct procedure for installing the any any update patch ?

0 Kudos
kschroed
Contributor
Contributor

The any any update looks like very old code. It's says compiling for ESX 2.x or Workstation 4. Do you really think this is an improvement over the e1000 driver that fedora 7 selects by default? I'm having the same compile issues running Fedora 7 32-bit on Workstation 6 with Workstation 6 VM hardware type. Seems to only be having trouble with vmxnet and vmhgfs.

0 Kudos
MudLevelGnuby
Contributor
Contributor

Hej Anders. No, it is not an official patch. Yes, your vmware is still good. Though VMware want make Petr's patch official , they are secretly glad that he has provided it because it fixes a lot of problems and it is in almost universal use.

Except by me on my latest F7 machine. Smiley Sad

Hejdo

RDPetruska
Leadership
Leadership

kschroed,

The vmware-any-any-update patch is for unSupported Linux HOSTS, not guests.

0 Kudos
MudLevelGnuby
Contributor
Contributor

Old code or not, the only reason to wonder is if the e1000 default isn't doing the job. If something else does, that, by definition, makes it better, even if it is old code.

I have the default in mine, and I'm hoping someone can tell me how to get the old code into it instead.

0 Kudos
MudLevelGnuby
Contributor
Contributor

It looks like this:

\[root@BackupServer vmware-any-any-update113]# runme.pl

-bash: runme.pl: command not found

\[root@BackupServer vmware-any-any-update113]#

So can anyone suggest how to get runme.pl ran ?

0 Kudos
kschroed
Contributor
Contributor

Try ./runme.pl

0 Kudos
MudLevelGnuby
Contributor
Contributor

Hey, that worked great. Thanks !

I wonder if putting a dot slash in front of vmware-config.pl would help it.

0 Kudos
MudLevelGnuby
Contributor
Contributor

The patch ran, and vmware-config.pl ran, all the way through this time. It did generate the long list of warnings that Anders got, but I can run my VMs now

Thank you very much Smiley Happy

0 Kudos