Re: Build Break?

From: Larry Rosenman <ler_at_lerctr.org>
Date: Sun, 02 Oct 2022 15:48:34 UTC
On 10/02/2022 8:12 am, Alexander V. Chernikov wrote:
>> On 1 Oct 2022, at 22:57, Larry Rosenman <ler@lerctr.org> wrote:
>> 
>> --- all_subdir_nfscommon ---
>> Building 
>> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/nfscommon/nfs_commonkrpc.o
>> --- all_subdir_netgraph ---
>> --- all_subdir_netgraph/deflate ---
>> Building 
>> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/deflate/offset.inc
>> --- all_subdir_netgraph/device ---
>> Building 
>> /usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/netgraph/device/i386
>> --- all_subdir_netgraph/echo ---
>> ===> netgraph/echo (all)
>> --- all_subdir_netlink ---
>> --- netlink_io.o ---
>> /usr/src/sys/netlink/netlink_io.c:146:2: error: implicit declaration 
>> of function 'mtx_lock' is invalid in C99 
>> [-Werror,-Wimplicit-function-declaration]
>>        NLP_LOCK(nlp);
> That’s interesting. netlink_io.c includes sys/mutex.h which defines 
> mutex_lock() / mutex_unlock().
>  Could you share the diff between GENERIC and LER-MINIMAL?
> 
attached.

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106