Re: 2.6.3-mjb1 vmware modules compile error..

From: Steve Kieu
Date: Sat Feb 21 2004 - 22:52:57 EST



Hi,


bash-2.05b# make
Unable to find VMware installation database. Using
'vmware'.
Building for VMware Workstation 3.2.0.
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.1-mm4/build/include/..
SUBDIRS=$PWD SRCROOT=$PWD/. modu
les
make[1]: Entering directory `/vol/hdb5/linux'
*** Warning: Overriding SUBDIRS on the command line
can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to
date.
CHK include/asm-i386/asm_offsets.h
CC [M] /root/vmmon-6/linux/driver.o
driver.c:7:27: driver-config.h: No such file or
directory
driver.c:23:29: linux/malloc.h: No such file or
directory
driver.c:41:20: vmware.h: No such file or directory
In file included from driver.c:42:
driver.h:9:26: inclu

deCheck.h: No such file or directory
driver.h:14:21: machine.h: No such file or directory
driver.h:15:19: vmx86.h: No such file or directory
driver.h:16:21: vm_time.h: No such file or directory
driver.h:17:29: compat_spinlock.h: No such file or
directory
driver.h:18:25: compat_wait.h: No such file or
directory
driver.h:19:19: vmx86.h: No such file or directory
In file included from driver.c:42:
driver.h:36: error: parse error before "VA"
driver.h:36: warning: no semicolon at end of struct or
unionmake[2]: *** Deletin
g file `/root/vmmon-6/linux/driver.o'
make[2]: *** [/root/vmmon-6/linux/driver.o] Interrupt
make[1]: *** [/root/vmmon-6] Interrupt
make: *** [vmmon.ko] Interrupt

The strange thing is in Makefile.kernel it has the
line
INCLUDE := -I$(SRCROOT)/include -I$(SRCROOT)/common
-I$(SRCROOT)/linux

I just extract the vmmon.tar from the vmware-any---
package and run make in the source dir. It works with
all vanila kernels and mm tree, but not with mjb1.

Thanks for your reply


=====
S.KIEU

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/