Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 16:04:33 +0200
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Michael Butler <imb@protected-networks.net>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Mateusz Guzik <mjg@freebsd.org>
Subject:   Re: Build failure: non-SMP after SVN r324778
Message-ID:  <CAGudoHFxFfuGYDpOCk_Joq%2BZc6QZVLBy2Lq5-QYB69Pd35T_rw@mail.gmail.com>
In-Reply-To: <fbfcbf7a-954c-473c-6686-697baf50bf73@protected-networks.net>
References:  <fbfcbf7a-954c-473c-6686-697baf50bf73@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 20, 2017 at 3:52 PM, Michael Butler <imb@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHFxFfuGYDpOCk_Joq%2BZc6QZVLBy2Lq5-QYB69Pd35T_rw>