From owner-freebsd-questions Sat Jan 19 17:21:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.panix.com (mail3.panix.com [166.84.0.167]) by hub.freebsd.org (Postfix) with ESMTP id 98BF637B420; Sat, 19 Jan 2002 17:20:52 -0800 (PST) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail3.panix.com (Postfix) with ESMTP id C50999837D; Sat, 19 Jan 2002 20:20:51 -0500 (EST) Received: (from kdunlap@localhost) by panix2.panix.com (8.11.3nb1/8.8.8/PanixN1.0) id g0K1KpX26764; Sat, 19 Jan 2002 20:20:51 -0500 (EST) Date: Sat, 19 Jan 2002 20:20:51 -0500 From: Kenneth Dunlap To: "Crist J . Clark" Cc: Kenneth Dunlap , questions@FreeBSD.ORG Subject: Re: kernel build fails after updating source Message-ID: <20020120012051.GA24956@panix.com> References: <20020119145138.A14394@arrgh.net> <20020119163347.C63556@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020119163347.C63556@blossom.cjclark.org> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoth Crist J . Clark (cjc@FreeBSD.ORG): > On Sat, Jan 19, 2002 at 02:51:38PM -0500, Kenneth Dunlap wrote: > > Updated full stable source on 1/19/2002. Make buildword ran sucessfully. When > > building a new kernel, it fails in the one of the linux compat modules. > > I used the version of config in the new build tree. > > The first set of errors (of many) before make quits is: > > > > In file included from linux_sysent.c:14: > > linux_proto.h:57: syntax error before `linux_time_t' > > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > > linux_proto.h:57: syntax error before `)' > > linux_proto.h:57: `linux_time_t' undeclared here (not in a function) > > linux_proto.h:57: syntax error before `)' > > > > I followed the instructions in /usr/src/UPDATE, and ran make modules-clean > > (and make clean) before compiling. > > > > Any help would be appreciated. > > You said you are using the buildkernel target? Do, > > # rm -rf /usr/obj/usr/src/sys/$KERNCONF > > And see what happens. The problem did not happen with the buildkernel GENERIC target, but does happen if I do, for instance, make -j4 depend && make -j4 on a 'traditional' kernel build. As it turns out, the problem does not occur if I leave out the '-j4; argument. Strange, but I did get the kernel compiled. Thanks Ken Better to light a single candle than to curse the damn darkness. Willow To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message