[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

vmware problem



Hi,

I just installed kernel-image-2.6.8-9-amd64-k8 and
kernel-headers-2.6.8-9-amd64-k8 from Debian/unstable. I also have gcc
2.95.4 installed and made sure my /usr/bin/gcc was pointing to gcc-2.95.4 (and
the same for g++).

and  I download the vmware-any-any-update84.tar.gz

then I run the runme.pl in the vmware-any-any-update84

----------------------------------------------------------
Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware GSX Server 3.1.0 or VMware Workstation 4.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.8-9-amd64-generic/build/include/..
SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-9-amd64-generic'
 CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
cc1: Invalid option `no-red-zone'
cc1: Invalid option `cmodel=kernel'
cc1: Invalid option `-fno-reorder-blocks'
cc1: Invalid option `-fno-asynchronous-unwind-tables'
In file included from include/linux/bitops.h:4,
                from include/linux/thread_info.h:20,
                from include/linux/spinlock.h:12,
                from include/linux/capability.h:45,
                from include/linux/sched.h:7,
                from include/linux/module.h:10,
                from /tmp/vmware-config3/vmmon-only/linux/driver.c:16:
include/asm/bitops.h: In function `sched_find_first_bit':
include/asm/bitops.h:444: warning: control reaches end of non-void function
In file included from include/linux/timex.h:155,
                from include/linux/sched.h:11,
                from include/linux/module.h:10,
                from /tmp/vmware-config3/vmmon-only/linux/driver.c:16:
include/asm/timex.h: In function `get_cycles':
include/asm/timex.h:29: warning: left shift count >= width of type
In file included from include/linux/string.h:24,
                from include/linux/bitmap.h:8,
                from include/linux/cpumask.h:77,
                from include/linux/sched.h:15,
                from include/linux/module.h:10,
                from /tmp/vmware-config3/vmmon-only/linux/driver.c:16:
include/asm/string.h: At top level:
include/asm/string.h:50: warning: conflicting types for built-in
function `__builtin_memcmp'
In file included from include/linux/mm.h:30,
                from include/linux/poll.h:10,
                from /tmp/vmware-config3/vmmon-only/linux/driver.c:29:
include/asm/pgtable.h: In function `pgd_bad':
include/asm/pgtable.h:220: warning: left shift count >= width of type
include/asm/pgtable.h: In function `pgd_offset_k':
include/asm/pgtable.h:328: warning: right shift count >= width of type
include/asm/pgtable.h:329: warning: left shift count >= width of type
include/asm/pgtable.h: In function `current_pgd_offset_k':
include/asm/pgtable.h:338: warning: right shift count >= width of type
include/asm/pgtable.h:339: warning: left shift count >= width of type
include/asm/pgtable.h: In function `pte_modify':
include/asm/pgtable.h:380: warning: left shift count >= width of type
In file included from include/linux/poll.h:10,
                from /tmp/vmware-config3/vmmon-only/linux/driver.c:29:
include/linux/mm.h: In function `pmd_alloc':
include/linux/mm.h:587: warning: left shift count >= width of type
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.h:19,
                from /tmp/vmware-config3/vmmon-only/linux/driver.c:49:
/tmp/vmware-config3/vmmon-only/include/compat_wait.h: At top level:
/tmp/vmware-config3/vmmon-only/include/compat_wait.h:60: conflicting
types for `poll_initwait'
include/linux/poll.h:44: previous declaration of `poll_initwait'
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:81:
/tmp/vmware-config3/vmmon-only/include/compat_kernel.h: In function
`compat_exit':
/tmp/vmware-config3/vmmon-only/include/compat_kernel.h:21: unknown
register name `rcx' in `asm'
/tmp/vmware-config3/vmmon-only/include/compat_kernel.h:21: unknown
register name `r11' in `asm'
/tmp/vmware-config3/vmmon-only/linux/driver.c: At top level:
/tmp/vmware-config3/vmmon-only/linux/driver.c:149: warning:
initialization from incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c:153: warning:
initialization from incompatible pointer type
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function
`LinuxDriverIoctlAlloc4Gb':
/tmp/vmware-config3/vmmon-only/linux/driver.c:1313: warning: implicit
declaration of function `virt_to_phys'
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function
`LinuxDriver_IoctlV3':
/tmp/vmware-config3/vmmon-only/linux/driver.c:2835: warning: large
integer implicitly truncated to unsigned type
{standard input}: Assembler messages:
{standard input}:576: Error: suffix or operands invalid for `pop'
{standard input}:581: Error: suffix or operands invalid for `push'
{standard input}:648: Error: suffix or operands invalid for `pop'
{standard input}:667: Error: suffix or operands invalid for `push'
{standard input}:676: Error: suffix or operands invalid for `pop'
{standard input}:691: Error: suffix or operands invalid for `push'
{standard input}:1412: Error: Incorrect register `%eax' used with `q' suffix
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function `vLog':
/tmp/vmware-config3/vmmon-only/linux/driver.c:3285: warning: large
integer implicitly truncated to unsigned type
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function `vWarning':
/tmp/vmware-config3/vmmon-only/linux/driver.c:3316: warning: large
integer implicitly truncated to unsigned type
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-9-amd64-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/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.
-------------------------------------------------------------

what can i do?

thanks all



Reply to: