Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 09:52:16 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        FreeBSD Current <freebsd-current@FreeBSD.org>, mjg@freebsd.org
Subject:   Build failure: non-SMP after SVN r324778
Message-ID:  <fbfcbf7a-954c-473c-6686-697baf50bf73@protected-networks.net>

next in thread | raw e-mail | index | archive | help
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-declaration]
                 _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

make[2]: stopped in /usr/obj/usr/src/sys/SARAH

	imb




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fbfcbf7a-954c-473c-6686-697baf50bf73>