2009/4/22 김무성 <ki...@infosec.co.kr>:
> My kernel version is 2.6.27-gentoo-r10
>
> And I try to install VMware-server-1.0.9
>
> Up-to-date gcc.
>
> When I install vmware-server, ./vmware-install.pl
>
> there is an error.
>
> This is error information
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
> /tmp/vmware-config3/vmmon-only/linux/driver.c:1781: error: too many
> arguments to function 'smp_call_function'
>
> make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
>
> make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
>
> make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r10'
>
> make: *** [vmmon.ko] Error 2
>
> make: Leaving directory `/tmp/vmware-config3/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.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>
>
> So I found solution searching in google.
>
> It’s tell me There is an patch.
>
> I got Vmware-any-any-patch through ftp.
>
> And execute patch, But same error
>
>
>
>
>
> What is a solution?
>
> Help me.
>
>
>
>

If 1.0.9 is not a necessity, you may want to try vmware-server in
portage(1.0.8) instead.

$ sudo emerge -pv vmware-server
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.15-r2  483 kB
[ebuild  N    ] app-emulation/vmware-server-1.0.8.126538  104,611 kB

As an addition, if you build kernel manually, turning CONFIG_UNUSED_SYMBOLS on
beforehand or vmware-modules will refuse to compile.

$ cd /usr/src/linux
$ sudo make menuconifg
  (Kernel hacking) --> (Enable unused/obsolete exported symbols) --> (y)
$ sudo make && make modules_install

Boot the machine with new kernel and issue the above 'emerge' command
should bring
you a working vmware-server.

-- 
Sincerely,

Jyo

Reply via email to