From owner-freebsd-questions@FreeBSD.ORG Mon Jul 21 19:47:51 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 BE7F337B401 for ; Mon, 21 Jul 2003 19:47:51 -0700 (PDT) Received: from lakemtao03.cox.net (lakemtao03.cox.net [68.1.17.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5EEA43F85 for ; Mon, 21 Jul 2003 19:47:50 -0700 (PDT) (envelope-from stepheng-16@cox.net) Received: from Mandrake9.hr.cox.net ([68.99.98.94]) by lakemtao03.cox.net ESMTP <20030722024749.HUWW23518.lakemtao03.cox.net@Mandrake9.hr.cox.net> for ; Mon, 21 Jul 2003 22:47:49 -0400 From: Stephen G Smith To: freebsd-questions@freebsd.org In-Reply-To: <20030722003656.GA1400@rot13.obsecurity.org> References: <1058825577.2823.52.camel@Mandrake9.hr.cox.net> <20030722003656.GA1400@rot13.obsecurity.org> Content-Type: text/plain Organization: Message-Id: <1058842030.2337.24.camel@Mandrake9.hr.cox.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2-3mdk Date: 21 Jul 2003 22:47:10 -0400 Content-Transfer-Encoding: 7bit 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: Tue, 22 Jul 2003 02:47:52 -0000 On Mon, 2003-07-21 at 20:36, Kris Kennaway wrote: > On Mon, Jul 21, 2003 at 06:12:57PM -0400, 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? > > It's in /usr/libexec/, or it should be if you have a functional > system. > > Kris > Well, I looked in /usr/libexec, and there was no 'cc1'. After a bit of hunting around on the ftp site I found the directory ftp://ftp9.freebsd.org/pub/os/FreeBSD/FreeBSD-current/src/gnu/usr.bin/cc/cc1 in which there was a Makefile. Unfortunately, I don't quite know what one does with said Makefile. Am I even on the right track? Thanks for your help Stephen -- Stephen G Smith