Results 1 to 4 of 4

Thread: Vmware Installation aborted

  1. #1
    bigjig NNTP User

    Unhappy Vmware Installation aborted

    Hi, I've just installed Opensuse 11 and I am unable to load vmware.
    I had dont it in the past on suse 10.3 but I'm not sure whats going wrong...

    I have gcc, gcc-c++, binutils, make and kernal-source packaged installed.

    Installed VMware rpm.

    Got any-any-115 update.

    Check the output below...

    linux-053v2:/home/j/Desktop/vmware-any-any-update115 # ./runme.pl
    Updating /usr/bin/vmware ... No patch needed/available
    Updating /usr/bin/vmnet-bridge ... No patch needed/available
    Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
    Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
    VMware modules in "/usr/lib/vmware/modules/source" has been updated.

    Before running VMware for the first time after update, you need to configure it
    for your running kernel by invoking the following command:
    "/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
    you now? [yes]

    y
    Making sure services for VMware Workstation are stopped.

    Stopping VMware services:
    Virtual machine monitor done

    Configuring fallback GTK+ 2.4 libraries.

    In which directory do you want to install the theme icons?
    [/usr/share/icons]
    The path "y" is a relative path. Please enter an absolute path.

    In which directory do you want to install the theme icons?
    [/usr/share/icons]

    What directory contains your desktop menu entry files? These files have a
    .desktop file extension. [/usr/share/applications]

    In which directory do you want to install the application's icon?
    [/usr/share/pixmaps]

    Trying to find a suitable vmmon module for your running kernel.

    None of the pre-built vmmon modules for VMware Workstation is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [yes]

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    Your kernel was built with "gcc" version "4.3.1", while you are trying to use
    "/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware
    Workstation may crash if you'll continue. Please try to use exactly same
    compiler as one used for building your kernel. Do you want to go with compiler
    "/usr/bin/gcc" version "4.3" anyway? [no] y

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.25.5-1.1-pae/build/include]

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Unknown VMware Workstation 6.0.4 build 93057 detected. Building for Workstation 6.0.0.
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config1/vmmon-only'
    make -C /lib/modules/2.6.25.5-1.1-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
    make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. modules
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driverLog.o
    CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o
    CC [M] /tmp/vmware-config1/vmmon-only/common/comport.o
    CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
    In file included from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
    from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
    from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
    from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
    from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
    include2/asm/bitops.h:9:2: error: #error only <linux/bitops.h> can be included directly
    In file included from include2/asm/cpufeature.h:118,
    from include2/asm/alternative.h:42,
    from include2/asm/bitops.h:13,
    from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
    from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
    from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
    from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
    from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function get_bitmask_order:
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:29: error: implicit declaration of function fls
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function hweight_long:
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: implicit declaration of function hweight32
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: implicit declaration of function hweight64
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h: In function fls_long:
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:112: error: implicit declaration of function fls64
    In file included from include2/asm/bitops.h:316,
    from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
    from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
    from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
    from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
    from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
    include2/asm/bitops_32.h: At top level:
    include2/asm/bitops_32.h:134: error: static declaration of fls follows non-static declaration
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:29: error: previous implicit declaration of fls was here
    In file included from include2/asm/bitops_32.h:145,
    from include2/asm/bitops.h:316,
    from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
    from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
    from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
    from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
    from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
    /usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/hweight.h:6: error: conflicting types for hweight32
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: previous implicit declaration of hweight32 was here
    /usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/hweight.h:9: error: conflicting types for hweight64
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:45: error: previous implicit declaration of hweight64 was here
    In file included from include2/asm/bitops_32.h:149,
    from include2/asm/bitops.h:316,
    from /tmp/vmware-config1/vmmon-only/./include/vcpuset.h:74,
    from /tmp/vmware-config1/vmmon-only/./include/modulecall.h:23,
    from /tmp/vmware-config1/vmmon-only/common/vmx86.h:19,
    from /tmp/vmware-config1/vmmon-only/common/hostif.h:18,
    from /tmp/vmware-config1/vmmon-only/common/cpuid.c:15:
    /usr/src/linux-2.6.25.5-1.1/include/asm-generic/bitops/fls64.h:6: error: static declaration of fls64 follows non-static declaration
    /usr/src/linux-2.6.25.5-1.1/include/linux/bitops.h:112: error: previous implicit declaration of fls64 was here
    make[4]: *** [/tmp/vmware-config1/vmmon-only/common/cpuid.o] Error 1
    make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config1/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.

    I am not sure how to go about fixing this. Looking forward to your reply.

    Many thanks.

  2. #2

    Default Re: Vmware Installation aborted

    Make sure you are using the latest version of VMWare, otherwise it will result in the issue you're having.

  3. #3
    Join Date
    Jun 2008
    Location
    The Netherlands
    Posts
    1,273

    Default Re: Vmware Installation aborted

    uninstall vmware (needed for the vmware-any-any to work) and retry following this thread: Suse 11.o Beta And Vmware 6.0.3 - openSUSE Forums

    Ok... Tested and have VMWare Workstation 6.0.3 up and running on openSUSE 11 beta2 & kernel 2.6.25

    What should work:

    make sure you have these packages installed:
    - kernel-source
    - make
    - gcc
    - gcc ++ (!)

    1) install the VMware-workstation-6.0.3-80004.i386.rpm (or by using the vmware install script found in the tar version).

    ** do NOT run the vmware-config.pl script yet! **

    2) Download , unpack vmware-any-any-117 (earlier versions won't work!)
    found here : <strike>http://groups.google.com/group/vmkernelnewbies/files</strike>
    http://download.rsbac.org/tmp/vmware...date117.tar.gz <- correct patch for openSUSE 11 (at least it's working here).

    3) cd into the vmware-any-any directory and run (as root) the runme.pl
    when asked to run vmware-config answer yes

    There are some warnings (like gcc being of a different version) but the modules should build fine.

    * If you are using an existing VM's reinstall the vmware tools in it - it's been reported to fix sluggishness problems.

    Hope it helps,
    Wj

    edit: <strike>after doing a kernel update the vmnet module is not building... argghh..</strike>

    Note : Althogh VMware WS 6.0.4 should build normally without vmware-any-any patch, there have been reports of having slow VM action... ifso, uninstall and retry the install with the mentioned 6.0.3 version.

    Good luck!
    Wj
    Last edited by Magic31; 25-Jun-2008 at 05:48. Reason: added vmware 6.0.4 remark
    Have a lot of fun!

  4. #4

    Default Re: Vmware Installation aborted

    Unfortunately, in the error-report the version of VMWare is 6.04 and this the latest non-beta version. Today VMWare has a beta version for version 6.5. You can try that, but remember, this is a beta.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •