Joseph B. Welsh on 26 Apr 2007 16:36:40 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] vmware server: networking and clipboard


On Thu, 2007-04-26 at 12:26 -0400, K.S. Bhaskar wrote:
> Here's what happens to me (I have g++ installed):
> 
> <...snip successful part of installation...>
> 
> What is the location of the directory of C header files that match
> your running
> kernel? [/lib/modules/2.6.20-15-generic/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-config3/vmmon-only'
> make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD
> SRCROOT=$PWD/. modules 
> make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
>   CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
> In file included
> from /tmp/vmware-config3/vmmon-only/linux/driver.c:80:
> /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error:
> expected declaration specifiers or Ã...à before Ãcompat_exità 
> /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error:
> expected declaration specifiers or Ã...Ã before Ãexit_codeÃ
> /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: warning:
> type defaults to Ãintà in declaration of Ã_syscall1à 
> 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-headers-2.6.20-15-generic'
> 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.
> 
> Any suggestions for fixing it would be greatly appreciated.  Thank you
> very much.
> 
> -- Bhaskar
> 
> On 4/26/07, Joseph B. Welsh <JWelsh@welshworks.com> wrote:
>         On Thu, 2007-04-26 at 12:08 -0400, K.S. Bhaskar wrote:
>         > On 4/20/07, Joseph B. Welsh <JWelsh@welshworks.com> wrote:
>         >         Hi Art,
>         >         I using the Feisty Fawn Beta (Kubuntu) and Vmware
>         running 4 
>         >         vm's on my
>         >         laptop
>         >
>         > [KSB] Joseph, I was not able to get VMWare workstation to
>         run on
>         > Kubuntu 7.04 (Feisty Fawn).  When I run vmware-config.pl, it
>         blows up
>         > trying to compile the kernel modules.  I have been able to
>         get 
>         > vmware-player to run using the [k]ubuntu packages.  Is there
>         anything
>         > special you did to get the kernel modules to compile?
>         >
>         > -- Bhaskar
>         
>         Yes, I did.
>         
>         I had to install g ++ -4.1 package.  Then I was able to
>         compliel the 
>         modules with no problem.
>         
>         HTH
>         
>         joe
>         
Sorry, I made a faulty assumption. I forgot that before I installed g
++-41 I downloaded a patch called vmware-any-any-update109 from this
site:
http://platan.vc.cvut.cz/ftp/pub/vmware/

That should solve your problem for compiling the modules.

Download, extract and the run runme.pl file and try again

HTH

Joe
> 

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug