From owner-freebsd-questions Sun Aug 19 4:32:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from academy.kearneys.ca (academy.pims.sfu.ca [142.58.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 8728A37B40E for ; Sun, 19 Aug 2001 04:32:37 -0700 (PDT) (envelope-from brent@academy.kearneys.ca) Received: (from brent@localhost) by academy.kearneys.ca (8.11.3/8.11.3) id f7JBWYr06892; Sun, 19 Aug 2001 04:32:34 -0700 (PDT) (envelope-from brent) Date: Sun, 19 Aug 2001 04:32:33 -0700 From: Brent Kearney To: Core Dump Cc: FreeBSD Questions Subject: Re: make !!!???! Message-ID: <20010819043233.A6699@kearneys.ca> References: <46C83771.703D209B@geodezie.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <46C83771.703D209B@geodezie.net>; from coredump@geodezie.net on Sun, Aug 19, 2007 at 12:28:33PM +0000 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 Sun, Aug 19, 2007 at 12:28:33PM +0000, Core Dump wrote: > Hi all, > I have FreeBSD 4.0 and when I want to compile my kernel in > ../../compile/ > with::: > make depend > I get this strange error: "don't know how to make depend" or "no target > to make" > even MYKERNEL config is in there ! > > What I can't make to build my kernel ??? > > Hard to say what is going wrong from the information you've given. Though maybe you forgot to run the 'config' command to generate your kernel source. Have you followed these steps (note that the name 'MYKERNEL' is just an example, and you should actually name it something suitable to your host, like your hostname)? Change into the kernel config file directory. # cd /usr/src/sys/i386/conf Create a kernel config file suitable to your environment. # cp GENERIC MYKERNEL ; vi MYKERNEL , etc Run config(8) to generate the kernel source code. # /usr/sbin/config MYKERNEL Change into the build directory. # cd ../../compile/MYKERNEL Compile the kernel. # make depend # make Install the new kernel. # make install The above is pretty much straight from the handbook. Cheers, Brent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message