Kernel build failure

Ruslan Ermilov ru at freebsd.org
Wed Dec 22 22:40:26 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041223/55be073c/attachment-0001.bin


More information about the freebsd-current mailing list