From owner-freebsd-current Fri Aug 16 8: 3:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B179A37B400; Fri, 16 Aug 2002 08:03:09 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id F14E343E42; Fri, 16 Aug 2002 08:03:06 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g7GF36mr017637; Fri, 16 Aug 2002 08:03:06 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g7GF366M017636; Fri, 16 Aug 2002 08:03:06 -0700 (PDT) Date: Fri, 16 Aug 2002 08:03:06 -0700 (PDT) From: David Wolfskill Message-Id: <200208161503.g7GF366M017636@bunrab.catwhisker.org> To: current@freebsd.org Subject: World breakage in lib/libc/gen/disklabel.c; here's a patch Cc: alfred@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >>> stage 4: building libraries ... cc -O -pipe -DLIBC_MAJOR=5 -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../. ./include -D__DBINTERFACE_PRIVATE -DINET6 -I/common/S4/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -DHESIOD -c /usr/src/lib/libc/gen/dlfcn.c -o dlfcn.o /usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname': /usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this function) /usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only once /usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.) /usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname': /usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this function) /usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only once *** Error code 1 /usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.) *** Error code 1 /usr/src/lib/libc/gen/disklabel.c: In function `getdiskbyname': /usr/src/lib/libc/gen/disklabel.c:147: `fstypenames' undeclared (first use in this function) /usr/src/lib/libc/gen/disklabel.c:147: (Each undeclared identifier is reported only once /usr/src/lib/libc/gen/disklabel.c:147: for each function it appears in.) *** Error code 1 3 errors *** Error code 2 1 error .... The following patch (from /usr/src) gets past the problem, but I don't know that it's correct: Index: lib/libc/gen/disklabel.c =================================================================== RCS file: /cvs/freebsd/src/lib/libc/gen/disklabel.c,v retrieving revision 1.15 diff -u -r1.15 disklabel.c --- lib/libc/gen/disklabel.c 12 May 2002 20:49:33 -0000 1.15 +++ lib/libc/gen/disklabel.c 16 Aug 2002 14:39:03 -0000 @@ -38,6 +38,7 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/disklabel.c,v 1.15 2002/05/12 20:49:33 phk Exp $"); #include +#define FSTYPENAMES #define DKTYPENAMES #include Cheers, david -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between the discipline of systems administration and Microsoft, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message