From: Nick Maximov <maxs@techno.spb.ru>
To: mtd@infradead.org
Subject: Compilation errors on 2.2.14 kernel
Date: Thu, 22 Jun 2000 18:39:12 +0400 [thread overview]
Message-ID: <39522510.394D649C@techno.spb.ru> (raw)
What version of kernel should I use to get success?
Now I have 2.2.14 and got compilation errors.
What wrong I do? How to prepare my system to compilation
(what symlinks needed?)
In file included from mtdcore.c:24:
/usr/src/linux-2.2.14/include/linux/mtd/compatmac.h:20:
linux/compatmac.h: No such fil
e or directory
mtdcore.c:77: warning: type defaults to `int' in declaration of
`DECLARE_MUTEX'
mtdcore.c:77: warning: parameter names (without types) in function
declaration
mtdcore.c: In function `add_mtd_device_Rfbb9999f':
mtdcore.c:88: `mtd_table_mutex' undeclared (first use in this function)
mtdcore.c:88: (Each undeclared identifier is reported only once
mtdcore.c:88: for each function it appears in.)
mtdcore.c: In function `del_mtd_device_Re489bb75':
mtdcore.c:116: `mtd_table_mutex' undeclared (first use in this function)
mtdcore.c: In function `register_mtd_user_R5077437e':
mtdcore.c:143: `mtd_table_mutex' undeclared (first use in this function)
mtdcore.c: In function `unregister_mtd_user_R014d06d1':
mtdcore.c:163: `mtd_table_mutex' undeclared (first use in this function)
mtdcore.c: In function `__get_mtd_device_R53d645b3':
mtdcore.c:197: `mtd_table_mutex' undeclared (first use in this function)
mtdcore.c: In function `mtd_read_proc':
mtdcore.c:250: `mtd_table_mutex' undeclared (first use in this function)
mtdcore.c: At top level:
mtdcore.c:77: warning: `DECLARE_MUTEX' declared `static' but never
defined
make[2]: *** [mtdcore.o] Error 1
make[2]: Leaving directory `/root/mtd/kernel'
make[1]: *** [_mod_/root/mtd/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.14'
make: *** [all] Error 2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next reply other threads:[~2000-06-22 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-22 14:39 Nick Maximov [this message]
2000-06-22 14:39 ` Compilation errors on 2.2.14 kernel 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=39522510.394D649C@techno.spb.ru \
--to=maxs@techno.spb.ru \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox