From owner-freebsd-questions Wed Jul 10 10:54: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3430D37B400 for ; Wed, 10 Jul 2002 10:54:04 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 269FE43E42 for ; Wed, 10 Jul 2002 10:54:03 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6AHs0Yn038667; Wed, 10 Jul 2002 18:54:00 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6AHrtHt038666; Wed, 10 Jul 2002 18:53:55 +0100 (BST) Date: Wed, 10 Jul 2002 18:53:55 +0100 From: Matthew Seaman To: mingo lu Cc: freebsd-questions Subject: Re: make questions ... Message-ID: <20020710175355.GA38567@happy-idiot-talk.infracaninophi> References: <20020710161035.84392.qmail@web14809.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020710161035.84392.qmail@web14809.mail.yahoo.com> User-Agent: Mutt/1.5.1i 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 Wed, Jul 10, 2002 at 09:10:35AM -0700, mingo lu wrote: > I have two versions of "makes". One came with the 4.5 CD > (/usr/bin/make) and anothr one is gnu make > (/usr/local/bin/make). The default one, (PATH=/usr/local/bin) is gnu > make. > > The problem here is that the kernel compilation would not take gnu > make (even with command "/usr/bin/make buildkernel > KERNCONF=MYKERNEL"): > > Makefile:117: *** missing separator. Stop. BSD make and GNU make are very different animals, as you've found out. The whole FreeBSD buildworld system depends intimately on BSD make. Accept no substitutes. If you can't avoid having gnu make installed as /usr/local/bin/make, try the following: env PATH=/usr/bin:${PATH} make buildkernel KERNCONF=MYKERNEL > I have to uninstall the gun make in order to use thr original make > to rebuild my kernel. Quite so. That's why when you install Gnu make from ports, it gets installed as /usr/local/bin/gmake Which is really much the best solution to your problem that I can see. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message