From: Rodrigo Moya <rmoya@tsai.es>
To: MTD List <mtd@infradead.org>
Subject: Re: problems compiling
Date: Wed, 12 Apr 2000 21:38:18 +0200 [thread overview]
Message-ID: <38F4D0AA.3FEA3BCF@tsai.es> (raw)
Hi all!
After putting the compatmac.h file, I've still problems compiling:
1 - I had to comment the definition of DECLARE_WAITQUEUE in mtd.h, as
it's also defined in compatmac.h. Commenting the same line in
compatmac.h did not compile.
2 - Compiler complained about 'add' not being a member of mtd_notifier.
And it was right, mtd.h contained the following:
struct mtd_notifier {
void (*func)(struct mtd_info *mtd, int num);
struct mtd_notifier *next;
};
So, I guessed I had to change it to:
struct mtd_notifier {
void (*add)(struct mtd_info *mtd);
void (*remove)(struct mtd_info *mtd);
struct mtd_notifier *next;
};
3 - Then, in doc2000.c, it complained about CDSNControl and
CDSN_CTRL_FR_B not being defined. Looking at the header files
(doc2000.h), I saw that it's CSDNControl and CDSN_CTRL_FR_B. So I
changed all this.
4 - Again in doc2000.c, doc->nextdoc (struct DiskOnChip *doc) does not
exist. I couldn't figure out this one.
I suppose all these errors are because I took the sources from CVS, and
that this is development code.
Cheers
N§²æìr¸zǧvéì¹»\x1c®&Þ×m¢f£¢·h§~¶y§h®
next reply other threads:[~2000-04-13 7:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <38F5ADF6.30B89174@tsai.es>
2000-04-12 19:38 ` Rodrigo Moya [this message]
2000-04-13 8:25 ` problems compiling David Woodhouse
[not found] ` <17190.955625589@devel2.axiom.internal>
2000-04-13 11:36 ` Rodrigo Moya
2000-06-27 14:23 Rodrigo Moya
2000-06-27 14:29 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2000-04-13 14:01 Rodrigo Moya
2000-04-13 14:12 ` David Woodhouse
2000-04-12 14:16 Rodrigo Moya
2000-04-12 14:31 ` David Woodhouse
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=38F4D0AA.3FEA3BCF@tsai.es \
--to=rmoya@tsai.es \
--cc=mtd@infradead.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.