kernel compile problems

Bruce Cran bruce at cran.org.uk
Sat Feb 21 10:13:26 PST 2009


daemon wrote:
> I try to build a 7.1 kernel but when i does
>
> # make depend && make clean depend
>
> make shows :
>
> make : don't know how to make ../../../dev/agp/agp.c. Stop
>
> anyone know anything? Thanks!
>   

The process for building a kernel has changed since the days of 4.x.  
Now you should just use:

make buildkernel KERNCONF=configfile

Leave the KERNCONF out to build GENERIC.

See 
http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html 
for more details.

-- 
Bruce Cran


More information about the freebsd-questions mailing list