From owner-freebsd-stable@FreeBSD.ORG Sun May 23 16:40:14 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51AF81065672 for ; Sun, 23 May 2010 16:40:14 +0000 (UTC) (envelope-from mburgett@awen.com) Received: from smaug.awen.com (smaug.awen.com [173.164.135.146]) by mx1.freebsd.org (Postfix) with ESMTP id 21DEF8FC12 for ; Sun, 23 May 2010 16:40:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smaug.awen.com (8.14.4/8.14.4) with ESMTP id o4NGLPYO046532 for ; Sun, 23 May 2010 09:21:26 -0700 (PDT) Date: Sun, 23 May 2010 09:21:21 -0700 From: Mike Burgett X-Priority: 3 (Normal) Message-ID: <1151877318.20100523092121@awen.com> To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Cc: Subject: compile error in stable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Burgett List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 16:40:14 -0000 I synced up sources today, did buildworld, and when trying to build my kernel, I got the following error, which is actually copied from an attempted build of a GENERIC kernel. =3D=3D=3D> geom/geom_part (all) =3D=3D=3D> geom/geom_part/geom_part_apm (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc = -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_gl= obal.h -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-g= rowth=3D100 --param large-function-growth=3D1000 -fno-common -g -fno-omit-f= rame-pointer -I/usr/obj/usr/src/sys/GENERIC -mcmodel=3Dkernel -mno-red-zone= -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-f= loat -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std= =3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q= ual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/= geom/geom_part/geom_part_apm/../../../../geom/part/g_part_apm.c /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c: In function 'apm_parse_type': /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c:131: error: 'G_PART_ALIAS_APPLE_BOOT' undeclared (first use in th= is function) /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c:131: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c:131: error: for each function it appears in.) /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c:141: error: 'G_PART_ALIAS_APPLE_UFS' undeclared (first use in thi= s function) /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c: In function 'g_part_apm_type': /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c:453: error: 'G_PART_ALIAS_APPLE_BOOT' undeclared (first use in th= is function) /usr/src/sys/modules/geom/geom_part/geom_part_apm/../../../../geom/part/g_p= art_apm.c:457: error: 'G_PART_ALIAS_APPLE_UFS' undeclared (first use in thi= s function) *** Error code 1 1 error from /usr/src/sys/geom/g_part.h : enum g_part_alias { G_PART_ALIAS_APPLE_HFS, /* An HFS file system entry. */ G_PART_ALIAS_EFI, /* A EFI system partition entry. */ G_PART_ALIAS_FREEBSD, /* A BSD labeled partition entry. */ G_PART_ALIAS_FREEBSD_BOOT, /* A FreeBSD boot partition entry. = */ G_PART_ALIAS_FREEBSD_SWAP, /* A swap partition entry. */ G_PART_ALIAS_FREEBSD_UFS, /* A UFS/UFS2 file system entry. */ G_PART_ALIAS_FREEBSD_VINUM, /* A Vinum partition entry. */ G_PART_ALIAS_FREEBSD_ZFS, /* A ZFS file system entry. */ G_PART_ALIAS_MBR, /* A MBR (extended) partition entry= . */ /* Keep the following last */ G_PART_ALIAS_COUNT }; alias =3D g_part_alias_name(G_PART_ALIAS_APPLE_BOOT); if (!strcasecmp(type, alias)) { strcpy(buf, APM_ENT_TYPE_APPLE_BOOT); return (0); } alias =3D g_part_alias_name(G_PART_ALIAS_APPLE_HFS); if (!strcasecmp(type, alias)) { strcpy(buf, APM_ENT_TYPE_APPLE_HFS); return (0); } alias =3D g_part_alias_name(G_PART_ALIAS_APPLE_UFS); if (!strcasecmp(type, alias)) { strcpy(buf, APM_ENT_TYPE_APPLE_UFS); return (0); } alias =3D g_part_alias_name(G_PART_ALIAS_FREEBSD_BOOT); I've even completely deleted /usr/src and /usr/obj, re-supped and rebuilt world, with the same results. * $FreeBSD: src/sys/geom/part/g_part.h,v 1.14.2.1 2009/08/03 08:13:06 kens= mith Exp $ __FBSDID("$FreeBSD: src/sys/geom/part/g_part_apm.c,v 1.11.2.2 2010/05/23 02= :40:04 nwhitehorn Exp $"); uname -a FreeBSD smaug.awen.com 8.0-STABLE FreeBSD 8.0-STABLE #7: Sun Apr 4 13:15:24 PDT 2010 mburgett@smaug.awen.com:/usr/obj/usr/src/sys/AWEN am= d64 I did a quick search of the mailing list archives, but no hits. Any suggestions, or did the tree get broken? --=20 Thanks, Mike mailto:mburgett@awen.com