Kernel build failure
Scott Long
scottl at freebsd.org
Thu Dec 23 07:39:50 PST 2004
Ruslan Ermilov wrote:
> 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,
Ok, fair enough. I think that the NO_* change warrants an UPDATING
entry that describes the problem. I know that I'm not the only
person who was bitten by this.
Scott
More information about the freebsd-current
mailing list