LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1786|回复: 10

升级2.6.24内核后vmware workstation6.0.2不能使用了!

[复制链接]
发表于 2008-1-31 20:23:35 | 显示全部楼层 |阅读模式
编译模块的时候出现错误!有人遇到一样的问题吗?何解?
发表于 2008-1-31 20:28:33 | 显示全部楼层
在官方的wiki有解决,搜索一下vmware
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-31 23:55:18 | 显示全部楼层
Post by jjj311;1813145
在官方的wiki有解决,搜索一下vmware


英文看不太懂,麻烦楼上帮忙说一下解决方法好吗?谢谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-1 00:03:59 | 显示全部楼层
贴一下运行vmware-config.pl的接过,和wiki上面说的不太一样!

OpenSuse:/home/UserGroup # vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done
   Blocking file system:                                               done
   Bridged networking on /dev/vmnet0                                   done
   Host network detection                                              done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the theme icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon 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.24-default/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-config7/vmmon-only'
make -C /lib/modules/2.6.24-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/Documents/linux-2.6.24'
  CC [M]  /tmp/vmware-config7/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config7/vmmon-only/./include/vmware.h:25,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:83:
/tmp/vmware-config7/vmmon-only/./include/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:23,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:84:
/tmp/vmware-config7/vmmon-only/./include/x86cpuid.h:383:1: warning: "BIT_MASK" redefined
In file included from include/linux/kernel.h:15,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:11:
include/linux/bitops.h:7:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config7/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config7/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:84:
/tmp/vmware-config7/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config7/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config7/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config7/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:84:
/tmp/vmware-config7/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config7/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config7/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config7/vmmon-only] Error 2
make[1]: Leaving directory `/Documents/linux-2.6.24'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config7/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.
回复 支持 反对

使用道具 举报

发表于 2008-2-1 10:05:10 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2008-2-1 17:37:20 | 显示全部楼层
原文在这儿http://en.opensuse.org/Recoverin ... ter_a_Kernel_Update

大概翻译一下:
1、打开终端
2、切换到root
3、运行/usr/bin/vmware-config.pl
4、在底下这步的时候选yes:
------------------------------------------------
You have already setup networking.
   
   Would you like to skip networking setup and keep your old settings as they are?
   (yes/no) [no] yes
------------------------------------------------
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-2 12:55:30 | 显示全部楼层
感谢2楼和5楼,Wiki上面的情况和我的情况不是很匹配,已经按5楼提供地址找到解决答案,下载一个vmware-any-any,解压运行runme.pl重新配置一下就可以了!
回复 支持 反对

使用道具 举报

发表于 2008-2-3 22:15:28 | 显示全部楼层
我以为 6 之后就不再需要 any-any-update 了的?原来依然有效果??
回复 支持 反对

使用道具 举报

发表于 2008-2-3 22:33:38 | 显示全部楼层
我是今天安装的VMWARE6.0.2,然后升级的内核,出现VMWARE不能用。
于是我重新运行了配置,然后VMWARE奇迹般的好了……

值得一提的是,我是一路默认下来的。
回复 支持 反对

使用道具 举报

发表于 2008-2-4 11:13:02 | 显示全部楼层
重新配置一下就行了,没那么麻烦。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表