[Bug 282774] net/intel-iavf-kmod: build error since 1500027 (struct ifnet is now hidden)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Nov 2024 09:18:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282774 Bug ID: 282774 Summary: net/intel-iavf-kmod: build error since 1500027 (struct ifnet is now hidden) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: olivier@freebsd.org CC: freebsd@intel.com CC: freebsd@intel.com Flags: maintainer-feedback?(freebsd@intel.com) Hi, looks like a long due change switch to default on current: https://lists.freebsd.org/archives/freebsd-net/2024-November/005983.html if_iavf_iflib.c:871:2: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const void *' [-Wint-conversion] 871 | bcopy(IF_LLADDR(ifp), tmpaddr, ETHER_ADDR_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/systm.h:279:54: note: expanded from macro 'bcopy' 279 | #define bcopy(from, to, len) __builtin_memmove((to), (from), (len)) | ^~~~~~ if_iavf_iflib.c:1660:9: error: incomplete definition of type 'struct ifnet' 1660 | ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN | ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 | struct ifnet *ifp; /* network interface tag belongs to */ | ^ 1 warning and 2 errors generated. *** [if_iavf_iflib.o] Error code 1 -- You are receiving this mail because: You are the assignee for the bug.