首页 新闻 会员 周边 捐助

关于rhel6下vmware-config.pl编译报错的问题。

0
悬赏园豆:20 [待解决问题]

[root@localhost 桌面]# vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [确定]

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.32-71.el6.i686/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-config10/vmmon-only'
make -C /lib/modules/2.6.32-71.el6.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-71.el6.i686'

  CC [M]  /tmp/vmware-config10/vmmon-only/linux/driver.o
在包含自 /tmp/vmware-config10/vmmon-only/./include/vmware.h:25 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:83:
/tmp/vmware-config10/vmmon-only/./include/vm_basic_types.h:104:7: 警告:“__FreeBSD__”未定义
In file included from /tmp/vmware-config10/vmmon-only/./include/vmware.h:25,
                 from /tmp/vmware-config10/vmmon-only/linux/driver.c:83:
/tmp/vmware-config10/vmmon-only/./include/vm_basic_types.h:170: 错误:与‘uintptr_t’类型冲突
include/linux/types.h:41: 附注:‘uintptr_t’的上一个声明在此
在包含自 /tmp/vmware-config10/vmmon-only/./include/x86.h:21 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.h:15,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:84:
/tmp/vmware-config10/vmmon-only/./include/x86apic.h:79:1: 警告:“APIC_BASE_MSR”重定义
在包含自 /usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/apic.h:11 的文件中,
                 从 /usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/smp.h:13,
                 从 include/linux/smp.h:36,
                 从 include/linux/topology.h:33,
                 从 include/linux/gfp.h:7,
                 从 include/linux/kmod.h:22,
                 从 include/linux/module.h:13,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:12:
/usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/apicdef.h:136:1: 警告:这是先前定义的位置
在包含自 /tmp/vmware-config10/vmmon-only/./include/x86.h:23 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.h:15,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:84:
/tmp/vmware-config10/vmmon-only/./include/x86cpuid.h:383:1: 警告:“BIT_MASK”重定义
在包含自 include/linux/kernel.h:15 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:11:
include/linux/bitops.h:7:1: 警告:这是先前定义的位置
在包含自 /tmp/vmware-config10/vmmon-only/./include/x86.h:24 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.h:15,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:84:
/tmp/vmware-config10/vmmon-only/./include/x86paging.h:61:1: 警告:“PTE_PFN_MASK”重定义
在包含自 /usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/paravirt.h:7 的文件中,
                 从 /usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/irqflags.h:60,
                 从 include/linux/irqflags.h:57,
                 从 /usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/system.h:11,
                 从 /usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/processor.h:17,
                 从 include/linux/prefetch.h:14,
                 从 include/linux/list.h:6,
                 从 include/linux/module.h:9,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:12:
/usr/src/kernels/2.6.32-71.el6.i686/arch/x86/include/asm/pgtable_types.h:187:1: 警告:这是先前定义的位置
在包含自 /tmp/vmware-config10/vmmon-only/./include/vcpuset.h:89 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/./include/modulecall.h:23,
                 从 /tmp/vmware-config10/vmmon-only/./common/vmx86.h:18,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.h:16,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:84:
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:272:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:276:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:344:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:350:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:449:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:538:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:627:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:716:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:718:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:803:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:805:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:888:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:890:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:971:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:973:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:1166:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:1170:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:1454:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_atomic.h:1581:7: 警告:“_MSC_VER”未定义
在包含自 /tmp/vmware-config10/vmmon-only/./include/vm_basic_asm.h:33 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/./include/rateconv.h:31,
                 从 /tmp/vmware-config10/vmmon-only/./include/modulecall.h:26,
                 从 /tmp/vmware-config10/vmmon-only/./common/vmx86.h:18,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.h:16,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:84:
/tmp/vmware-config10/vmmon-only/./include/vm_basic_asm_x86.h:49:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_basic_asm_x86.h:167:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_basic_asm_x86.h:336:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_basic_asm_x86.h:443:7: 警告:“_MSC_VER”未定义
在包含自 /tmp/vmware-config10/vmmon-only/./include/vmci_kernel_defs.h:26 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/./common/vmciContext.h:19,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.h:21,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:84:
/tmp/vmware-config10/vmmon-only/./include/compat_wait.h:37:5: 警告:“VMW_HAVE_EPOLL”未定义
/tmp/vmware-config10/vmmon-only/./include/compat_wait.h:43:5: 警告:“VMW_HAVE_EPOLL”未定义
In file included from /tmp/vmware-config10/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config10/vmmon-only/./common/vmciContext.h:19,
                 from /tmp/vmware-config10/vmmon-only/linux/driver.h:21,
                 from /tmp/vmware-config10/vmmon-only/linux/driver.c:84:
/tmp/vmware-config10/vmmon-only/./include/compat_wait.h:60: 错误:与‘poll_initwait’类型冲突
include/linux/poll.h:70: 附注:‘poll_initwait’的上一个声明在此
在包含自 /tmp/vmware-config10/vmmon-only/./include/vm_asm.h:30 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:87:
/tmp/vmware-config10/vmmon-only/./include/vm_asm_x86.h:471:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_asm_x86.h:764:7: 警告:“_MSC_VER”未定义
/tmp/vmware-config10/vmmon-only/./include/vm_asm_x86.h:804:7: 警告:“_MSC_VER”未定义
在包含自 /tmp/vmware-config10/vmmon-only/linux/driver.c:114 的文件中:
/tmp/vmware-config10/vmmon-only/./common/hostif.h:39:7: 警告:“WINNT_DDK”未定义
在包含自 /tmp/vmware-config10/vmmon-only/linux/vmhost.h:13 的文件中,
                 从 /tmp/vmware-config10/vmmon-only/linux/driver.c:115:
/tmp/vmware-config10/vmmon-only/./include/compat_semaphore.h:5:27: 错误:asm/semaphore.h:没有那个文件或目录
/tmp/vmware-config10/vmmon-only/linux/driver.c:197: 错误:初始值设定项里有未知的字段‘nopage’
/tmp/vmware-config10/vmmon-only/linux/driver.c:198: 警告:从不兼容的指针类型初始化
/tmp/vmware-config10/vmmon-only/linux/driver.c: 在函数‘LinuxDriver_Ioctl’中:
/tmp/vmware-config10/vmmon-only/linux/driver.c:1782: 错误:‘struct task_struct’没有名为‘euid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1782: 错误:‘struct task_struct’没有名为‘uid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1783: 错误:‘struct task_struct’没有名为‘fsuid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1783: 错误:‘struct task_struct’没有名为‘uid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1784: 错误:‘struct task_struct’没有名为‘egid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1784: 错误:‘struct task_struct’没有名为‘gid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1785: 错误:‘struct task_struct’没有名为‘fsgid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1785: 错误:‘struct task_struct’没有名为‘gid’的成员
/tmp/vmware-config10/vmmon-only/linux/driver.c:1802: 错误:提供给函数‘smp_call_function’的实参太多
make[2]: *** [/tmp/vmware-config10/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config10/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-71.el6.i686'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config10/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.

[root@localhost 桌面]#

 

 

 

========================================================

尝试很多都没有成功,固发帖求助?(rhel6+vm6.0.2)

visitorblogs的主页 visitorblogs | 初学一级 | 园豆:182
提问于:2013-08-16 19:19
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册