https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219725

            Bug ID: 219725
           Summary: modules/lmc: buildkernel fails when BPF is not allowed
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

In case the kernel config doesn't contain

options BPF

the module if_lmc fails to build as shown below.


[...]
/pool/sources/11.0-RELEASE/src/sys/modules/lmc/../../dev/lmc/if_lmc.c:4357:33:
error: use of undeclared identifier 'DEV_BPF'
   ALTQ_PRESENT ? "ALTQ " : "", NBPFILTER ? "BPF " : "",
                                ^
/pool/sources/11.0-RELEASE/src/sys/modules/lmc/../../dev/lmc/if_lmc.c:94:20:
note: expanded from macro 'NBPFILTER'
# define NBPFILTER DEV_BPF
                   ^
4 errors generated.
*** [if_lmc.o] Error code 1

make[5]: stopped in /pool/sources/11.0-RELEASE/src/sys/modules/lmc
--- all_subdir_linux_common ---
--- linux_util.o ---
--- all_subdir_lmc ---
1 error

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to