Re: Re: Compiling third-party kernel modules for amd64 kernel on Debian/386
Hi, Hello, try vmware-any-any-update found at http://ftp.cvut.cz/vmware/ I tried the any-any-update93 to install vmware build 13124, but it still fails with: make: Entering directory `/tmp/vmware-config6/vmmon-only' make -C /lib/modules/2.6.11-9-amd64-k8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernel-headers-2.6.11-9-amd64-k8' CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config6/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config6/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config6/vmmon-only/common/hash.o CC [M] /tmp/vmware-config6/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config6/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config6/vmmon-only/common/task.o 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++ cc1plus: warning: command line option -Wdeclaration-after-statement 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++ CC [M] /tmp/vmware-config6/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config6/vmmon-only/vmcore/compat.o CC [M] /tmp/vmware-config6/vmmon-only/vmcore/moduleloop.o LD [M] /tmp/vmware-config6/vmmon-only/vmmon.o Building modules, stage 2. MODPOST modpost: /tmp/vmware-config6/vmmon-only/vmmon.o no symtab? /bin/sh: line 1: 11235 Aborted scripts/mod/modpost -i /usr/src/kernel-headers-2.6.11-9-amd64-k8/Module.symvers /tmp/vmware-config6/vmmon-only/vmmon.o make[2]: *** [__modpost] Error 134 Any hint ? Thanks, Xav PS: please Cc: me, I'm off-list. Sorry for Cc:ing you, I'm not sure it would have reached you otherwise. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compiling third-party kernel modules for amd64 kernel on Debian/386
I've personally had no difficulty whatsoever with VMware 5 natively on AMD64 Debian, including the building of kernel modules. Is your kernel built with the same version of GCC as gcc -v reports? Xavier Bestel wrote: Hi, Hello, try vmware-any-any-update found at http://ftp.cvut.cz/vmware/ I tried the any-any-update93 to install vmware build 13124, but it still fails with: make: Entering directory `/tmp/vmware-config6/vmmon-only' make -C /lib/modules/2.6.11-9-amd64-k8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernel-headers-2.6.11-9-amd64-k8' CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config6/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config6/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config6/vmmon-only/common/hash.o CC [M] /tmp/vmware-config6/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config6/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config6/vmmon-only/common/task.o 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++ cc1plus: warning: command line option -Wdeclaration-after-statement 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++ CC [M] /tmp/vmware-config6/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config6/vmmon-only/vmcore/compat.o CC [M] /tmp/vmware-config6/vmmon-only/vmcore/moduleloop.o LD [M] /tmp/vmware-config6/vmmon-only/vmmon.o Building modules, stage 2. MODPOST modpost: /tmp/vmware-config6/vmmon-only/vmmon.o no symtab? /bin/sh: line 1: 11235 Aborted scripts/mod/modpost -i /usr/src/kernel-headers-2.6.11-9-amd64-k8/Module.symvers /tmp/vmware-config6/vmmon-only/vmmon.o make[2]: *** [__modpost] Error 134 Any hint ? Thanks, Xav PS: please Cc: me, I'm off-list. Sorry for Cc:ing you, I'm not sure it would have reached you otherwise. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compiling third-party kernel modules for amd64 kernel on Debian/386
On Fri, 2005-07-22 at 11:59, Jo Shields wrote: I've personally had no difficulty whatsoever with VMware 5 natively on AMD64 Debian, including the building of kernel modules. Is your kernel built with the same version of GCC as gcc -v reports? Like the original poster, I'm using a 64bits kernel in a 32bits userspace environment. I have added -m64 to the kernel headers' Makefile CFLAGS to have gcc (which has the same version, as checked by vmware-config.pl) generate code for the correct architecture, but modpost fails in the same way. Xav -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compiling third-party kernel modules for amd64 kernel on Debian/386
Xavier Bestel [EMAIL PROTECTED] writes: On Fri, 2005-07-22 at 11:59, Jo Shields wrote: I've personally had no difficulty whatsoever with VMware 5 natively on AMD64 Debian, including the building of kernel modules. Is your kernel built with the same version of GCC as gcc -v reports? Like the original poster, I'm using a 64bits kernel in a 32bits userspace environment. I have added -m64 to the kernel headers' Makefile CFLAGS to have gcc (which has the same version, as checked by vmware-config.pl) generate code for the correct architecture, but modpost fails in the same way. Xav The kernel-image-amd64 package overrides a few more things to get the kernel building, like ld and as. You might have to do that too. Personaly I recomend running cdebootstrap to build a 64bit chroot and compile the stuff in there. MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compiling third-party kernel modules for amd64 kernel on Debian/386
Ok, I finally found a solution: I rebuilt the script/mod/modpost executable and copied it over the one in the kernel-build directory, and the installation went perfectly. Thanks, Xav -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Compiling third-party kernel modules for amd64 kernel on Debian/386
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 [EMAIL PROTECTED] | 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) signature.asc Description: Digital signature