did you install egcs-cpp? it's necessary to build vmware modules..

grtz


On Thursday 07 March 2002 16:38, Ray Carlino wrote:
> I still can't compile this is the error I get.
>
> None of VMware Workstation's pre-built vmmon modules is suitable for
> your
> running kernel.  Do you want this script to try to build the vmmon
> module for
> your system (you need to have a C compiler installed on your system)?
> [yes]
>
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> What is the location of the directory of C header files that match your
> running
> kernel? [/lib/modules/2.4.18-2mdkenterprise/build/include]
>
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> Extracting the sources of the vmmon module.
>
> Building the vmmon module.
>
> make: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[2]: Entering directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.18-2mdkenterprise'
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> In file included from .././linux/driver.c:38:
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/malloc.h:4:2:
> warning: #warning linux/malloc.h is deprecated, use linux/slab.h inste
> ad.
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> In file included from .././linux/hostif.c:26:
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/malloc.h:4:2:
> warning: #warning linux/malloc.h is deprecated, use linux/slab.h inste
> ad.
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> cpp: -lang-c: linker input file unused since linking not done
> make[2]: Leaving directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.18-2mdkenterprise'
> make[2]: Entering directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.18-2mdkenterprise'
> <command line>: warning: "cpu" re-asserted
> <command line>: warning: "machine" re-asserted
> In file included from .././linux/driver.c:38:
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/malloc.h:4:2:
> warning: #warning linux/malloc.h is deprecated, use linux/slab.h inste
> ad.
> cpp: -lang-c: linker input file unused since linking not done
> In file included from
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/kernel.h:10,
>                  from .././linux/driver.c:35:
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:43: parse
> error before `__gnuc_va_list'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:43:
> warning: data definition has no type or storage class
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:110:
> parse error before `va_list'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stdarg.h:110:
> warning: data definition has no type or storage class
> In file included from .././linux/driver.c:35:
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/kernel.h:72:
> parse error before `va_list'
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/kernel.h:72:
> warning: function declaration
> i/lib/modules/2.4.18-2mdkenterprise/build/include/linux/kernel.h:75:
> parse error before `va_list'
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/kernel.h:75:
> warning: function declaration
> i/lib/modules/2.4.18-2mdkenterprise/build/include/linux/kernel.h:79:
> parse error before `va_list'
> /lib/modules/2.4.18-2mdkenterprise/build/include/linux/kernel.h:79:
> warning: function declaration i.././linux/driver.c: In function
> `Warning':
> .././linux/driver.c:1110: `va_list' undeclared (first use in this
> function)
> .././linux/driver.c:1110: (Each undeclared identifier is reported only
> once
> .././linux/driver.c:1110: for each function it appears in.)
> .././linux/driver.c:1110: parse error before `args'
> .././linux/driver.c:1115: warning: implicit declaration of function
> `__builtin_stdarg_start'
> .././linux/driver.c:1115: `args' undeclared (first use in this function)
> .././linux/driver.c:1117: warning: implicit declaration of function
> `__builtin_va_end'
> .././linux/driver.c: In function `Log':
> .././linux/driver.c:1138: `va_list' undeclared (first use in this
> function)
> .././linux/driver.c:1138: parse error before `args'
> .././linux/driver.c:1143: `args' undeclared (first use in this function)
> .././linux/driver.c: In function `Panic':
> .././linux/driver.c:1176: `va_list' undeclared (first use in this
> function)
> .././linux/driver.c:1176: parse error before `args'
> .././linux/driver.c:1178: `args' undeclared (first use in this function)
> make[2]: *** [driver.o] Error 1
> make[2]: Leaving directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.18-2mdkenterprise'
> make[1]: *** [driver] Error 2
> make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
> make: *** [auto-build] 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 have
> a look at "http://www.vmware.com/download/modules/modules.html";.
>
> Execution aborted.
>
> On Wed, 2002-03-06 at 14:52, Byron Poland wrote:
> > Yep:
> >
> > [byron@oak byron]$ rpm -qa | grep kernel
> > NVIDIA_kernel-1.0-2314
> > kernel-headers-2.4.17-24mdk
> > kernel-2.4.18.4mdk-1-1mdk
> > kernel-2.4.18.2mdk-1-1mdk
> > kernel-source-2.4.18-4mdk
> >
> > On Wed, 2002-03-06 at 16:34, Ray Carlino wrote:
> > > is your kernel 2.4.18 and the headers 2.4.17 ????/
> > > That si what is on the cd...
> > >
> > > I will try again
> > >
> > > On Wed, 2002-03-06 at 14:26, Byron Poland wrote:
> > > > works fine with me (cooker install about 2 days before beta4 + all
> > > > the latest cooker updates)  Reran the vmware-config script today to
> > > > change some networking stuff.. ran with out a hitch.
> > > >
> > > > On Wed, 2002-03-06 at 16:08, Ray Carlino wrote:
> > > > > I can't compile vmware using beta 4..
> > > > > header version and kernel version do not match
> > > > >
> > > > > Ray

Reply via email to