Results 1 to 11 of 11

Thread: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

  1. #1
    Join Date
    Jul 2011
    Posts
    80

    How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    Actually I want to run VMware in ubuntu 11.04. My kernel version is 2.6.38-8. I don’t know how to run it. Anyone who can guide me in running this in ubuntu.

  2. #2
    Join Date
    Jun 2009
    Posts
    1,518

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    steps

    Code:
    $ tar xfzv VMplayer_3.0.0-203739.x86_64_2.6.38-8.tgz
    $ cd VMplayer_3.0.0-203739.x86_64_2.6.38-8
    $ chmod +x patch_apply.sh
    $ sudo ./patch_apply.sh
    $ sudo vmware-modconfig  --console  --install-all

  3. #3
    Join Date
    Nov 2008
    Posts
    1,514

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    After following your steps still it’s not working.Dont know whats the actual problem

  4. #4
    Join Date
    Jul 2011
    Posts
    88

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    Possibly will you generate this patch for VMware Player 3.1.3-324285.x86_64 well?

  5. #5
    Join Date
    Mar 2010
    Posts
    204

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    I have to work. When I installed the latest version of VMware player, all is well. Was 3.1. Something and I installed 3.1.4 Build-385 536, which is the last and everything worked.

  6. #6
    Join Date
    Nov 2008
    Posts
    1,259

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    For me it’s not working you can check the output
    Code
    s
    Code:
    udo vmware-modconfig --console --install-all
    Stopping VMware services:
    VMware USB Arbitrator                                            
    VM communication interface socket family                           
    Virtual machine communication interface                             
    Virtual machine monitor                                            
    Blocking file system                                               
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
    make -C /lib/modules/2.6.38-8-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
      CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
    /tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘init_module’:
    /tmp/vmware-root/modules/vmmon-only/linux/driver.c:425:15: error: ‘struct file_operations’ has no member named ‘ioctl’
    /tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-root/modules/vmmon-only/linux/driver.c:1736:7: error: implicit declaration of function ‘kernel_locked’
    make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
    Unable to install vmmon

  7. #7
    Join Date
    Nov 2008
    Posts
    1,022

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    Code:
    Do this changes it will surely  work .
    code
    install the kernel headers: 
    
    sudo apt-get install linux-headers-`uname-r` 
    
    2) install development applications: 
    
    sudo apt-get install build-essential 
    
    3) Remove the current VMplayer 
    
    vmware-installer sudo vmware-player-u 
    sudo rm-rf / usr / lib / vmware 
    
    4) Establish linkages to detect headers vmware 
    sudo ln-s / usr/src/linux-headers- `uname-r` / include / generated / autoconf.h / usr/src/linux-headers- `uname-r` / include / linux / autoconf.h 
    sudo ln-s / usr/src/linux-headers- `uname-r` / include / generated / utsrelease.h / usr/src/linux-headers- `uname-r` / include / linux / utsrelease.h
    
    5) Download the version 3.0.0 of WMplayer
    6) Execute the .bundle file
    ./VMware-Player-3.0.0-203739.x86_64.bundle
     7) Apply the patch
    tar xfzv VMplayer_3.0.0-203739.x86_64_2.6.38-8.tgz
    cd VMplayer_3.0.0-203739.x86_64_2.6.38-8
    chmod +x patch_apply.sh
    sudo ./patch_apply.sh
    sudo vmware-modconfig  --console  --install-all

  8. #8
    Join Date
    May 2008
    Posts
    979

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    Do you have a similar patch for VMware Server 2.0 also?
    I have almost the same error "can not build the module Ummon" in Ubuntu 11.04 64B.
    Code:
    # Uname-a
    Linux 2.6.38-8-generic ego # 42 SMP Mon Ubuntu September 11 UTC 2011 x86_64 4:41:24 x86_64 GNU / Linux

  9. #9
    Join Date
    Nov 2008
    Posts
    1,192

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    I'm still running Maverick (kernel 2.6.35-28) and all is well with workstation and player, but thanks for this!

  10. #10
    Join Date
    Jul 2011
    Posts
    88

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    I had followed his training partner, although still not my job I acquire VMware Player, the most horrible, not even distinguish any movement on the display after the time more than a few click the icon of VMware. My kernel is 2.6.38-8-generic again Am I missing something mate?

  11. #11
    Join Date
    Mar 2010
    Posts
    310

    Re: How to compile VMware in ubuntu 11.04 using kernel 2.6.38-8

    You have to notify VMware Player to make use of your own glip: Insert the line

    Code:
    Export LD_PRELOAD=/usr/lib/vmware/lib/libglib-2.0.so.0/libglib-2.0.so.0
    Now it will be working like charm.

Similar Threads

  1. Replies: 3
    Last Post: 15-09-2011, 10:42 PM
  2. Replies: 5
    Last Post: 03-06-2011, 10:34 AM
  3. Debian i686 kernel compile
    By chetna56 in forum Operating Systems
    Replies: 3
    Last Post: 04-01-2011, 06:41 AM
  4. Compile kernel 2.6.35.7 for centos 5.5
    By hardyB in forum Operating Systems
    Replies: 5
    Last Post: 12-11-2010, 11:12 PM
  5. Can't compile driver under 2.6.33 kernel
    By Sibi.D in forum Windows Software
    Replies: 4
    Last Post: 08-04-2010, 03:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,113,591.11881 seconds with 17 queries