[lkml]   [2010]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: bug LINUX_VERSION_CODE undefined
On Tue, 17 Aug 2010 13:29:38 +0400 Sergey Naumov wrote:

> Hello. This is my first message to this list so please be patient.
> I have encountered compilation error due to
> in include/linux/version.h
> This happens because $(VERSION) variable in the main Makefile has a
> value of instead of 2,
> so "expr" utility fails to generate LINUX_VERSION_CODE value with an
> error "non-numeric argument" or smth.

AFAIK, it usually happens due to some shell not liking some syntax in the Makefile.
What shell are you using?

> I have found only one link (
> ) to this
> issue in the Internet,
> but there is no response to it, so I decided to post this message.

There are replies in the bugzilla entry, including a possible fix.

> Please subscribe me personally to answers to this post.

Michal, did you do anything with your suggested fix?

*** Remember to use Documentation/SubmitChecklist when testing your code ***

 \ /
  Last update: 2010-08-17 18:03    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean