Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello, I'm "Building against a kernel source tree" from the documentation at: http://www.drbd.org/users-guide-emb/s-build-from-source.html If you follow it through as tar xvf linux.ver.bz cd /path/to/linux.source make mrproper make .config (by whatever method) cd /path/to/drbd make clean make KDIR=/path/to/linux.source You will end up with Userland tools build was successful. Could not determine uts_release make: *** [module] Error 1 This is because version.h and utsrelease.h are not yet generated in the kernel tree. These files are generated at kernel compile time, or can be built by issuing the command make prepare in the kernel source top level directory. make modules_prepare may be a better choice. Having said that, I'm struggling to find actual documentation for the 'prepare' and 'modules_prepare' targets for the kernel makefile, having stumbled over them when trying different (documented) makefile targets and getting some interesting error messages, so it might not be something reliable. Building the complete kernel could be a better recommendation. In any event, the summary is: An additional step needs including in the documentation to ensure utsrelease.h & version.h are generated in the kernel source, as part of the 'Preparing the kernel source tree' Hopefully this is useful :) Stef