Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jun 2017 11:21:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 219725] modules/lmc: buildkernel fails when BPF is not allowed
Message-ID:  <bug-219725-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219725

            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@FreeBSD.org
          Reporter: ohartmann@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

--=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-219725-8>