Date: Tue, 10 May 2022 16:56:08 +0000 From: bugzilla-noreply@freebsd.org To: dtrace@FreeBSD.org Subject: [Bug 263858] dtrace: Fails to compile script on main: operator -> cannot be applied to a forward declaration: no struct ip_fw_args definition is available Message-ID: <bug-263858-32976-TqUt1Nlowp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263858-32976@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263858 --- Comment #10 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> --- (In reply to Mark Johnston from comment #8) > Oh. How did you build ipfw.ko? Did you build it as a standalone module, or as > part of a buildkernel? In the latter case, do you have "makeoptions > WITH_CTF=1" in the kernel configuration? As part of buildkernel process. I basically don't build modules in base standalone. And my kernel configuration on main is as below, stripping comments. include GENERIC-NODEBUG ident confname options CAM_IOSCHED_DYNAMIC As GENERIC-NODEBUG includes GENERIC, and /usr/src/sys/conf/std.nodebug doesn't seem to overwrite the makeoptions, there should be, theoretically, "makeoptions WITH_CTF=1". Kerel configuration on stable/13 is different, as stable/13 doesn't have GENERIC-NODEBUG to include. I've copied old-style GENERIC-NODEBUG from main (current, ATM) and applied minimal change (change ident line and add options CAM_IOSCHED_DYNAMIC). include GENERIC ident confname nooptions DDB nooptions GDB nooptions INVARIANTS nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN nooptions DEADLKRES options CAM_IOSCHED_DYNAMIC -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263858-32976-TqUt1Nlowp>
