Changes to network interface drivers for "ifstats" seem to have not yet
reached "plip(4)", causing build failures for kernels enabling ppbus(4)
and the plip(4) device:

[...]
--- if_plip.o ---
#   compile  PLEX760/if_plip.o
/r0/build/current/tools/amd64/bin/x86_64--netbsd-gcc -mcmodel=kernel 
-mno-red-zone -mno-mmx -mno-sse -mno-avx -msoft-float 
-mindirect-branch=thunk-inline -mindirect-branch-register -ffreestanding 
-fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -g -O2 
-fno-omit-frame-pointer -fstack-protector -Wstack-protector --param 
ssp-buffer-size=1 -fno-strict-aliasing -fno-common -std=gnu99 -Werror -Wall 
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wextra 
-Wno-unused-parameter -Wold-style-definition -Wno-sign-compare 
--sysroot=/r0/build/current/DEST/amd64 -Damd64 -Dx86_64 -I. 
-I/x/current/src/sys/external/bsd/acpica/dist 
-I/x/current/src/sys/external/bsd/libnv/dist 
-I/x/current/src/sys/../common/lib/libx86emu 
-I/x/current/src/sys/../common/lib/libc/misc 
-I/x/current/src/sys/../common/include -I/x/current/src/sys/arch 
-I/x/current/src/sys -nostdinc -DCOMPAT_UTILS -DDIAGNOSTIC -DCOMPAT_44 
-DDISKLABEL_EI -D_KERNEL -D_KERNEL_OPT -std=gnu99 
-I/x/current/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/x/current/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/x/current/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string 
-D_FORTIFY_SOURCE=2 -I/x/current/src/sys/dist/pf 
-I/x/current/src/sys/external/bsd/common/include 
-I/x/current/src/sys/external/bsd/common/include 
-I/x/current/src/sys/external/bsd/drm2/include 
-I/x/current/src/sys/external/bsd/drm2/include 
-I/x/current/src/sys/external/bsd/common/include 
-I/x/current/src/sys/external/bsd/drm2/dist/include 
-I/x/current/src/sys/external/bsd/drm2/dist/include/drm 
-I/x/current/src/sys/external/bsd/drm2/dist/uapi 
-I/x/current/src/sys/external/bsd/drm2/dist -D__KERNEL__ 
-DCONFIG_BACKLIGHT_CLASS_DEVICE=0 -DCONFIG_BACKLIGHT_CLASS_DEVICE_MODULE=0 
-DCONFIG_DRM_FBDEV_EMULATION=1 -DCONFIG_FB=0 
-I/x/current/src/sys/external/bsd/drm2/i915drm 
-I/x/current/src/sys/external/bsd/drm2/dist/drm/i915 -DCONFIG_DRM_I915_FBDEV=1 
-DCONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=0 -DCONFIG_DRM_FBDEV_EMULATION=1 
-I/x/current/src/sys/external/bsd/acpica/dist/include -c 
/x/current/src/sys/dev/ppbus/if_plip.c -o if_plip.o
/x/current/src/sys/dev/ppbus/if_plip.c: In function 'lp_intr':
/x/current/src/sys/dev/ppbus/if_plip.c:639:8: error: 'struct ifnet' has no 
member named 'if_iqdrops'; did you mean 'if_addrlist'?
   ifp->if_iqdrops++;
        ^~~~~~~~~~
        if_addrlist
/x/current/src/sys/dev/ppbus/if_plip.c:646:8: error: 'struct ifnet' has no 
member named 'if_iqdrops'; did you mean 'if_addrlist'?
   ifp->if_iqdrops++;
        ^~~~~~~~~~
        if_addrlist
/x/current/src/sys/dev/ppbus/if_plip.c:650:7: error: 'struct ifnet' has no 
member named 'if_ipackets'; did you mean 'if_stats'?
  ifp->if_ipackets++;
       ^~~~~~~~~~~
       if_stats
/x/current/src/sys/dev/ppbus/if_plip.c:651:7: error: 'struct ifnet' has no 
member named 'if_ibytes'; did you mean 'if_index'?
  ifp->if_ibytes += len;
       ^~~~~~~~~
       if_index
/x/current/src/sys/dev/ppbus/if_plip.c:659:7: error: 'struct ifnet' has no 
member named 'if_ierrors'; did you mean 'if_metric'?
  ifp->if_ierrors++;
       ^~~~~~~~~~
       if_metric
/x/current/src/sys/dev/ppbus/if_plip.c: In function 'lpoutput':
/x/current/src/sys/dev/ppbus/if_plip.c:727:8: error: 'struct ifnet' has no 
member named 'if_noproto'; did you mean 'if_softc'?
   ifp->if_noproto++;
        ^~~~~~~~~~
        if_softc
/x/current/src/sys/dev/ppbus/if_plip.c:738:8: error: 'struct ifnet' has no 
member named 'if_oerrors'; did you mean 'if_metric'?
   ifp->if_oerrors++;
        ^~~~~~~~~~
        if_metric
/x/current/src/sys/dev/ppbus/if_plip.c: In function 'lpstart':
/x/current/src/sys/dev/ppbus/if_plip.c:911:9: error: 'struct ifnet' has no 
member named 'if_oerrors'; did you mean 'if_metric'?
    ifp->if_oerrors++;
         ^~~~~~~~~~
         if_metric
/x/current/src/sys/dev/ppbus/if_plip.c:928:9: error: 'struct ifnet' has no 
member named 'if_opackets'; did you mean 'if_stats'?
    ifp->if_opackets++;
         ^~~~~~~~~~~
         if_stats
/x/current/src/sys/dev/ppbus/if_plip.c:929:9: error: 'struct ifnet' has no 
member named 'if_obytes'; did you mean 'if_type'?
    ifp->if_obytes += m->m_pkthdr.len;
         ^~~~~~~~~
         if_type


Thanks.


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Reply via email to