From owner-freebsd-current Tue Jun 2 08:33:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA14485 for freebsd-current-outgoing; Tue, 2 Jun 1998 08:33:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA14479 for ; Tue, 2 Jun 1998 08:33:44 -0700 (PDT) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg by adelphi.physics.adelaide.edu.au (5.65/AndrewR-930902) id AA04217; Wed, 3 Jun 1998 01:03:42 +0930 Received: by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA11417; Wed, 3 Jun 1998 02:01:44 +0930 Date: Wed, 3 Jun 1998 02:01:44 +0930 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Eivind Eklund Cc: freebsd-current@FreeBSD.ORG Subject: Re: removing /usr/src/sys/compile/XXX In-Reply-To: <19980602163053.16755@follo.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 2 Jun 1998, Eivind Eklund wrote: > > I eventually tracked down a problem I was having building new kernels (it > > was complaining about a ton of undefined vop_* symbols in vnode_if.h) to > > the fact that these hadnt been regenerated properly. > > Please give more details about this failure - this shouldn't happen. Actually - thinking about it more (and testing the hypothesis by attempting a kernel build), I believe what may have happened is that vnode_if.h somehow gained an extra copy of itself - the file doubled to 47k in length and this problem persisted through multiple make clean;make depends. I've tested the effect this has and it's definitely what I was seeing: kernel compile proceeds most of the way through then dies with a lot of crap like you'd expect: ... vnode_if.h:1090: warning: previous declaration of `vop_strategy_desc' vnode_if.h:2212: warning: redundant redeclaration of `VOP_STRATEGY' in same scop e vnode_if.h:1094: warning: previous declaration of `VOP_STRATEGY' vnode_if.h:2214: redefinition of `VOP_STRATEGY' vnode_if.h:1094: `VOP_STRATEGY' previously defined here vnode_if.h:2223: redefinition of `struct vop_bwrite_args' ... Kris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message