Date: Tue, 25 Apr 2023 16:07:59 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271066] netlink: nooptions NETLINK build fails after base 089104e0e01f Message-ID: <bug-271066-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271066 Bug ID: 271066 Summary: netlink: nooptions NETLINK build fails after base 089104e0e01f Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: throwaway_vthgwq4@protonmail.com # cp sys/amd64/conf/GENERIC sys/amd64/conf/GENERIC-NONETLINK # echo "nooptions NETLINK" >> sys/amd64/conf/GENERIC-NONETLINK # make KERNCONF=3DGENERIC-NONETLINK WITHOUT_MODULES=3Dyes -j$(nproc) buildk= ernel [...] --- netlink_generic_kpi.o --- ctfconvert -L VERSION -g netlink_generic_kpi.o --- netlink_glue.o --- /usr/src/sys/netlink/netlink_glue.c:285:15: error: no member named 'nl_modify_ifp' in 'struct nl_function_wrapper' return (_nl->nl_modify_ifp(ifp, lattrs, bm, npt)); ~~~ ^ /usr/src/sys/netlink/netlink_glue.c:282:1: error: no previous prototype for function 'nl_modify_ifp_generic' [-Werror,-Wmissing-prototypes] nl_modify_ifp_generic(struct ifnet *ifp, struct nl_parsed_link *lattrs, ^ /usr/src/sys/netlink/netlink_glue.c:281:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ^ static=20 /usr/src/sys/netlink/netlink_glue.c:289:1: error: redefinition of 'nl_store_ifp_cookie_stub' nl_store_ifp_cookie_stub(struct nl_pstate *npt, struct ifnet *ifp) ^ /usr/src/sys/netlink/netlink_glue.c:189:1: note: previous definition is here nl_store_ifp_cookie_stub(struct nl_pstate *npt __unused, struct ifnet *ifp __unused) ^ 3 errors generated. *** [netlink_glue.o] Error code 1 make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NONETLINK --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271066-227>