Re: Linux v2.6.18-rc2 | UTS Release version does not match current version

From: Joel Becker
Date: Sun Jul 16 2006 - 16:35:15 EST

On Sun, Jul 16, 2006 at 10:34:06AM -0400, Michael Krufky wrote:
> I get this when building using debian's make-kpkg:
> The UTS Release version in include/linux/version.h
> ""
> does not match current version:
> "2.6.18-rc2"
> Please correct this.

make-kpkg uses version.h to get UTS_RELEASE. UTS_RELEASE has
moved to utsrelease.h.

Right after you get the error, modify

-UTS_RELEASE_VERSION=$(shell if [ -f include/linux/version.h ]; then \
- grep 'define UTS_RELEASE' include/linux/version.h | \
+UTS_RELEASE_VERSION=$(shell if [ -f include/linux/utsrelease.h ]; then \
+ grep 'define UTS_RELEASE' include/linux/utsrelease.h | \

And rerun your make-kpkg. The above is not a valid patch, you'll have
to hand change it.



"All alone at the end of the evening
When the bright lights have faded to blue.
I was thinking about a woman who had loved me
And I never knew"

Joel Becker
Principal Software Developer
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at