From owner-freebsd-stable Tue Nov 6 11: 8:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by hub.freebsd.org (Postfix) with SMTP id 3BEAE37B405 for ; Tue, 6 Nov 2001 10:58:52 -0800 (PST) Subject: Message-Id: <20011106185852.3BEAE37B405@hub.freebsd.org> Date: Tue, 6 Nov 2001 10:58:52 -0800 (PST) From: Holger.Kipp@alogis.com To: undisclosed-recipients:; Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ÿôÿý Subject: Re: cvs commit: src/sys/conf files.i386 files.pc98 * Larry Rosenman [011106 05:57]: > > When you get new sources, it is usually a good idea. > > > > And generally, when you have a buildworld failure, > > > > # cvsup -L2 -g your-supfile > > # rm -rf /usr/obj/usr > > # cd /usr/src > > # make cleandir && make cleandir > > > > Are some things to try before going to the mail lists. > I was under the, apparently mistaken, impression that make world > kernel took care of making sure all the cruft was deleted/re-synced > from /usr/src to /usr/obj. I had the same problem. After trying all the usual things - including these, I finally got it to work. I also found out how to reproduce the error again. Here goes: No error: # cd /usr/src # make update # # make buildkernel KERNCONF=BSD # make installkernel KERNCONF=BSD (works perfectly) With errors: (Installation the old way) # cd /usr/src/sys/i386/conf # config BSD # cd ../../compile/BSD # make depend # make [...] => ===> kernfs ===> kue ===> lge ===> libmchain ===> linux cc -O -pipe -D_KERNEL .... -ansi -c linux_sysent.c 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 `)' linux_proto.h:156: syntax error before `linux_handler_t' [...] *** Error code 1 Stop in /usr/src/sys/modules/linux. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/compile/BSD. So it looks like make buildkernel from /usr/src works, but make from /usr/src/sys/compile/ doesn't. Sources are cvsupped 06.11.2001 if that is of interest Regards, Holger Kipp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message