LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble installing vmware v5.5.3.34685 in openSUSE 10.2 (https://www.linuxquestions.org/questions/linux-software-2/trouble-installing-vmware-v5-5-3-34685-in-opensuse-10-2-a-508898/)

tomazN 12-09-2006 03:45 PM

Trouble installing vmware v5.5.3.34685 in openSUSE 10.2
 
Here we go:

I have prepared kernel. Trying to compile vmware modules hanges.

make[4]: *** [/tmp/vmware-config11/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config11/vmmon-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config11/vmmon-only'
Unable to build the vmmon module.

I have tried to patch the vmware source and config files with
vmware-any-any-update105.tar.gz which gave me this:

Updating /usr/bin/vmware-config.pl ... corrupted
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.

But it still failes at same point when tryin to compile modules.
My kernel is: 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 athlon i386 GNU/Linux

My proc is X86_64 Athlon.

I had vmware working on SuSE 10.0 64bit just fine.

Any info what am i missing that i can not get this to work ? Any help appreciated.

Thx for any help given in advance.

acid_kewpie 12-09-2006 03:51 PM

the actual error looks to be higher up than the output you've pasted, that's just fallout and debris from the real problem... scroll up a bit next time.

tomazN 12-09-2006 03:54 PM

Here the all thing if it helps:

Code:

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config13/vmmon-only'
make -C /lib/modules/2.6.18.2-34-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/x86_64/default modules
  CC [M]  /tmp/vmware-config13/vmmon-only/linux/driver.o
In file included from /usr/src/linux-2.6.18.2-34/include/linux/timex.h:193,
                from /usr/src/linux-2.6.18.2-34/include/linux/sched.h:48,
                from /usr/src/linux-2.6.18.2-34/include/linux/module.h:9,
                from /tmp/vmware-config13/vmmon-only/linux/driver.c:12:
include2/asm/timex.h: In function ‘get_cycles’:
include2/asm/timex.h:25: warning: left shift count >= width of type
include2/asm/timex.h: In function ‘get_cycles_sync’:
include2/asm/timex.h:38: warning: left shift count >= width of type
In file included from /usr/src/linux-2.6.18.2-34/include/linux/hrtimer.h:19,
                from /usr/src/linux-2.6.18.2-34/include/linux/sched.h:82,
                from /usr/src/linux-2.6.18.2-34/include/linux/module.h:9,
                from /tmp/vmware-config13/vmmon-only/linux/driver.c:12:
/usr/src/linux-2.6.18.2-34/include/linux/ktime.h: In function ‘ktime_set’:
/usr/src/linux-2.6.18.2-34/include/linux/ktime.h:78: warning: comparison is always false due to limited range of data type
In file included from /usr/src/linux-2.6.18.2-34/include/linux/mm.h:38,
                from /usr/src/linux-2.6.18.2-34/include/linux/poll.h:11,
                from /tmp/vmware-config13/vmmon-only/linux/driver.c:25:
include2/asm/pgtable.h: In function ‘pgd_bad’:
include2/asm/pgtable.h:233: warning: left shift count >= width of type
include2/asm/pgtable.h: In function ‘pud_bad’:
include2/asm/pgtable.h:241: warning: left shift count >= width of type
include2/asm/pgtable.h: In function ‘pte_modify’:
include2/asm/pgtable.h:377: warning: left shift count >= width of type
In file included from include2/asm/pgtable.h:451,
                from /usr/src/linux-2.6.18.2-34/include/linux/mm.h:38,
                from /usr/src/linux-2.6.18.2-34/include/linux/poll.h:11,
                from /tmp/vmware-config13/vmmon-only/linux/driver.c:25:
/usr/src/linux-2.6.18.2-34/include/asm-generic/pgtable.h: In function ‘pmd_none_or_clear_bad’:
/usr/src/linux-2.6.18.2-34/include/asm-generic/pgtable.h:227: warning: left shift count >= width of type
In file included from /usr/src/linux-2.6.18.2-34/include/linux/poll.h:11,
                from /tmp/vmware-config13/vmmon-only/linux/driver.c:25:
/usr/src/linux-2.6.18.2-34/include/linux/mm.h: In function ‘lowmem_page_address’:
/usr/src/linux-2.6.18.2-34/include/linux/mm.h:534: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.18.2-34/include/linux/mm.h: In function ‘pud_alloc’:
/usr/src/linux-2.6.18.2-34/include/linux/mm.h:823: warning: left shift count >= width of type
/usr/src/linux-2.6.18.2-34/include/linux/mm.h:823: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.18.2-34/include/linux/mm.h: In function ‘pmd_alloc’:
/usr/src/linux-2.6.18.2-34/include/linux/mm.h:829: warning: left shift count >= width of type
/usr/src/linux-2.6.18.2-34/include/linux/mm.h:829: warning: integer constant is too large for ‘unsigned long’ type
In file included from /tmp/vmware-config13/vmmon-only/linux/driver.c:31:
include2/asm/io.h:103:28: warning: "__x86_64__" is not defined
In file included from /tmp/vmware-config13/vmmon-only/linux/driver.h:20,
                from /tmp/vmware-config13/vmmon-only/linux/driver.c:49:
/tmp/vmware-config13/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config13/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config13/vmmon-only/linux/driver.h:20,
                from /tmp/vmware-config13/vmmon-only/linux/driver.c:49:
/tmp/vmware-config13/vmmon-only/./include/compat_wait.h: At top level:
/tmp/vmware-config13/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
/usr/src/linux-2.6.18.2-34/include/linux/poll.h:62: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config13/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config13/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
/tmp/vmware-config13/vmmon-only/linux/driver.c: In function ‘LinuxDriverNoPage’:
/tmp/vmware-config13/vmmon-only/linux/driver.c:1013: warning: integer constant is too large for ‘unsigned long’ type
/tmp/vmware-config13/vmmon-only/linux/driver.c:1013: warning: comparison is always false due to limited range of data type
/tmp/vmware-config13/vmmon-only/linux/driver.c:1013: warning: integer constant is too large for ‘unsigned long’ type
/tmp/vmware-config13/vmmon-only/linux/driver.c:1013: warning: integer constant is too large for ‘unsigned long’ type
/tmp/vmware-config13/vmmon-only/linux/driver.c:1018: warning: integer constant is too large for ‘unsigned long’ type
/tmp/vmware-config13/vmmon-only/linux/driver.c:1018: warning: comparison is always false due to limited range of data type
/tmp/vmware-config13/vmmon-only/linux/driver.c:1018: warning: integer constant is too large for ‘unsigned long’ type
/tmp/vmware-config13/vmmon-only/linux/driver.c:1018: warning: integer constant is too large for ‘unsigned long’ type
make[4]: *** [/tmp/vmware-config13/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config13/vmmon-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config13/vmmon-only'
Unable to build the vmmon module.



All times are GMT -5. The time now is 09:54 AM.