lkml.org 
[lkml]   [2006]   [Jul]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 16 Jul 2006 13:36:00 -0700
FromJoel Becker <>
SubjectRe: Linux v2.6.18-rc2 | UTS Release version does not match current version
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.

Joel

-- 

"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
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-16 22:39    [from the cache]
©2003-2008