Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
安装VMware Player出现了错误,请教高手~!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
mylaven
n00b
n00b


Joined: 13 Dec 2014
Posts: 9

PostPosted: Tue Mar 17, 2015 2:13 am    Post subject: 安装VMware Player出现了错误,请教高手~! Reply with quote

系统基本都正常工作了。多谢大家的支持。
在windows下工作的软件,也基本都到gentoo上来了。
但是,还有一些必须要在windows下用。所以,想折腾一下VMware Player.
按照网上的帖子:
http://havee.me/linux/2014-05/vmware-workstation-on-gentoo.html

来安装的。但是现在出现了,错误,请高手帮忙看下。

到底错在哪里呢?

>>> Emerging (2 of 2) app-emulation/vmware-modules-279.3::gentoo
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.18.7-gentoo/build
* Found sources for kernel version:
* 3.18.7-gentoo
* Checking for suitable kernel configuration options... [ ok ]
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-279.3/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
* Applying 279-makefile-kernel-dir.patch ... [ ok ]
* Applying 279-makefile-include.patch ... [ ok ]
* Applying 279-netdevice.patch ... [ ok ]
* Applying 279-apic.patch ... [ ok ]
* Applying 279-putname.patch ... [ ok ]
* Applying 279-vmblock.patch ... [ ok ]
* Applying 279-filldir.patch ... [ ok ]
* Applying 279-vfsfollowlink.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
* Preparing vmblock module
make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.18.7-gentoo/build
Using 2.6.x kernel build system.
make -C /lib/modules/3.18.7-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.18.7-gentoo'
make[2]: Entering directory '/usr/src/linux-3.18.7-gentoo'
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:34:0:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/wait.h:6,
from /usr/src/linux-3.18.7-gentoo/include/linux/completion.h:11,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:33:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/wait.h:6,
from /usr/src/linux-3.18.7-gentoo/include/linux/fs.h:6,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.c:28:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/wait.h:6,
from /usr/src/linux-3.18.7-gentoo/include/linux/completion.h:11,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:26:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/wait.h:6,
from /usr/src/linux-3.18.7-gentoo/include/linux/fs.h:6,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:27:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.c:38:4: warning: initialization from incompatible pointer type [enabled by default]
.d_revalidate = DentryOpRevalidate,
^
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.c:38:4: warning: (near initialization for ‘LinkDentryOps.d_revalidate’) [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.c: In function ‘DentryOpRevalidate’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.c:104:7: warning: passing argument 2 of ‘actualDentry->d_op->d_revalidate’ makes integer from pointer without a cast [enabled by default]
return actualDentry->d_op->d_revalidate(actualDentry, nd);
^
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/dentry.c:104:7: note: expected ‘unsigned int’ but argument is of type ‘struct nameidata *’
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:36:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:27:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/module.h:9,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:28:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/module.h:9,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:27:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:34:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/module.h:9,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:27:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
#define DEPRECATED(_fix) do {} while (0)
^
In file included from /usr/src/linux-3.18.7-gentoo/include/linux/kernel.h:13:0,
from /usr/src/linux-3.18.7-gentoo/include/linux/list.h:8,
from /usr/src/linux-3.18.7-gentoo/include/linux/module.h:9,
from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:27:
/usr/src/linux-3.18.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
#define DEPRECATED "[Deprecated]: "
^
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c: In function ‘ExecuteBlockOp’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:282:9: warning: assignment from incompatible pointer type [enabled by default]
name = getname(buf);
^
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpLookup’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
inode->i_uid = inode->i_gid = 0;
^
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpReadlink’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:180:4: error: implicit declaration of function ‘vfs_readlink’ [-Werror=implicit-function-declaration]
return vfs_readlink(dentry, buffer, buflen, iinfo->name);
^
cc1: some warnings being treated as errors
/usr/src/linux-3.18.7-gentoo/scripts/Makefile.build:257: recipe for target '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o' failed
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/src/linux-3.18.7-gentoo/Makefile:1381: recipe for target '_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only' failed
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only] Error 2
make[2]: Leaving directory '/usr/src/linux-3.18.7-gentoo'
Makefile:145: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.18.7-gentoo'
Makefile:130: recipe for target 'vmblock.ko' failed
make: *** [vmblock.ko] Error 2
* ERROR: app-emulation/vmware-modules-279.3::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only'
* S: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work'

>>> Failed to emerge app-emulation/vmware-modules-279.3, Log file:

>>> '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'

* Messages for package app-emulation/vmware-player-6.0.3.1895310:

* /etc/env.d was updated. Please run:
* env-update && source /etc/profile
*
* Before you can use vmware-player, you must configure a default network setup.
* You can do this by running 'emerge --config vmware-player'.

* Messages for package app-emulation/vmware-modules-279.3:

* ERROR: app-emulation/vmware-modules-279.3::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only'
* S: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work'

* GNU info directory index is up-to-date.

* IMPORTANT: 4 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Back to top
View user's profile Send private message
weidong
n00b
n00b


Joined: 01 Mar 2015
Posts: 4

PostPosted: Tue Mar 17, 2015 3:01 pm    Post subject: Reply with quote

其实我觉得virtualbox-bin也不错,也许性能差点,但很少出现安装问题。

用vmware overlay安装吧,目前内核模块版本是279.3-r1,与gentoo-source-3.18.7没有冲突。

Code:
layman -a vmware
Back to top
View user's profile Send private message
mylaven
n00b
n00b


Joined: 13 Dec 2014
Posts: 9

PostPosted: Wed Mar 18, 2015 12:22 am    Post subject: Reply with quote

谢谢!我试试先。
Back to top
View user's profile Send private message
mylaven
n00b
n00b


Joined: 13 Dec 2014
Posts: 9

PostPosted: Wed Mar 18, 2015 12:33 am    Post subject: Reply with quote

OK,成功了。正在装windows7
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum