1 |
2009/4/22 ±è¹«¼º <kimms@××××××××××.kr>: |
2 |
> My kernel version is 2.6.27-gentoo-r10 |
3 |
> |
4 |
> And I try to install VMware-server-1.0.9 |
5 |
> |
6 |
> Up-to-date gcc. |
7 |
> |
8 |
> When I install vmware-server, ./vmware-install.pl |
9 |
> |
10 |
> there is an error. |
11 |
> |
12 |
> This is error information |
13 |
> |
14 |
> |
15 |
> |
16 |
> ---------------------------------------------------------------------------------------------------------------------------------------------- |
17 |
> |
18 |
> /tmp/vmware-config3/vmmon-only/linux/driver.c:1781: error: too many |
19 |
> arguments to function 'smp_call_function' |
20 |
> |
21 |
> make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1 |
22 |
> |
23 |
> make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2 |
24 |
> |
25 |
> make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r10' |
26 |
> |
27 |
> make: *** [vmmon.ko] Error 2 |
28 |
> |
29 |
> make: Leaving directory `/tmp/vmware-config3/vmmon-only' |
30 |
> |
31 |
> Unable to build the vmmon module. |
32 |
> |
33 |
> |
34 |
> |
35 |
> For more information on how to troubleshoot module-related problems, please |
36 |
> |
37 |
> visit our Web site at "http://www.vmware.com/download/modules/modules.html" |
38 |
> and |
39 |
> |
40 |
> "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". |
41 |
> |
42 |
> |
43 |
> |
44 |
> Execution aborted. |
45 |
> |
46 |
> ---------------------------------------------------------------------------------------------------------------------------------------------- |
47 |
> |
48 |
> |
49 |
> |
50 |
> So I found solution searching in google. |
51 |
> |
52 |
> It¡¯s tell me There is an patch. |
53 |
> |
54 |
> I got Vmware-any-any-patch through ftp. |
55 |
> |
56 |
> And execute patch, But same error |
57 |
> |
58 |
> |
59 |
> |
60 |
> |
61 |
> |
62 |
> What is a solution? |
63 |
> |
64 |
> Help me. |
65 |
> |
66 |
> |
67 |
> |
68 |
> |
69 |
|
70 |
If 1.0.9 is not a necessity, you may want to try vmware-server in |
71 |
portage(1.0.8) instead. |
72 |
|
73 |
$ sudo emerge -pv vmware-server |
74 |
[ebuild N ] app-emulation/vmware-modules-1.0.0.15-r2 483 kB |
75 |
[ebuild N ] app-emulation/vmware-server-1.0.8.126538 104,611 kB |
76 |
|
77 |
As an addition, if you build kernel manually, turning CONFIG_UNUSED_SYMBOLS on |
78 |
beforehand or vmware-modules will refuse to compile. |
79 |
|
80 |
$ cd /usr/src/linux |
81 |
$ sudo make menuconifg |
82 |
(Kernel hacking) --> (Enable unused/obsolete exported symbols) --> (y) |
83 |
$ sudo make && make modules_install |
84 |
|
85 |
Boot the machine with new kernel and issue the above 'emerge' command |
86 |
should bring |
87 |
you a working vmware-server. |
88 |
|
89 |
-- |
90 |
Sincerely, |
91 |
|
92 |
Jyo |