On 10/02/2022 8:12 am, Alexander V. Chernikov wrote:
On 1 Oct 2022, at 22:57, Larry Rosenman <l...@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?

I sent the diff in another message, but here is LER-MINIMAL.

--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
# LER-MINIMAL  -- kernel config based on MINIMAL

include         MINIMAL
ident           LER-MINIMAL

nooptions       WITNESS                 # Enable checks to detect deadlocks and 
cycles
nooptions       WITNESS_SKIPSPIN        # Don't run witness on spinlocks for 
speed
options         KDB_UNATTENDED
#options                DEBUG_MEMGUARD
#options                DEBUG_REDZONE
makeoptions     WITH_EXTRA_TCP_STACKS=1
options         TCPHPTS
device          mfi
options         TCP_RFC7413
# Kernel dump features.
options         EKCD                    # Support for encrypted kernel dumps
options         GZIO                    # gzip-compressed kernel and user dumps
options         ZSTDIO                  # zstd-compressed kernel and user dumps
options         NETDUMP                 # netdump(4) client support
# ipsec support
options         IPSEC_SUPPORT
device          crypto

#netgraph debug
options         NETGRAPH_DEBUG

#tcp ratelimit
options         RATELIMIT

## INVARIANTS
options         INVARIANT_SUPPORT
#options                INVARIANTS

Reply via email to