[DRBD-user] Could not determine uts_release
stef at aoc-uk.com
Thu Oct 29 18:01:22 CET 2009
I'm "Building against a kernel source tree" from the documentation at:
If you follow it through as
tar xvf linux.ver.bz
make .config (by whatever method)
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
These files are generated at kernel compile time, or can be built by
issuing the command
in the kernel source top level directory.
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
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 :)
More information about the drbd-user