Fixes: 27f54be50bb
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 59689 Build 56575: arc lint + arc unit
Event Timeline
Comment Actions
Both LINT-NOINET and LINT-NOINET6 build for me. I wonder what's different about your env...
But it's fine.
Comment Actions
Ah yes, you need to also not have ALTQ enabled, and in fact this patch is too simple because the module also fails to build with NOINET.
% cat sys/amd64/conf/PFNO6 ; make buildkernel KERNCONF=PFNO6 MODULES_OVERRIDE=pf -j12 >& PFNO6.log ; echo $? ; grep error: PFNO6.log include MINIMAL ident PFNO6 device pf nooption INET6 2 /usr/src/main/sys/netpfil/pf/pf.c:8858:19: error: unused variable 'h6' [-Werror,-Wunused-variable] /usr/src/main/sys/netpfil/pf/pf.c:8858:19: error: unused variable 'h6' [-Werror,-Wunused-variable] % cat sys/amd64/conf/PFNO4 ; make buildkernel KERNCONF=PFNO4 MODULES_OVERRIDE=pf -j12 >& PFNO4.log ; echo $? ; grep error: PFNO4.log include MINIMAL ident PFNO4 device pf nooption INET 2 /usr/src/main/sys/netpfil/pf/pf.c:8857:14: error: unused variable 'h' [-Werror,-Wunused-variable]