From: Andrzej Krzysztofowicz <ankry@pg.gda.pl>
To: azz@gnu.org (Adam Sampson)
Cc: torvalds@transmeta.com (Linus Torvalds),
linux-kernel@vger.kernel.org (Kernel Mailing List)
Subject: Re: Linux-2.4.2
Date: Thu, 22 Feb 2001 15:07:39 +0100 (MET) [thread overview]
Message-ID: <200102221407.PAA08636@sunrise.pg.gda.pl> (raw)
In-Reply-To: <87ae7eonla.fsf@cartman.azz.net> from "Adam Sampson" at Feb 22, 2001 01:26:41 PM
"Adam Sampson wrote:"
> I get this while compiling 2.4.2:
>
> msdos.c:403: `MINIX_PARTITION' undeclared (first use in this function)
> msdos.c:403: (Each undeclared identifier is reported only once
> msdos.c:403: for each function it appears in.)
> msdos.c:406: `MINIX_NR_SUBPARTITIONS' undeclared (first use in this function)
> msdos.c: In function `msdos_partition':
> msdos.c:571: `MINIX_PARTITION' undeclared (first use in this function)
> make[3]: *** [msdos.o] Error 1
>
> My config:
>
[...]
> CONFIG_MINIX_SUBPARTITION=y
It seems that Linus didn't fully merge some stuff from Alan patches.
Try the following patch:
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/include/linux/genhd.h linux.ac/include/linux/genhd.h
--- linux-2.4.2/include/linux/genhd.h Thu Jan 4 22:50:47 2001
+++ linux/include/linux/genhd.h Tue Feb 20 20:46:28 2001
@@ -222,6 +222,11 @@
}; /* 408 */
#endif /* CONFIG_UNIXWARE_DISKLABEL */
+
+#ifdef CONFIG_MINIX_SUBPARTITION
+# define MINIX_PARTITION 0x81 /* Minix Partition ID */
+# define MINIX_NR_SUBPARTITIONS 4
+#endif /* CONFIG_MINIX_SUBPARTITION */
#ifdef __KERNEL__
extern struct gendisk *gendisk_head; /* linked list of disks */
--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Technical University of Gdansk
next prev parent reply other threads:[~2001-02-22 14:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <peter@cadcamlab.org>
2001-02-22 2:19 ` Linux-2.4.2 Linus Torvalds
2001-02-21 18:31 ` Linux-2.4.2 John Heil
2001-02-22 3:13 ` Linux-2.4.2 Peter Samuelson
2001-02-22 3:19 ` Linux-2.4.2 Billy Harvey
2001-02-22 4:25 ` Linux-2.4.2 Keith Owens
2001-02-22 3:31 ` Linux-2.4.2 Gregory Maxwell
2001-02-22 10:33 ` Linux-2.4.2 Alan Cox
2001-02-22 12:14 ` Linux-2.4.2 Werner Almesberger
2001-02-22 12:27 ` Linux-2.4.2 Alan Cox
2001-02-22 3:32 ` Linux-2.4.2 Linus Torvalds
2001-02-22 10:01 ` Linux-2.4.2 Alan Cox
2001-02-27 21:25 ` another Linux-2.4.2 splat: *** target pattern contains no `%'. Stop David L. Nicol
2001-02-28 0:29 ` Keith Owens
2001-02-22 11:43 ` Linux-2.4.2 J . A . Magallon
2001-02-22 13:26 ` Linux-2.4.2 Adam Sampson
2001-02-22 13:38 ` PATCH: fix the msdos.c compile error Alan Cox
2001-02-22 14:07 ` Andrzej Krzysztofowicz [this message]
2001-02-24 0:14 ` Linux-2.4.2 && Minix SP Adam
2001-02-24 1:39 ` Michèl Alexandre Salim
2001-02-22 4:03 Linux-2.4.2 Eloy A. Paris
2001-02-22 4:33 Linux-2.4.2 Frédéric L. W. Meunier
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=200102221407.PAA08636@sunrise.pg.gda.pl \
--to=ankry@pg.gda.pl \
--cc=azz@gnu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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®