> This tripped me up, so I thought I'd share the problem and solution > just in case someone follows in my footsteps or if the developers are > interested.
Thanks for the feedback. > I tracked the problem down to the module Makefiles declaring > "HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include". On the Debian > systems that I have access to, build/ doesn't exist in > /lib/modules/2.6.18-4-686. The kernel source Debian package installs > under /usr/src/. I don't know if this is a peculiarity in the way I've > configured or installed Debian or the packages, or if it's an incorrect > assumption in the open-vm-tools build process. On my Debian systems, /lib/modules/$(VM_UNAME)/build is typically a symlink to the kernel headers for that kernel. Usually you don't need the Debian kernel source packages; the Debian kernel header packages are sufficient for building out-of-tree modules. Those same header packages provide the build symlink. For example, my Debian unstable machine has the linux-headers-2.6.26-1-amd64 package installed, which provides a symlink from /lib/modules/2.6.26-1-amd64/build to /usr/src/linux-headers-2.6.26-1-amd64. > I tried configuring with either --includedir=/usr/src/linux-source- > 2.6.18/include or HEADER_DIR="/usr/src/linux-source-2.6.18/include" and > building without the symlink, but both used the standalone build system > and failed as before. Maybe there's a correct way to configure > HEADER_DIR? I'm not sure if you'll be able to set it at configure time. But you can definitely specify HEADER_DIR at make time. Something like "make HEADER_DIR=/path/to/include/directory". ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel