You don't need to worry about that with VMware tools, since it already does it for you. Modprobe is a command that you use to insert a module into the kernel. I don't think you need to worry about the minor version number as long as it is version 4.1 The important thing for the VMware tools is that it has the same headers to build it's modules as the kernel has ( cat /proc/version reveils that info). Normally it get installed automatically with Debian, but I had one time where it didn't. If it is not installed, install it with aptitude install gcc-4.1. You can check whether gcc-4.1 is installed via aptitude show gcc-4.1. You do need to do export CC=/usr/bin/gcc-4.1 before starting the installation. Do you install VMware Server to get the tools? I started to do that, but it complained about GCC-4.3 like the other tools did, so I stopped the installation and redid the earlier one. I downloaded VMware Server 2 last night, but it wasn't obvious to me where the tools package is within that program. One other question - another post suggested that the tools that come with VMware Server 2.0 work with Debian Lenny. Anyone know where I can get GCC-4.1.3? I'm sure that would solve the problem. I also tried building the tools with GCC-4.2, but it was no better than with 4.3. I couldn't find it anywhere on the web, except for the binary built for openSUSE. With respect to the module that didn't build, it wanted GCC-4.1.3, which was apparently what the Lenny kernel was buillt with. So where to go from here? didi, can you test the drag and drop, and if it works, where can I get the VMware image? BioTube, I'm not familiar with modprobing? How do you do it and what does it do? Drag and drop does work now, but mouse integration still doesn't.
Sounds similar to what happened to you, didi, but the result was different. This allowed the tools that came with VMware Fusion to build the modules, and all was good except for the vsock module, which complained about the GCC version and did not build the module. I tried again forcing GCC-4.1 instead of GCC-4.3 using the command, "export CC=/usr/bin/gcc-4.1", which I picked up from another thread.