Re: Build failure: non-SMP after SVN r324778

From: Mateusz Guzik <mjguzik_at_gmail.com>
Date: Fri, 20 Oct 2017 16:04:33 +0200
On Fri, Oct 20, 2017 at 3:52 PM, Michael Butler <imb_at_protected-networks.net>
wrote:

> If SMP is not defined, as it isn't on my last remaining i386 platform, the
> build fails with:
>
> Building /usr/obj/usr/src/sys/SARAH/kern_mutex.o
> --- kern_mutex.o ---
> /usr/src/sys/kern/kern_mutex.c:313:3: error: implicit declaration of
> function '_mtx_lock_spin' is invalid in C99 [-Werror,-Wimplicit-function-d
> eclaration]
>                 _mtx_lock_spin(m, v, opts, file, line);
>                 ^
> /usr/src/sys/kern/kern_mutex.c:313:3: error: this function declaration is
> not a prototype [-Werror,-Wstrict-prototypes]
> 2 errors generated.
> *** [kern_mutex.o] Error code 1
>
>
oops, fixed in r324803.

-- 
Mateusz Guzik <mjguzik gmail.com>
Received on Fri Oct 20 2017 - 12:04:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC