helpwith gcc on vmware workstaion install 6.5

Discussion in 'Installation/Configuration' started by wiseman, Nov 2, 2009.

  1. wiseman

    wiseman New Member

    I am on a linux debian install 32bit kernel 2.6.28.4trying to get vmware workstation 6.5 upand running
    but i get this message

    our kernel was built with "gcc" version "4.3.3", while you are trying to use
    "/usr/bin/gcc" version "4.3.4". 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.4" anyway? [no]


    I cannot seem to find a gcc 4.3.3 deb package anywhere

    any suggestions please

    wiseman

    ps i said `yes` to the above question but came stuck on the next question see below

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



    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config1/vmmon-only'
    make -C /lib/modules/2.6.28.4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.28.4'
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config1/vmmon-only/./include/vmware.h:25,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:48:
    /tmp/vmware-config1/vmmon-only/./include/vm_basic_types.h:170: error: conflicting types for 'uintptr_t'
    include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
    In file included from /tmp/vmware-config1/vmmon-only/./include/x86.h:21,
    from /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/x86apic.h:79:1: warning: "APIC_BASE_MSR" redefined
    In file included from /usr/src/linux-headers-2.6.28.4/arch/x86/include/asm/fixmap_32.h:29,
    from /usr/src/linux-headers-2.6.28.4/arch/x86/include/asm/fixmap.h:5,
    from /usr/src/linux-headers-2.6.28.4/arch/x86/include/asm/apic.h:8,
    from /usr/src/linux-headers-2.6.28.4/arch/x86/include/asm/smp.h:13,
    from include/linux/smp.h:30,
    from include/linux/topology.h:33,
    from include/linux/mmzone.h:763,
    from include/linux/gfp.h:4,
    from include/linux/kmod.h:22,
    from include/linux/module.h:13,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
    /usr/src/linux-headers-2.6.28.4/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
    In file included from /tmp/vmware-config1/vmmon-only/./include/x86.h:23,
    from /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/x86cpuid.h:381:1: warning: "BIT_MASK" redefined
    In file included from include/linux/kernel.h:15,
    from /tmp/vmware-config1/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-config1/vmmon-only/./include/x86.h:24,
    from /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
    In file included from /usr/src/linux-headers-2.6.28.4/arch/x86/include/asm/processor.h:18,
    from include/linux/prefetch.h:14,
    from include/linux/list.h:6,
    from include/linux/module.h:9,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
    /usr/src/linux-headers-2.6.28.4/arch/x86/include/asm/page.h:22:1: warning: this is the location of the previous definition
    In file included from /tmp/vmware-config1/vmmon-only/./include/vmci_kernel_defs.h:26,
    from /tmp/vmware-config1/vmmon-only/./common/vmciContext.h:19,
    from /tmp/vmware-config1/vmmon-only/linux/driver.h:21,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
    /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
    In file included from /tmp/vmware-config1/vmmon-only/./include/vmci_kernel_defs.h:26,
    from /tmp/vmware-config1/vmmon-only/./common/vmciContext.h:19,
    from /tmp/vmware-config1/vmmon-only/linux/driver.h:21,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
    /tmp/vmware-config1/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
    In file included from /tmp/vmware-config1/vmmon-only/linux/vmhost.h:13,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
    /tmp/vmware-config1/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
    /tmp/vmware-config1/vmmon-only/linux/driver.c:149: error: unknown field 'nopage' specified in initializer
    /tmp/vmware-config1/vmmon-only/linux/driver.c:150: warning: initialization from incompatible pointer type
    /tmp/vmware-config1/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
    /tmp/vmware-config1/vmmon-only/linux/driver.c:1715: error: 'struct mm_struct' has no member named 'dumpable'
    /tmp/vmware-config1/vmmon-only/linux/driver.c:1726: error: too many arguments to function 'smp_call_function'
    make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.28.4'
    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.
     
    Last edited: Nov 2, 2009
  2. falko

    falko Super Moderator ISPConfig Developer

  3. wiseman

    wiseman New Member

    linux can be difficult at times-gcc-.4.3.3

    followed the howto but same rror message

    but vmware wks 7 bundle installed ok like on a windows machine

    wiseman
     
    Last edited: Nov 4, 2009

Share This Page