[Bug 219725] modules/lmc: buildkernel fails when BPF is not allowed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 2 11:21:59 UTC 2017


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: freebsd-bugs at FreeBSD.org
          Reporter: ohartmann at walstatt.org

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.


More information about the freebsd-bugs mailing list