Subject: Re: Kernel: compilation probleme
To: None <current-users@NetBSD.org>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 12/26/2006 15:29:20
kamel derouiche wrote:
> I get the following error when I try to 'make depend'
> a NetBSD current 4.x.x Kernel.

The usual way to compile a kernel is using build.sh nowadays.

For example, to build a GENERIC kernel, you'd typically run this:

sh /usr/src/build.sh -D /usr/destdir -O /usr/obj -T /usr/tools -Uu kernel=GENERIC

> make:
> "../../../../conf/../../../../conf/Makefile.kern.inc"
> line 75: Malformed 
> onditional (${HAVE_GCC} > 3)

If you really wanted to use make, you could workaround this by setting
HAVE_GCC appropriately but unless you know what you're doing, that's
not a good idea.

-- 
Christian