* 2.6.3-mjb1 vmware modules compile error..
@ 2004-02-22 0:57 Steve Kieu
2004-02-22 1:13 ` Petr Vandrovec
0 siblings, 1 reply; 6+ messages in thread
From: Steve Kieu @ 2004-02-22 0:57 UTC (permalink / raw)
To: kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I can not compile vmware modules in kernel 2.6.3-mjb1
the compilation bomb wiht lot of error ; it can not
find out many header files, probably something changes
in the kernel build
system?
The vmmon modules I got from thi site
ftp://platan.vc.cvut.cz/pub/vmware/ version 51
(latest). vmnet compile
fine.
If you have any advice pls cc me. Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAOLVvv07eUvBr8ysRArB/AJ9d8NRFFweTc//xqkmlmUoBe7BiawCfYk44
DyMLQujVMJsqWdbaBk4IcJs=
=ML3C
-----END PGP SIGNATURE-----
=====
S.KIEU
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.3-mjb1 vmware modules compile error..
2004-02-22 0:57 2.6.3-mjb1 vmware modules compile error Steve Kieu
@ 2004-02-22 1:13 ` Petr Vandrovec
2004-02-22 3:49 ` Steve Kieu
0 siblings, 1 reply; 6+ messages in thread
From: Petr Vandrovec @ 2004-02-22 1:13 UTC (permalink / raw)
To: Steve Kieu; +Cc: kernel
On Sun, Feb 22, 2004 at 11:57:21AM +1100, Steve Kieu wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I can not compile vmware modules in kernel 2.6.3-mjb1
> the compilation bomb wiht lot of error ; it can not
> find out many header files, probably something changes
> in the kernel build
> system?
>
> The vmmon modules I got from thi site
> ftp://platan.vc.cvut.cz/pub/vmware/ version 51
> (latest). vmnet compile
> fine.
It would be nice if you could post beginning of the compilation
messages. It uses simple
$(DRIVER_KO):
make -C $(BUILD_DIR) SUBDIRS=$$PWD SRCROOT=$$PWD/$(SRCROOT) modules
to start build, so I have no idea why it should break on your system.
Petr
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.3-mjb1 vmware modules compile error..
2004-02-22 1:13 ` Petr Vandrovec
@ 2004-02-22 3:49 ` Steve Kieu
2004-02-22 4:28 ` Petr Vandrovec
0 siblings, 1 reply; 6+ messages in thread
From: Steve Kieu @ 2004-02-22 3:49 UTC (permalink / raw)
To: Petr Vandrovec; +Cc: kernel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.3-mjb1 vmware modules compile error..
2004-02-22 3:49 ` Steve Kieu
@ 2004-02-22 4:28 ` Petr Vandrovec
2004-02-22 15:49 ` Martin J. Bligh
0 siblings, 1 reply; 6+ messages in thread
From: Petr Vandrovec @ 2004-02-22 4:28 UTC (permalink / raw)
To: Steve Kieu; +Cc: kernel
On Sun, Feb 22, 2004 at 02:49:38PM +1100, Steve Kieu wrote:
>
> 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
> 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.
WTF? It prepends $(TOPDIR)/ to all include paths. I have
no idea what is this supposed to do, but I can guarantee
that I'm not going to support that kernel.
Petr Vandrovec
diff -purN -X /home/mbligh/.diff.exclude 000-virgin/scripts/Makefile.build 790-irq_vector/scripts/Makefile.build
--- 000-virgin/scripts/Makefile.build 2003-10-14 15:50:40.000000000 -0700
+++ 790-irq_vector/scripts/Makefile.build 2004-02-18 16:23:03.000000000 -0800
@@ -128,7 +128,16 @@ cmd_cc_i_c = $(CPP) $(c_flags) -
quiet_cmd_cc_o_c = CC $(quiet_modtag) $@
ifndef CONFIG_MODVERSIONS
-cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
+new1_c_flags = $(c_flags:-I%=-I$(TOPDIR)/%)
+new2_c_flags = $(new1_c_flags:-Wp%=)
+PWD = $(TOPDIR)
+
+quiet_cmd_cc_o_c = CC $(quiet_modtag) $@
+cmd_cc_o_c = $(CC) $(c_flags) -E -o $@ $< \
+ && cd $(dir $<) \
+ && $(CC) $(new2_c_flags) -c -o $(notdir $@) $(notdir $<) \
+ && cd $(TOPDIR)
+#cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
else
# When module versioning is enabled the following steps are executed:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.3-mjb1 vmware modules compile error..
2004-02-22 4:28 ` Petr Vandrovec
@ 2004-02-22 15:49 ` Martin J. Bligh
2004-02-22 19:46 ` Petr Vandrovec
0 siblings, 1 reply; 6+ messages in thread
From: Martin J. Bligh @ 2004-02-22 15:49 UTC (permalink / raw)
To: Petr Vandrovec, Steve Kieu; +Cc: kernel, Paul Larson
>> 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
>
>> 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.
>
> WTF? It prepends $(TOPDIR)/ to all include paths. I have
> no idea what is this supposed to do, but I can guarantee
> that I'm not going to support that kernel.
> Petr Vandrovec
>
Sigh. That's gcov. Paul, any idea why it's doing that?
M.
> diff -purN -X /home/mbligh/.diff.exclude 000-virgin/scripts/Makefile.build 790-irq_vector/scripts/Makefile.build
> --- 000-virgin/scripts/Makefile.build 2003-10-14 15:50:40.000000000 -0700
> +++ 790-irq_vector/scripts/Makefile.build 2004-02-18 16:23:03.000000000 -0800
> @@ -128,7 +128,16 @@ cmd_cc_i_c = $(CPP) $(c_flags) -
> quiet_cmd_cc_o_c = CC $(quiet_modtag) $@
>
> ifndef CONFIG_MODVERSIONS
> -cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
> +new1_c_flags = $(c_flags:-I%=-I$(TOPDIR)/%)
> +new2_c_flags = $(new1_c_flags:-Wp%=)
> +PWD = $(TOPDIR)
> +
> +quiet_cmd_cc_o_c = CC $(quiet_modtag) $@
> +cmd_cc_o_c = $(CC) $(c_flags) -E -o $@ $< \
> + && cd $(dir $<) \
> + && $(CC) $(new2_c_flags) -c -o $(notdir $@) $(notdir $<) \
> + && cd $(TOPDIR)
> +#cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
>
> else
> # When module versioning is enabled the following steps are executed:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.3-mjb1 vmware modules compile error..
2004-02-22 15:49 ` Martin J. Bligh
@ 2004-02-22 19:46 ` Petr Vandrovec
0 siblings, 0 replies; 6+ messages in thread
From: Petr Vandrovec @ 2004-02-22 19:46 UTC (permalink / raw)
To: Martin J. Bligh; +Cc: Steve Kieu, kernel, Paul Larson
On Sun, Feb 22, 2004 at 07:49:12AM -0800, Martin J. Bligh wrote:
> >> 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
> >
> >> 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.
> >
> > WTF? It prepends $(TOPDIR)/ to all include paths. I have
> > no idea what is this supposed to do, but I can guarantee
> > that I'm not going to support that kernel.
> > Petr Vandrovec
> >
>
> Sigh. That's gcov. Paul, any idea why it's doing that?
Maybe doing:
new1_c_flags = $(patsubst -I$(TOPDIR)//%,-I/%,$(c_flags:-I%=-I$(TOPDIR)/%))
would fix a problem.
Petr Vandrovec
>
> M.
>
>
> > diff -purN -X /home/mbligh/.diff.exclude 000-virgin/scripts/Makefile.build 790-irq_vector/scripts/Makefile.build
> > --- 000-virgin/scripts/Makefile.build 2003-10-14 15:50:40.000000000 -0700
> > +++ 790-irq_vector/scripts/Makefile.build 2004-02-18 16:23:03.000000000 -0800
> > @@ -128,7 +128,16 @@ cmd_cc_i_c = $(CPP) $(c_flags) -
> > quiet_cmd_cc_o_c = CC $(quiet_modtag) $@
> >
> > ifndef CONFIG_MODVERSIONS
> > -cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
> > +new1_c_flags = $(c_flags:-I%=-I$(TOPDIR)/%)
> > +new2_c_flags = $(new1_c_flags:-Wp%=)
> > +PWD = $(TOPDIR)
> > +
> > +quiet_cmd_cc_o_c = CC $(quiet_modtag) $@
> > +cmd_cc_o_c = $(CC) $(c_flags) -E -o $@ $< \
> > + && cd $(dir $<) \
> > + && $(CC) $(new2_c_flags) -c -o $(notdir $@) $(notdir $<) \
> > + && cd $(TOPDIR)
> > +#cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
> >
> > else
> > # When module versioning is enabled the following steps are executed:
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-02-22 19:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-22 0:57 2.6.3-mjb1 vmware modules compile error Steve Kieu
2004-02-22 1:13 ` Petr Vandrovec
2004-02-22 3:49 ` Steve Kieu
2004-02-22 4:28 ` Petr Vandrovec
2004-02-22 15:49 ` Martin J. Bligh
2004-02-22 19:46 ` Petr Vandrovec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®