Subject: Re: kernel compile errors
To: None <htodd@twofifty.com>
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
List: current-users
Date: 09/28/2002 23:31:10
Hi,

       From: Hisashi T Fujinaka <htodd@twofifty.com>
    Subject: Re: kernel compile errors
      Date : Fri, 27 Sep 2002 23:25:32 -0700 (PDT)
 Message-ID: <Pine.GSO.4.44.0209272324120.25600-100000@fls.i8u.org>

$ cc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length
$ -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
$ -Wno-uninitialized  -Di386 -I.  -I../../../../arch -I../../../.. -nostdinc
$ -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
$ /usr/src/sys/arch/i386/compile/LAURIE/../../../../arch/i386/i386/disksubr.c
$ /usr/src/sys/arch/i386/compile/LAURIE/../../../../arch/i386/i386/disksubr.c:
$ In function `readdisklabel':
$ /usr/src/sys/arch/i386/compile/LAURIE/../../../../arch/i386/i386/disksubr.c:211:
$ `MBR_PTYPE_APPLEUFS' undeclared (first use in this function)
$ /usr/src/sys/arch/i386/compile/LAURIE/../../../../arch/i386/i386/disksubr.c:211:
$ (Each undeclared identifier is reported only once
$ /usr/src/sys/arch/i386/compile/LAURIE/../../../../arch/i386/i386/disksubr.c:211:
$ for each function it appears in.)
$ /usr/src/sys/arch/i386/compile/LAURIE/../../../../arch/i386/i386/disksubr.c:212:
$ `FS_APPLEUFS' undeclared (first use in this function)
$ *** Error code 1

Me too!
I think that sys/sys/disklabel.h does not update on anoncvs.netbsd.org.

According to next, Now sys/sys/disklabel.h is rev=1.75.
But I have sys/sys/disklabel.h rev=1.73.


       From: "Darrin B. Jewell" <dbj@netbsd.org>
    Subject: CVS commit: basesrc/sbin/disklabel
      Date : Sat, 28 Sep 2002 03:47:26 +0300 (EEST)
 Message-ID: <20020928004726.13BC4B42C@cvs.netbsd.org>

$ 
$ Module Name:	basesrc
$ Committed By:	dbj
$ Date:		Sat Sep 28 00:47:26 UTC 2002
$ 
$ Modified Files:
$ 	basesrc/sbin/disklabel: disklabel.5 disklabel.c printlabel.c
$ 	syssrc/sys/sys: disklabel.h
$ 
$ Log Message:
$ add FS_APPLEUFS
$ part of PR #17345

$ To generate a diff of this commit:
$ cvs rdiff -r1.19 -r1.20 basesrc/sbin/disklabel/disklabel.5
$ cvs rdiff -r1.106 -r1.107 basesrc/sbin/disklabel/disklabel.c
$ cvs rdiff -r1.4 -r1.5 basesrc/sbin/disklabel/printlabel.c
$ cvs rdiff -r1.74 -r1.75 syssrc/sys/sys/disklabel.h


I wonder I can get latest sys/arch/i386/i386/disksubr.c,
but can't get latest sys/sys/disklabel.h. 

Regards!
---
 Masanori Kanaoka	kanaoka@ann.hi-ho.ne.jp