From owner-freebsd-current Sat May 27 8:50:25 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 939E337BA03 for ; Sat, 27 May 2000 08:50:21 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id BAA26596; Sun, 28 May 2000 01:50:02 +1000 Date: Sun, 28 May 2000 01:49:59 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Jake Burkholder Cc: Munehiro Matsuda , current@FreeBSD.ORG, jake@io.yi.org Subject: Re: kernel build error due to dependency on /usr/include? In-Reply-To: <20000527151343.4EF4CBA69@io.yi.org> 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 Sat, 27 May 2000, Jake Burkholder wrote: > > I got following kernel build error. > > When I run 'make includes', the error has gone away. `make includes' tends to cause errors like this. It updates /usr/include to match the sources. This may make /usr/include inconsistent with /usr/lib. > > Why does kernel build process depend on installed system files, > > such as /usr/include? > > It shouldn't. Most parts of it shouldn't, but utilities should be compiled with the installed headers that match the installed libraries. > This seems to be primarily aic7xxx, although judging from the output aicasm seems to be buill correctly, but it would be better for its Makefile to not add -I/usr/include to CFLAGS, so that the default is used. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message