Hi.
I have new Gentoo kernel (2.6.22). Now i wish just install vmware-modules.
\# emerge --oneshot vmware-modules
(...)
Preparing vmmon module
Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/hostif.o
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/cpuid.o
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/hash.o
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/memtrack.o
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/phystrack.o
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wstrict-prototypes" 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 C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
include/asm/page.h: In function pte_t native_make_pte(long unsigned int):
include/asm/page.h:112: error: expected primary-expression before ) token
include/asm/page.h:112: error: expected ; before { token
include/asm/page.h:112: error: expected primary-expression before . token
include/asm/page.h:112: error: expected `;' before } token
make[3]: *** /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o Error 1
make[2]: *** \[_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Error 2
make[1]: *** \[modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo'
make: *** \[vmmon.ko] Error 2
*
ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
Call stack:
ebuild.sh, line 1647: Called dyn_compile
ebuild.sh, line 988: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1327: Called linux-mod_src_compile
linux-mod.eclass, line 516: Called die
*
Unable to make auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.22-gentoo/build.
If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/build.log'.
Any hints?
Greets.