Re: Kernel build failure

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Thu, 23 Dec 2004 08:40:20 +0200
Hi Scott,

On Wed, Dec 22, 2004 at 08:57:52PM -0700, Scott Long wrote:
> Got this while trying to build a kernel from today's sources in
> /sys/i386/compile/<CONFNAME>.  I assume that we are still allowed
> to build kernels in this way, yes?
> 
> ===> aic7xxx (all)
> ===> aic7xxx/aicasm (all)
> make: don't know how to make aicasm.1. Stop
> *** Error code 2
> 1 error
> 
We never guarantee this.  What we guarantee though, is that
you'll be able to build your kernel through this sequence:

	make buildworld
	make buildkernel

This takes care of upgrade issues.  In this case, the
upgrade issue is that sys/dev/aic7xxx/aicasm/Makefile
relies on the new spelling of NO_MAN, and you still
have your /usr/share/mk filled with the old stuff.
Two options:

1.  You follow the supported upgrade path above, which
    is also documented in src/UPDATING (COMMON ITEMS,
    "To build a kernel").

2.  You follow "To just build a kernel when you know
    that it won't mess you up" also from src/UPDATING,
    after manually updating your /usr/share/mk:

	cd /usr/src/share/mk
	make install


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Thu Dec 23 2004 - 05:40:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:25 UTC