From: Larry McVoy <lm@bitmover.com>
To: linux-kernel@vger.kernel.org
Subject: compile problem in current BK 2.5
Date: Fri, 6 Dec 2002 21:23:42 -0800 [thread overview]
Message-ID: <200212070523.gB75Ng932574@work.bitmover.com> (raw)
FYI
make -f scripts/Makefile.build obj=drivers/block
gcc -Wp,-MD,drivers/block/.nbd.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iarch/i386/mach-generic -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=nbd -DKBUILD_MODNAME=nbd -c -o drivers/block/nbd.o drivers/block/nbd.c
In file included from drivers/block/nbd.c:56:
include/linux/nbd.h:87:2: #endif without #if
drivers/block/nbd.c:71: warning: `struct request' declared inside parameter list
drivers/block/nbd.c:71: warning: its scope is only this definition or declaration, which is probably not what you want.
drivers/block/nbd.c: In function `nbd_end_request':
drivers/block/nbd.c:73: dereferencing pointer to incomplete type
drivers/block/nbd.c:74: `request_queue_t' undeclared (first use in this function)
drivers/block/nbd.c:74: (Each undeclared identifier is reported only once
drivers/block/nbd.c:74: for each function it appears in.)
drivers/block/nbd.c:74: `q' undeclared (first use in this function)
drivers/block/nbd.c:74: dereferencing pointer to incomplete type
drivers/block/nbd.c:75: parse error before `struct'
drivers/block/nbd.c:82: `flags' undeclared (first use in this function)
drivers/block/nbd.c:83: `bio' undeclared (first use in this function)
drivers/block/nbd.c:83: dereferencing pointer to incomplete type
drivers/block/nbd.c:84: `nsect' undeclared (first use in this function)
drivers/block/nbd.c:85: warning: implicit declaration of function `blk_finished_io'
drivers/block/nbd.c:86: dereferencing pointer to incomplete type
drivers/block/nbd.c:90: warning: implicit declaration of function `blk_put_request'
drivers/block/nbd.c: In function `nbd_open':
drivers/block/nbd.c:96: dereferencing pointer to incomplete type
drivers/block/nbd.c: At top level:
drivers/block/nbd.c:176: warning: `struct request' declared inside parameter list
drivers/block/nbd.c: In function `nbd_send_req':
drivers/block/nbd.c:180: dereferencing pointer to incomplete type
reply other threads:[~2002-12-07 5:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200212070523.gB75Ng932574@work.bitmover.com \
--to=lm@bitmover.com \
--cc=linux-kernel@vger.kernel.org \
/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®