> Host os: vist x64 u > Guest os: Debian (lenny) kernel: 2.6.26 > vm station version: 6.5.1 build 126130 > gcc : 4.3.2 > > I can't install vmware-tools for Debian (lenny), So i download the > open-vm-tools (2008.11.18), i'm sure i was installed all packages for > depends, but when i make it after './configrue' , i got the errors ( at > the attchement), any ideas? > Thanks for all help and view!
I have this problem on my Debian machine at home as well (which is Debian unstable). Basically, even though Debian's default gcc installation is now 4.3, the Debian kernel is still being built with gcc-4.1 for some reason. From /usr/src/linux-headers-2.6.26-1-amd64/.kernelvariables: ... CC = $(if $(DEBIAN_KERNEL_USE_CCACHE),$(CCACHE)) $(CROSS_COMPILE)gcc-4.1 ... When building kernel modules through our build system, we first check that the CC you're using matches the CC used to built the kernel. In this case, CC for the kernel was 4.1 and the CC you're using (/usr/bin/gcc -v) is 4.3. You need to build the kernel modules using the same version of gcc as built the kernel, for safety reasons (I believe). So you could relink /usr/bin/gcc to gcc-4.1, or you could pass CC=gcc-4.1 on the command line to your invocation of 'make'. ------------------------------------------------------------------------------ _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel