Hallo,
beim Ausführen von vmware-config.pl erhalte ich folgenden C-CompilerERROR:
Building for VMware Workstation 5.5.0 or 5.5.1.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config12/vmmon-only'
make -C /lib/modules/2.6.22.9-0.4-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22.9-0.4-obj/i386/default'
make -C ../../../linux-2.6.22.9-0.4 O=../linux-2.6.22.9-0.4-obj/i386/default modules
CC [M] /tmp/vmware-config12/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config12/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config12/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config12/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config12/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config12/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config12/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
In file included from /tmp/vmware-config12/vmmon-only/common/hostKernel.h:56,
from /tmp/vmware-config12/vmmon-only/common/task.c:24:
include2/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’:
include2/asm/page.h:112: error: expected primary-expression before ‘)’ token
include2/asm/page.h:112: error: expected ‘;’ before ‘{’ token
include2/asm/page.h:112: error: expected primary-expression before ‘.’ token
include2/asm/page.h:112: error: expected `;' before ‘}’ token
make[4]: *** [/tmp/vmware-config12/vmmon-only/common/task.o] Error 1
make[3]: *** [_module_/tmp/vmware-config12/vmmon-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.9-0.4-obj/i386/default'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config12/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.
Auch der neueste any-any-patch bringt kein besseres Ergebnis.
Kernel Version: 2.6.22.9-0.4-default i686
Ich sehe natürlich, das es wohl an der
"cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++" liegt aber ich bin kein Programmierer...:-(
Hat jemand eine Idee wie ich das lösen könnte?
Danke im Voraus
beim Ausführen von vmware-config.pl erhalte ich folgenden C-CompilerERROR:
Building for VMware Workstation 5.5.0 or 5.5.1.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config12/vmmon-only'
make -C /lib/modules/2.6.22.9-0.4-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22.9-0.4-obj/i386/default'
make -C ../../../linux-2.6.22.9-0.4 O=../linux-2.6.22.9-0.4-obj/i386/default modules
CC [M] /tmp/vmware-config12/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config12/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config12/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config12/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config12/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config12/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config12/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
In file included from /tmp/vmware-config12/vmmon-only/common/hostKernel.h:56,
from /tmp/vmware-config12/vmmon-only/common/task.c:24:
include2/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’:
include2/asm/page.h:112: error: expected primary-expression before ‘)’ token
include2/asm/page.h:112: error: expected ‘;’ before ‘{’ token
include2/asm/page.h:112: error: expected primary-expression before ‘.’ token
include2/asm/page.h:112: error: expected `;' before ‘}’ token
make[4]: *** [/tmp/vmware-config12/vmmon-only/common/task.o] Error 1
make[3]: *** [_module_/tmp/vmware-config12/vmmon-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.9-0.4-obj/i386/default'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config12/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.
Auch der neueste any-any-patch bringt kein besseres Ergebnis.
Kernel Version: 2.6.22.9-0.4-default i686
Ich sehe natürlich, das es wohl an der
"cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++" liegt aber ich bin kein Programmierer...:-(
Hat jemand eine Idee wie ich das lösen könnte?
Danke im Voraus