Can't compile kernel

Peter petermatulis at
Wed Nov 23 07:54:09 GMT 2005

--- Jose Borquez <calartstech at> wrote:

>  I made a standard install of FreeBSD 5.4  with Kern-Developer  Full
> binaries and doc, kernel source  only.  I attempted to compile a custom
> kernel running:
>   make buildkernel KERNCONF=CUSTOM  Then I get the following error:
> make: don't know how to make buildkernel. Stop
>   I run it from the /usr/src/ directory.  The /usr/src/ directory is 
> empty.  Does that mean the source files were not installed?
>   Could someone please give me any clues as to what I am missing or have
> done incorrectly?

The /usr/src/sys directory should contain the kernel source code.  Your
claim that the /usr/src directory is empty is strange since you also say
you are compiling a custom kernel.  Where is the custom kernel config file
if not under /usr/src/sys/<arch>/conf?


Find your next car at

More information about the freebsd-questions mailing list