From owner-freebsd-questions Mon Jan 21 1:48:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id F05DE37B400; Mon, 21 Jan 2002 01:48:44 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g0L9lkw27138; Mon, 21 Jan 2002 11:47:46 +0200 (EET) (envelope-from ru) Date: Mon, 21 Jan 2002 11:47:46 +0200 From: Ruslan Ermilov To: Kenneth Dunlap Cc: "Crist J . Clark" , Kenneth Dunlap , questions@FreeBSD.ORG Subject: Re: kernel build fails after updating source Message-ID: <20020121114746.G16527@sunbay.com> References: <20020119145138.A14394@arrgh.net> <20020119163347.C63556@blossom.cjclark.org> <20020120012051.GA24956@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020120012051.GA24956@panix.com> User-Agent: Mutt/1.3.23i 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 On Sat, Jan 19, 2002 at 08:20:51PM -0500, Kenneth Dunlap wrote: > > 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. > I don't believe we support parallel (-j) buildkernel at the moment. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message