Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2024 09:43:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282778] net/realtek-re-kmod: build error since 1500027 (struct ifnet is now hidden)
Message-ID:  <bug-282778-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 282778
           Summary: net/realtek-re-kmod: build error since 1500027 (struct
                    ifnet is now hidden)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: olivier@freebsd.org
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

Hi,

looks like a long due change switch to default on current:
https://lists.freebsd.org/archives/freebsd-net/2024-November/005983.html

f_re.c:1270:37: error: incomplete definition of type 'struct ifnet'
 1270 |         sc->re_rx_desc_buf_sz =3D (ifp->if_mtu > ETHERMTU) ? ifp->i=
f_mtu:
ETHERMTU;
      |                                  ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag
belongs to */
      |                ^

--=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-282778-7788>