Skip site navigation (1)Skip section navigation (2)
Date:      21 Jul 2003 22:47:10 -0400
From:      Stephen G Smith <stepheng-16@cox.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: "make depend" fails, cc1: no such file
Message-ID:  <1058842030.2337.24.camel@Mandrake9.hr.cox.net>
In-Reply-To: <20030722003656.GA1400@rot13.obsecurity.org>
References:  <1058825577.2823.52.camel@Mandrake9.hr.cox.net> <20030722003656.GA1400@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <stepheng-16@cox.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1058842030.2337.24.camel>