From owner-freebsd-stable Sat Aug 29 12:28:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28147 for freebsd-stable-outgoing; Sat, 29 Aug 1998 12:28:03 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from smtp4.nwnexus.com (smtp4.nwnexus.com [206.63.63.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28127 for ; Sat, 29 Aug 1998 12:27:51 -0700 (PDT) (envelope-from wrsomsky@halcyon.com) Received: from gramarye (evt-lx100-ip15.nwnexus.net [204.57.235.15]) by smtp4.nwnexus.com (8.8.8/8.8.8) with ESMTP id MAA30488; Sat, 29 Aug 1998 12:26:55 -0700 (PDT) Received: (from wrsomsky@localhost) by gramarye (8.8.8/8.8.8) id MAA02485; Sat, 29 Aug 1998 12:10:46 -0700 (PDT) (envelope-from wrsomsky) From: "William R. Somsky" Message-Id: <199808291910.MAA02485.gramarye.wrsomsky@halcyon.com> Subject: Re: Failed to build kernel... In-Reply-To: from Fedor Gubarev at "Aug 29, 1998 8:32: 5 pm" To: Fedor.Gubarev@itep.ru Date: Sat, 29 Aug 1998 12:10:46 -0700 (PDT) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Sat, 29 Aug 1998 20:32:05 +0400 (MSD) > From: Fedor Gubarev > To: freebsd-stable@FreeBSD.ORG > Subject: Failed to build kernel... > I wonder if this is a bug or I'm missing something... > Today the "installworld" worked fine for me until > the kernel building: > > ------------------------------------ > gcc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -nostdinc -I- -I. -I../.. -I../../../include -DMSDOSFS -DNFS -DFFS -DINET > -DMD5 -DCOMPAT_43 -DKERNEL ../../kern/vfs_bio.c > ../../kern/vfs_bio.c: In function `getblk': > ../../kern/vfs_bio.c:1177: `LK_EXCLUSIVE' undeclared (first use this > function) > ../../kern/vfs_bio.c:1177: (Each undeclared identifier is reported only > once > ../../kern/vfs_bio.c:1177: for each function it appears in.) > *** Error code 1 > > Stop. > ------------------------------------- Same problem here... > At the moment it seems that there a list of other undeclared > macroses in the kernel src: LK_EXCLUSIVE, LK_RETRY, LK_INTERLOCK ..... > The source tree was cvsup'ed today from cvsup.freebsd.org. Ditto... > Any suggestions ? I'm currently trying a "find /usr/src -name "*vfs*" -print | xargs rm" and a re-cvsup, to see if there's anything strange on my system -- mostly as just a random something that I can do, rather than with any particular expectation of it helping -- and... now it works! I don't _think_ I tweaked anything else between it failing and working. Unfortunately, I don't have a record of what the before-and-after differences of my /usr/src tree. Wait... in vfs_bio.c:1177, the line has been changed to remove the reference to LK_EXCLUSIVE... So, what happened? Did my "find | xargs rm" help, or did that file just happend to get changed on the repository right inbetween my trials? I dunno... Incidentally, on the subject of cvsup, I understand that it won't delete files that it doesn't have a record that it created, but isn't-there/shouldn't-there-be some way to get it to at least _list_ what files are present on the local system don't exist on the master server? I've had crufties left over a time or two from when something got out of sync, and since I'm coming in over a dialup line for my IP, I really don't want to delete the whole tree and re-cvsup it in it's entirety. Cvsup of /usr/src and /usr/ports works fine for me over the phone for updates, say once to a few times a week -- takes a five minutes or so -- but a full checkout of the entire tree takes hours -- I've only done that once or twice, when things seemed to have gotten way out of sync. Even just a (checksummed?) list of the /usr/src, /usr/ports tree, possibly just stored as an extra file in those trees would be all I need to detect crufties... ________________________________________________________________________ William R. Somsky wrsomsky@halcyon.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message