Re: Build Break?
- Reply: Larry Rosenman : "Re: Build Break?"
- In reply to: Alexander V. Chernikov : "Re: Build Break?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 16:44:47 UTC
On 10/02/2022 11:27 am, Alexander V. Chernikov wrote: > 02.10.2022, 17:18, "Larry Rosenman" <ler@lerctr.org>: > > 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? I sent the diff in another message, but here is LER-MINIMAL. Thank you! So it's non-networking config. I'll make netlink build conditional on INET || INET6 today/tomorrow. I actually kldload a bunch of stuff. kld_list="aesni coretemp filemon linux ichsmb ichwd cpuctl cryptodev dtraceall i pmi " kld_list="$kld_list if_bridge bridgestp if_tuntap hwpmc tcp_rack mfip ioat" kld_list="$kld_list if_bce usb ukbd usb_quirk usb_template ums uhci xhci ehci oh ci" kld_list="$kld_list efirt nfscl nfscommon nfsd nfslockd nfssvc" kld_list="$kld_list ataintel geom_label" #kld_list="$kld_list geom_label" > -- > 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 -- 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