Subject: Re: still MBR disklabel problems on mac68k
To: Erik Bertelsen <erik@mediator.uni-c.dk>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 04/08/1999 10:21:23
Erik Bertelsen wrote:
> After todays introduction of disklabel_mbr.h and associated clean-up,
> some cleanup still needs to be made on mac68k. I get the following 
> errors, even after adding the inclusion of disklabel_mbr.h to
> disksubr.c:
> 
> cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DNKMEMCLUSTERS="0x800" -DNMBCLUSTERS="0x400" -DM68040 -DFPSP -DMAXUSERS=16 -D_KERNEL -Dmac
68k  -c ../../../../arch/mac68k/mac68k/disksubr.c
> ../../../../arch/mac68k/mac68k/disksubr.c: In function `read_dos_label':
> ../../../../arch/mac68k/mac68k/disksubr.c:512: structure has no member named `dp_typ'
> ../../../../arch/mac68k/mac68k/disksubr.c:519: structure has no member named `dp_start'
> ../../../../arch/mac68k/mac68k/disksubr.c:520: structure has no member named `dp_size'
> ../../../../arch/mac68k/mac68k/disksubr.c:523: structure has no member named `dp_typ'
> ../../../../arch/mac68k/mac68k/disksubr.c: In function `readdisklabel':
> ../../../../arch/mac68k/mac68k/disksubr.c:587: `MBRSIG' undeclared (first use in this function)
> ../../../../arch/mac68k/mac68k/disksubr.c:587: (Each undeclared identifier is reported only once
> ../../../../arch/mac68k/mac68k/disksubr.c:587: for each function it appears in.)
> *** Error code 1

what's the revision on your disksubr.c?  looking at the current version
(as of a checkout last night), i see no reference to any of those things
that are causing problems.  in addition, my disksubr.c is dated january 30
of this year, so i don't see why we'd be having such problems...

later.

colin