Results 1 to 6 of 6

Thread: vmware installation help

  1. #1

    Default vmware installation help

    I'm trying to install vmware and during the setup process, i'm getting this msg:

    The path "/usr/src/linux/include" is a kernel header file directory, but it
    does not contain the file "linux/version.h" as expected. This can happen if
    the kernel has never been built, or if you have invoked the "make mrproper"
    command in your kernel directory. In any case, you may want to rebuild your
    kernel.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]


    How should I go about doing this? Do I just run the command 'make all' in the linux folder?

  2. #2
    vajra NNTP User

    Default Re: vmware installation help

    Have you installed the packets
    # kernel-source
    # gcc
    # gcc-c++
    as specified here
    Cool Solutions: How to install VMware 5.0 workstation on SUSE Linux 10.0

    (you can use yast instead of comands to install them if you prefer)

  3. #3
    Join Date
    Jun 2008
    Location
    United States
    Posts
    423

    Default Re: vmware installation help

    This is a common occurrence with VMware on OpenSUSE.

    Like Vajra said, installing the kernel-sources should fix this problem for you. Since you are compiling and you also require the kernel sources, it would be a good idea to install all the development packages all at once. To do this, open YaST Package Manager and enter the root password when requested. Once the repositories finish refreshing, click the "Groups" and select "Patterns" from this list. Wait for the left column to refresh, and then scroll down until you reach the bolded heading "Development." Click the "Base Development" pattern and click "Install All." Once you have done that, select the "Linux Kernel Development" and select the "kernel-source" package. Click the "Install" button and then click "Apply" once you are finished. The installation might take a minute or two, but once it finishes, decline to install more software. That will install the development packages (gcc, make, etc.) and the kernel-source package, which will both be very useful in the future when compiling packages or applications from source.

    Exit the installer and retry after installing the sources.

    Hope that works for you!

    Folding@Home
    Help save lives with Folding@Home

  4. #4

    Default Re: vmware installation help

    Yes, I have all the requirements. I just recompiled the kernel and i was able to make further progress but it failed on module:

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config0/vmmon-only'
    make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-2.6.25.11-0.1'
    CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:25,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:83:
    /tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:168: error: redefinition of typedef uintptr_t
    include/linux/types.h:40: error: previous declaration of uintptr_t was here
    In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:23,
    from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
    /tmp/vmware-config0/vmmon-only/./include/x86cpuid.h:383:1: warning: "BIT_MASK" redefined
    In file included from include/linux/kernel.h:15,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:11:
    include/linux/bitops.h:7:1: warning: this is the location of the previous definition
    In file included from /tmp/vmware-config0/vmmon-only/./include/vmci_kernel_defs.h:26,
    from /tmp/vmware-config0/vmmon-only/./common/vmciContext.h:19,
    from /tmp/vmware-config0/vmmon-only/linux/driver.h:21,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
    /tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
    /tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
    In file included from /tmp/vmware-config0/vmmon-only/./include/vmci_kernel_defs.h:26,
    from /tmp/vmware-config0/vmmon-only/./common/vmciContext.h:19,
    from /tmp/vmware-config0/vmmon-only/linux/driver.h:21,
    from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
    /tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for poll_initwait
    include/linux/poll.h:65: error: previous declaration of poll_initwait was here
    /tmp/vmware-config0/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type
    make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.25.11-0.1'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config0/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.

  5. #5
    Gilbert NNTP User

    Default Re: vmware installation help

    soulblade118 wrote:

    > /tmp/vmware-config0/vmmon-only/linux/driver.c:198: warning:
    > initialization from incompatible pointer type
    > make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
    > make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
    > make[1]: Leaving directory `/usr/src/linux-2.6.25.11-0.1'


    I had this when trying to install VMWare. First check that your kernel
    sources match the version of the kernel that you are running.
    Type 'uname -r' (without the quotes) at a console and check that you get
    the answer 2.6.25.11-0.1 If you don't then the source doesn't match your
    kernel version.

    The actual solution for me was to go back to the VMWare site home page and
    navigate to the downloads from there and download the latest version. I'd
    gone directly to a "download" page via Google that was pointing to an
    earlier version. Doh!

    HTH

  6. #6
    dougsiew NNTP User

    Default Re: vmware installation help

    try the latest version of vmware workstation 6.0.4 or vmware-server 1.0.6.

Posting Permissions

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