From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 02:41:08 2003 Return-Path: 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 7424D37B401 for ; Wed, 23 Jul 2003 02:41:08 -0700 (PDT) Received: from mail012.syd.optusnet.com.au (mail012.syd.optusnet.com.au [210.49.20.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A9CB43FAF for ; Wed, 23 Jul 2003 02:41:07 -0700 (PDT) (envelope-from anubis357@optusnet.com.au) Received: from rdlax6-232.dialup.optusnet.com.au (rdlax6-232.dialup.optusnet.com.au [198.142.15.232])h6N9f4o26591 for ; Wed, 23 Jul 2003 19:41:05 +1000 From: anubis To: freebsd-questions@freebsd.org Date: Wed, 23 Jul 2003 19:48:25 +1000 User-Agent: KMail/1.5.2 References: <1058825577.2823.52.camel@Mandrake9.hr.cox.net> In-Reply-To: <1058825577.2823.52.camel@Mandrake9.hr.cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307231948.25073.anubis357@optusnet.com.au> Subject: Re: "make depend" fails, cc1: no such file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 09:41:08 -0000 On Tue, 22 Jul 2003 08:12 am, Stephen G Smith wrote: > I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to > my kernel. So, I carefully read and followed the instructions in section > 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this > error: > > cc: installation problem, cannot exec 'cc1': no such file or directory > *** Error code 1 > > I know I have a file /usr/bin/cc, but obviously no 'cc1' anywhere. > Any hints? > > Thanks, > > Stephen > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" I had a similar problem it resolved when I read the next bit in the manual Procedure 2. Building a kernel the ``new'' way Change to the /usr/src directory. # cd /usr/src Compile the kernel. # make buildkernel KERNCONF=MYKERNEL Install the new kernel. # make installkernel KERNCONF=MYKERNEL