Hello ..
i've reinstalled linux completely due to some "minor inconveniencies" and
i'm trying
to reinstall vmware workstation.
during the vmware-config.pl file you have to run after the rpm
installation, i get some weird compilation warnings... like this.
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
and then fatal:
make[2]: Cambiando a directorio
`/root/tmp/vmware-config5/vmmon-only/driver-2.4.17-16mdk'
<command line>: warning: "cpu" re-asserted
<command line>: warning: "machine" re-asserted
In file included from .././linux/driver.c:38:
/lib/modules/2.4.17-16mdk/build/include/linux/malloc.h:4:2: warning:
#warning linux/malloc.h is deprecated, use linux/slab.h instead.
cpp: -lang-c: linker input file unused since linking not done
In file included from
/lib/modules/2.4.17-16mdk/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.17-16mdk/build/include/linux/kernel.h:72: parse error
before `va_list'
/lib/modules/2.4.17-16mdk/build/include/linux/kernel.h:72: warning: function
declaration isn't a prototype
/lib/modules/2.4.17-16mdk/build/include/linux/kernel.h:75: parse error
before `va_list'
/lib/modules/2.4.17-16mdk/build/include/linux/kernel.h:75: warning: function
declaration isn't a prototype
/lib/modules/2.4.17-16mdk/build/include/linux/kernel.h:79: parse error
before `va_list'
/lib/modules/2.4.17-16mdk/build/include/linux/kernel.h:79: warning: function
declaration isn't a prototype
.././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]: Saliendo directorio
`/root/tmp/vmware-config5/vmmon-only/driver-2.4.17-16mdk'
make[1]: *** [driver] Error 2
make[1]: Saliendo directorio `/root/tmp/vmware-config5/vmmon-only'
make: *** [auto-build] Error 2
make: Saliendo directorio `/root/tmp/vmware-config5/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.
now, what is re-asserted? it's the first time i see those coming up on
vmware-config, which is used after every kernel update...
besides, all those warnings...... and this doesn't look like a gcc problem
anyway.
i tried using gcc 2.96 and 3.0.1. exactly the same issue.
any help greatly appreciated, as always ;o)
thanks!!
Damian
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com