From: Bob Gill <gillb4@telusplanet.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: drivers/ieee1394/sbp2.c:734: error: `host' undeclared (first use in this function) 2.6.3-bk3
Date: Sat, 21 Feb 2004 14:36:43 -0700 [thread overview]
Message-ID: <1077399402.22141.86.camel@localhost.localdomain> (raw)
Hi. The whole error message is (when building 2.6.3-bk3):
drivers/ieee1394/sbp2.c: In function `sbp2_alloc_device':
drivers/ieee1394/sbp2.c:734: error: `host' undeclared (first use in this
function)
drivers/ieee1394/sbp2.c:734: error: (Each undeclared identifier is
reported only once
drivers/ieee1394/sbp2.c:734: error: for each function it appears in.)
make[2]: *** [drivers/ieee1394/sbp2.o] Error 1
make[1]: *** [drivers/ieee1394] Error 2
make: *** [drivers] Error 2
It gives the same message when building with the source from the 1394
subversion tree. Apparently the declaration for 'host' is not where it
used to be.
#ifdef CONFIG_IEEE1394_SBP2_PHYS_DMA
/* Handle data movement if physical dma is not
* enabled/supportedon host controller */
hpsb_register_addrspace(&sbp2_highlevel, host,
&sbp2_physdma_ops,
0x0ULL, 0xfffffffcULL);
#endif
**--------------------------------------------------------------
highlevel.c (which isn't #included in sbp2.c) lists:
struct hl_host_info {
struct list_head list;
struct hpsb_host *host;
size_t size;
unsigned long key;
void *data;
};
**(highlevel.h is #included in sbp2.c, highlevel.c isn't, and
highlevel.h doesn't mention struct hl_host_info).
**---------------------------------------------------------------
** The above information is intended merely for recreational value
and may provide no practical information with respect to
resolving the problem as I have never been accused of being a
systems programmer! :)
If you need more info, please mail me as I'm not on the list. TIA,
Bob
next reply other threads:[~2004-02-21 21:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-21 21:36 Bob Gill [this message]
2004-02-22 0:21 ` drivers/ieee1394/sbp2.c:734: error: `host' undeclared (first use in this function) 2.6.3-bk3 Ben Collins
2004-02-22 1:04 ` Dave Jones
-- strict thread matches above, loose matches on Subject: below --
2004-02-22 7:18 Bob Gill
2004-02-27 15:07 Brad Davidson
2004-02-27 16:21 ` Dave Jones
2004-02-27 20:57 Bob Gill
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=1077399402.22141.86.camel@localhost.localdomain \
--to=gillb4@telusplanet.net \
--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 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.