[Bug 63882] Re: [edgy] linux-2.6.18 build fails with incorrect version in deprecated 'version.h'

xtknight xt.knight at gmail.com
Thu Oct 5 21:46:58 UTC 2006


Here's a workaround that fixes it:

http://www.gossamer-threads.com/lists/linux/kernel/667513

Credits to "Joel.Becker at oracle"

 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
debian/ruleset/misc/version_vars.mk

-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.

-- 
[edgy] linux-2.6.18 build fails with incorrect version in deprecated 'version.h'
https://launchpad.net/bugs/63882




More information about the kernel-bugs mailing list