Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2003 19:48:25 +1000
From:      anubis <anubis357@optusnet.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: "make depend" fails, cc1: no such file
Message-ID:  <200307231948.25073.anubis357@optusnet.com.au>
In-Reply-To: <1058825577.2823.52.camel@Mandrake9.hr.cox.net>
References:  <1058825577.2823.52.camel@Mandrake9.hr.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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