Hi, I just installed kernel-image-2.6.8-9-amd64-k8 and kernel-headers-2.6.8-9-amd64-k8 from Debian/unstable. I also have gcc 3.4 installed and made sure my /usr/bin/gcc was pointing to gcc-3.4 (and the same for g++). Now I want to compile the VMWare modules: ------------------------------------------------------------------------ # vmware-config.pl ... snip ... Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config7/vmmon-only' make -C /usr/src/kernel-headers-2.6.8-9-amd64-k8/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-9-amd64-k8' CC [M] /tmp/vmware-config7/vmmon-only/linux/driver.o /tmp/vmware-config7/vmmon-only/linux/driver.c:1: error: code model `kernel' not supportedin the 32 bit mode ------------------------------------------------------------------------ So I edited /usr/src/kernel-headers-2.6.8-9-amd64-k8/Makefile and added -m64 to the CFLAGS and retried the build: ------------------------------------------------------------------------ # vmware-config.pl ... snip ... make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-9-amd64-k8' CC [M] /tmp/vmware-config8/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config8/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config8/vmmon-only/common/cpuid.o ... snip ... LD [M] /tmp/vmware-config8/vmmon-only/vmmon.o Building modules, stage 2. MODPOST modpost: /tmp/vmware-config8/vmmon-only/vmmon.o no symtab? /bin/sh: line 1: 17532 Aborted (core dumped) scripts/mod/modpost -i /usr/src/kernel-headers-2.6.8-9-amd64-k8/Module.symvers /tmp/vmware-config8/vmmon-only/vmmon.o make[2]: *** [__modpost] Error 134 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-9-amd64-k8' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config8/vmmon-only' Unable to build the vmmon module. ------------------------------------------------------------------------ I am having similar problems building the NVIDIA drivers, and I am at a loss how to proceed. Any suggestions? -- Dave Carrigan Seattle, WA, USA dave@rudedog.org | http://www.rudedog.org/ | ICQ:161669680 UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL Dave is currently listening to Andy White - All Of The Thing I Can Bring (Teenage)
Attachment:
signature.asc
Description: Digital signature