mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Satyam Sharma" <satyam.sharma@gmail.com>
To: "Tom Spink" <tspink@gmail.com>
Cc: "Toralf Förster" <toralf.foerster@gmx.de>,
	linux-kernel@vger.kernel.org,
	"Christoph Hellwig" <hch@infradead.org>,
	"Paolo Giarrusso" <blaisorblade@yahoo.it>,
	"David Woodhouse" <dwmw2@infradead.org>,
	linux-mtd@lists.infradead.org
Subject: build failure due to ROOT_DEV in mtd module (was Re: linux-2.6.22-rc5-g7c8545e build #298 failed ...)
Date: Thu, 21 Jun 2007 12:22:01 +0530	[thread overview]
Message-ID: <a781481a0706202352u1efed48fo5a101f8c015638d7@mail.gmail.com> (raw)

Hi,

[Added Christoph, Paolo, David and linux-mtd.]

On 6/21/07, Tom Spink <tspink@gmail.com> wrote:
> On 20/06/07, Tom Spink <tspink@gmail.com> wrote:
> > On 20/06/07, Toralf Förster <toralf.foerster@gmx.de> wrote:
> > > Hello,
> > >
> > > the build with the attached .config failed, make ends with:
> > [...]
> > The build seems to fail because of:
> > ERROR: "ROOT_DEV" [drivers/mtd/maps/nettel.ko] undefined!
> >
> > After taking a quick look at the code, I can't immediately see why
> > this would be, since there is an include for linux/root_dev.h at the
> > top, there.
> >
> > There's only one occurrence of ROOT_DEV (line 425), and after a quick
> > look at the git history, it seems the include was originally missing,
> > but was put back in, in commit
> > 6cc449c7d0292cb9b993f0df84fd3225e3099492.
> [...]
> After further inspection, I *think* it's because nettel is being built
> as a module, and it's trying to reference ROOT_DEV, which is not
> exported.

You're right. Look at:
commit a2d2b5cb8e5d8787f009eeb3bbca52687bd42a77
[ http://lkml.org/lkml/2005/7/13/166 ]

You could export ROOT_DEV to modules back again, or perhaps:
http://www.infradead.org/pipermail/linux-mtd/2005-March/012290.html
to get around the build error.

[ It might've been unexported for good reasons, of course, see:
http://lkml.org/lkml/2005/3/30/179 ]

Satyam

             reply	other threads:[~2007-06-21  6:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21  6:52 Satyam Sharma [this message]
2007-06-21  6:59 ` Christoph Hellwig
2007-06-21  8:13   ` Satyam Sharma

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=a781481a0706202352u1efed48fo5a101f8c015638d7@mail.gmail.com \
    --to=satyam.sharma@gmail.com \
    --cc=blaisorblade@yahoo.it \
    --cc=dwmw2@infradead.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=toralf.foerster@gmx.de \
    --cc=tspink@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®