K.S. Bhaskar on 26 Apr 2007 16:26:49 -0000

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

Re: [PLUG] vmware server: networking and clipboard

  • From: "K.S. Bhaskar" <bhaskar@bhaskars.com>
  • To: JWelsh@welshworks.com, "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] vmware server: networking and clipboard
  • Date: Thu, 26 Apr 2007 12:26:44 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=njXm04ZmVopBwe2dT2bRqVGVhm9uMW9vTRoMfU2T4ULpOG0+G+Ph0CVdJh6RRE5Dm2phnCK7WgXXbOOCrUvgLZV6Io1h+X/KVP1DuRjr7yICn8WaEnY/7wEaHlgq2dSYzAQoNJCgwJ0R1BJiho+Aatf6jy3LfK4SrzvqKG1w6uM=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

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.



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

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