All of lore.kernel.org
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz@voltaire.com>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: linux-scsi@vger.kernel.org
Subject: Re: build failure of drivers/scsi/gdth.c
Date: Thu, 20 Jan 2011 12:56:36 +0200	[thread overview]
Message-ID: <4D3814E4.3090703@voltaire.com> (raw)
In-Reply-To: <20110118084601.ad10d7ac.rdunlap@xenotime.net>

Randy Dunlap wrote:
> What shell are you using?
> Are you using any other build scripts that set an variable named VERSION ?
> See https://bugzilla.kernel.org/show_bug.cgi?id=16510

Thanks for the bz pointer, this happens as I wanted to change the kernel version
and added something for sublevel instead for extraversion, I can build 
drivers/scsi/gdth.c fine now, 

so with 

> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 37
> EXTRAVERSION = -dd
> NAME = Flesh-Eating Bats with Fangs

include/linux/version.h has

> #define LINUX_VERSION_CODE 132645
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

and with 

> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 37-dd
> EXTRAVERSION =
> NAME = Flesh-Eating Bats with Fangs


include/linux/version.h has

> #define LINUX_VERSION_CODE
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

and whoever is addressing LINUX_VERSION_CODE fails to get built


      reply	other threads:[~2011-01-20 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 10:29 build failure of drivers/scsi/gdth.c Or Gerlitz
2011-01-12 16:39 ` Randy Dunlap
2011-01-13  9:20   ` Or Gerlitz
2011-01-13 17:11     ` Randy Dunlap
2011-01-18  7:39       ` Or Gerlitz
2011-01-18 16:46         ` Randy Dunlap
2011-01-20 10:56           ` Or Gerlitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D3814E4.3090703@voltaire.com \
    --to=ogerlitz@voltaire.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.