Kernel Compile issue

Polytropon freebsd at
Mon Mar 2 01:43:53 PST 2009

On Mon, 2 Mar 2009 01:28:59 -0800, Paige Thompson <erratic at> wrote:
> Mike,
> I think you misread what I sent, however I noticed that you used
> 'KERNELCONF' instead of 'config' (as I noted) but I still get the same
> error.

Correct is KERNCONF=<name of config file> as parameter for buildkernel
and installkernel targets.

Allthough the "old way" using config <kernel> && make depend && make
is still supported. Don't miss the "make depend".

> I want to say the issue must have something to do with the fact that
> there's no environment variables that specify the include directories.

As far as I know, there are system defaults that apply.

When building from updated sources, the files within the source tree
are used (in /usr/src).

There's nothing that should be in the env output.

I'd suggest to follow the already given advice to work exactly
"by manual", at least for the first time. Have a look at the
comments /usr/src/Makefile, they're explaining the most obvious
mistakes one could make.

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list