Re: Build Break?

From: Alexander V. Chernikov <melifaro_at_ipfw.ru>
Date: Sun, 02 Oct 2022 16:27:23 UTC
02.10.2022, 17:18, "Larry Rosenman" &lt;ler@lerctr.org&gt;:<br /><blockquote><p>On 10/02/2022 8:12 am, Alexander V. Chernikov wrote:<br /></p><blockquote class="210e7a848e8fcb45wmi-quote"><blockquote class="210e7a848e8fcb45wmi-quote"> On 1 Oct 2022, at 22:57, Larry Rosenman &lt;<a href="mailto:ler@lerctr.org">ler@lerctr.org</a>&gt; wrote:<br /> <br /> --- all_subdir_nfscommon ---<br /> Building <br /> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/nfscommon/nfs_commonkrpc.o<br /> --- all_subdir_netgraph ---<br /> --- all_subdir_netgraph/deflate ---<br /> Building <br /> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/deflate/offset.inc<br /> --- all_subdir_netgraph/device ---<br /> Building <br /> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/device/i386<br /> --- all_subdir_netgraph/echo ---<br /> ===&gt; netgraph/echo (all)<br /> --- all_subdir_netlink ---<br /> --- netlink_io.o ---<br /> /usr/src/sys/netlink/netlink_io.c:146:2: error: implicit declaration <br /> of function 'mtx_lock' is invalid in C99 <br /> [-Werror,-Wimplicit-function-declaration]<br />        NLP_LOCK(nlp);<br /></blockquote> That’s interesting. netlink_io.c includes sys/mutex.h which defines <br /> mutex_lock() / mutex_unlock().<br />  Could you share the diff between GENERIC and LER-MINIMAL?<br /> <br /></blockquote><p>I sent the diff in another message, but here is LER-MINIMAL.</p></blockquote>Thank you!<div>So it’s non-networking config. I’ll make netlink build  conditional on INET || INET6 today/tomorrow.<br /><blockquote><p></p><span class="f55bbb4eeef208e8wmi-sign">-- <br />Larry Rosenman                     <a href="http://www.lerctr.org/~ler">http://www.lerctr.org/~ler</a><br />Phone: <span class="1f1ea193f6735cf0wmi-callto">+1 214-642-9640</span>                 E-Mail: <a href="mailto:ler@lerctr.org">ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX <span class="1f1ea193f6735cf0wmi-callto">78665-2106</span><br /></span></blockquote></div>