mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Zoltan NAGY <nagyz@nefty.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.10-rc3-bk4 does not compile
Date: Thu, 09 Dec 2004 08:05:58 -0800	[thread overview]
Message-ID: <41B877E6.1050007@osdl.org> (raw)
In-Reply-To: <41B87A67.30803@nefty.hu>

Zoltan NAGY wrote:
> It fails with the following error messages:
> 
>  CC      drivers/block/rd.o
> drivers/block/rd.c:67: error: `CONFIG_BLK_DEV_RAM_COUNT' undeclared here 
> (not in a function)
> drivers/block/rd.c:68: error: `CONFIG_BLK_DEV_RAM_COUNT' undeclared here 
> (not in a function)
> drivers/block/rd.c:69: error: `CONFIG_BLK_DEV_RAM_COUNT' undeclared here 
> (not in a function)
> drivers/block/rd.c: In function `rd_cleanup':
> drivers/block/rd.c:403: error: `CONFIG_BLK_DEV_RAM_COUNT' undeclared 
> (first use in this function)
> drivers/block/rd.c:403: error: (Each undeclared identifier is reported 
> only once
> drivers/block/rd.c:403: error: for each function it appears in.)
> drivers/block/rd.c: In function `rd_init':
> drivers/block/rd.c:433: error: `CONFIG_BLK_DEV_RAM_COUNT' undeclared 
> (first use in this function)
> drivers/block/rd.c: At top level:
> drivers/block/rd.c:67: error: storage size of `rd_disks' isn't known
> drivers/block/rd.c:68: error: storage size of `rd_bdev' isn't known
> drivers/block/rd.c:69: error: storage size of `rd_queue' isn't known
> drivers/block/rd.c:67: warning: `rd_disks' defined but not used
> drivers/block/rd.c:68: warning: `rd_bdev' defined but not used
> drivers/block/rd.c:69: warning: `rd_queue' defined but not used
> make[2]: *** [drivers/block/rd.o] Error 1
> make[1]: *** [drivers/block] Error 2
> make: *** [drivers] Error 2

That's weird.  rd.c #includes <config.h>, so CONFIG_BLK_DEV_RAM_COUNT
should be there.  and it builds OK for me, as module or in-kernel.

Please check that you have rc3-bk4 applied (patched) correctly
and then send your .config file.

-- 
~Randy

  reply	other threads:[~2004-12-09 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-09 16:16 Zoltan NAGY
2004-12-09 16:05 ` Randy.Dunlap [this message]
2004-12-09 17:13   ` Zoltan NAGY

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=41B877E6.1050007@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nagyz@nefty.hu \
    /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

Powered by JetHome