From owner-freebsd-current Wed Nov 20 23:27:57 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EC6B37B401 for ; Wed, 20 Nov 2002 23:27:56 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 713D543E3B for ; Wed, 20 Nov 2002 23:27:55 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id gAL7Rspk080875; Thu, 21 Nov 2002 00:27:54 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 21 Nov 2002 00:27:40 -0700 (MST) Message-Id: <20021121.002740.112811760.imp@bsdimp.com> To: wa1ter@hotmail.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: buildkernel broken at bluetooth? From: "M. Warner Losh" In-Reply-To: <3DDC6548.5020303@hotmail.com> References: <3DDC6548.5020303@hotmail.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <3DDC6548.5020303@hotmail.com> walt writes: : My /usr/src is a symlink to another partition which is mounted : on /usr/local/mnt/src. I can make it compile by modifying the : Makefiles in sys/modules/netgraph/bluetooth like this: : : CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include : : Maybe there's a better way to do this? You'd also see this if you did a make buildkernel (maybe that's what you did). If you build inside sys/modules it would have worked. I just comitted the change. Your fix looks good to me, and gets make buildkernel working for my minimal test case. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message