From nobody Sun Dec 1 09:58:32 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y1Mn80FHrz5fMW3 for ; Sun, 01 Dec 2024 09:58:36 +0000 (UTC) (envelope-from SRS0=qlD+=S2=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1Mn700K3z4rsm; Sun, 1 Dec 2024 09:58:34 +0000 (UTC) (envelope-from SRS0=qlD+=S2=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=lKj17cd+; spf=pass (mx1.freebsd.org: domain of "SRS0=qlD+=S2=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=qlD+=S2=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Date: Sun, 1 Dec 2024 10:58:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1733047113; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6CfQXtVHRqXmmYJ3Fj+FSu9uuVNCnLTkXgkVHwaZvmM=; b=lKj17cd+/4XvNNgWdmMQvT6chaoBNnOL+7+3WoNBr1deR7N6xhEdU1BLU6G/3ySeTOJBFO 6UM3QyZJqTvoIXxVxCZ3F1XRvNRgEtJuH4+F4X3niTfIL7rwXKTWLVWcUvMdQtkgY77FGQ Pk4AG7H/J9Wf24vvfZoCXbu2CKFzbrtPQ9CIyMS5bl0j1zf3ynY1Q6ImKhT5E+HQ918jvn ZRTkFdolt+D6uxqJ/+ITfQ4QsSg8rjl11By05cjjQNiY6QizJpp8bpF/w4L1j8P430zKwb AMN9zycxqpTczyhyk3k2in223qEqtdAqajdD3Ikkc2vZjcHoahcaeR3n25J8Ug== From: Ronald Klop To: Mike Jakubik Cc: freebsd-net@freebsd.org, ale@FreeBSD.org Message-ID: <1944158676.16135.1733047112928@localhost> In-Reply-To: References: Subject: Re: FreeBSD Port: net/realtek-re-kmod List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16134_1543477813.1733047112836" X-Mailer: Realworks (730.93) Importance: Normal X-Priority: 3 (Normal) X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=qlD@realworks.nl]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_THREE(0.00)[3]; HAS_X_PRIO_THREE(0.00)[3]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=qlD@realworks.nl]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; TAGGED_FROM(0.00)[=S2=klop.ws=ronald-lists]; FREEMAIL_TO(0.00)[gmail.com]; DKIM_TRACE(0.00)[klop.ws:+] X-Rspamd-Queue-Id: 4Y1Mn700K3z4rsm X-Spamd-Bar: --- ------=_Part_16134_1543477813.1733047112836 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable I think a quick fix for your problem was committed a few days ago (Nov 28). https://cgit.freebsd.org/ports/commit/?id=3D4ca9ea9d4060a4a494456a0e56306bd= 508fe20e8 Regards, Ronald. =20 Van: Mike Jakubik Datum: zondag, 1 december 2024 01:59 Aan: ale@FreeBSD.org, freebsd-net@freebsd.org Onderwerp: FreeBSD Port: net/realtek-re-kmod >=20 > Any update on this from upstream maybe? Seems like an easy fix, I got new= system that needs this driver too (Realtek 5Gb). >=20 > Ty. >=20 >=20 > Hello, >=20 >=20 > Seems like it wont compile on recent current, noticed about 2 days ago a= nd /usr/src/sys/sys/mbuf.h hasnt been touched it seems. >=20 > 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-56043cbfdd: Thu Nov 21 20:30:44= EST 2024 >=20 >=20 > [root@fbsd15 /usr/ports/net/realtek-re-kmod]# make MAKE_JOBS_UNSAFE=3Dyes > =3D=3D=3D> Building for realtek-re-kmod-1100.00_1 > Warning: Object directory not changed from original /usr/ports/net/realte= k-re-kmod/work/rtl_bsd_drv-ea4ed1e > cc -O2 -pipe -fno-strict-aliasing -DENABLE_INTERRUPT_MITIGATIN -Werror -= D_KERNEL -DKLD_MODULE -nostdinc -include /usr/ports/net/realtek-re-kmod/w= ork/rtl_bsd_drv-ea4ed1e/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/cont= rib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-poi= nter -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-pr= efix-map=3D./x86=3D/usr/src/sys/x86/include -fdebug-prefix-map=3D./i386=3D/= usr/src/sys/i386/include -MD -MF.depend.if_re.o -MTif_re.o -mcmodel=3Dke= rnel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind= -tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes= -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign= -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-sh= ow-option -Wno-unknown-pragmas -Wswitch -Wno-error=3Dtautological-compare -= Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunuse= d-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno= -address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std= =3Dgnu99 -c if_re.c -o if_re.o > if_re.c:1270:37: error: incomplete definition of type 'struct ifnet' > 1270 | sc->re_rx_desc_buf_sz =3D (ifp->if_mtu > ETHERMTU) ? ifp->= if_mtu: ETHERMTU; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:1270:63: error: incomplete definition of type 'struct ifnet' > 1270 | sc->re_rx_desc_buf_sz =3D (ifp->if_mtu > ETHERMTU) ? ifp->= if_mtu: ETHERMTU; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:4562:60: error: incomplete definition of type 'struct ifnet' > 4562 | printf("if_drv_flags\t0x%08x\n", sc->re_ifp->if_dr= v_flags); > | ~~~~~~~~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:4622:43: error: call to undeclared function 'IF_LLADDR'; ISO C99 = and later do not support implicit function declarations [-Werror,-Wimplicit= -function-declaration] > 4622 | printf("dev_addr\t%6D\n", IF_LLADDR(sc->re_ifp), "= :"); > | ^ > if_re.c:4622:43: error: format specifies type 'void *' but the argument h= as type 'int' [-Werror,-Wformat] > 4622 | printf("dev_addr\t%6D\n", IF_LLADDR(sc->re_ifp), "= :"); > | ~~~ ^~~~~~~~~~~~~~~~~~~~~ > if_re.c:4662:32: error: incomplete definition of type 'struct ifnet' > 4662 | if ((sc->re_ifp->if_drv_flags & IFF_DRV_RUNNING) = =3D=3D 0) { > | ~~~~~~~~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5522:12: error: incomplete definition of type 'struct ifnet' > 5522 | ifp->if_softc =3D sc; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5529:12: error: incomplete definition of type 'struct ifnet' > 5529 | ifp->if_mtu =3D ETHERMTU; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5530:12: error: incomplete definition of type 'struct ifnet' > 5530 | ifp->if_flags =3D IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTIC= AST; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5531:12: error: incomplete definition of type 'struct ifnet' > 5531 | ifp->if_ioctl =3D re_ioctl; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5532:12: error: incomplete definition of type 'struct ifnet' > 5532 | ifp->if_output =3D ether_output; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5533:12: error: incomplete definition of type 'struct ifnet' > 5533 | ifp->if_start =3D re_start; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5538:20: error: incomplete definition of type 'struct ifnet' > 5538 | ifp->if_hwassist |=3D CSUM_TCP | CSUM_UDP; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5540:20: error: incomplete definition of type 'struct ifnet' > 5540 | ifp->if_hwassist |=3D RE_CSUM_FEATURES; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5541:12: error: incomplete definition of type 'struct ifnet' > 5541 | ifp->if_capabilities =3D IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5544:20: error: incomplete definition of type 'struct ifnet' > 5544 | ifp->if_hwassist |=3D CSUM_TSO; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5545:20: error: incomplete definition of type 'struct ifnet' > 5545 | ifp->if_capabilities |=3D IFCAP_TSO; > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5549:20: error: incomplete definition of type 'struct ifnet' > 5549 | ifp->if_hwassist &=3D ~(CSUM_IP6_TSO | > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > if_re.c:5552:20: error: incomplete definition of type 'struct ifnet' > 5552 | ifp->if_capabilities &=3D ~(IFCAP_TSO6 | IFCAP_HWC= SUM_IPV6); > | ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet= ' > 139 | struct ifnet *ifp; /* network interface tag be= longs to */ > | ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=3D] > 20 errors generated. > *** Error code 1 >=20 > Stop. > make: stopped making "all" in /usr/ports/net/realtek-re-kmod/work/rtl_bsd= _drv-ea4ed1e > *** Error code 1 >=20 > Stop. > make: stopped making "all" in /usr/ports/net/realtek-re-kmod > [root@fbsd15 /usr/ports/net/realtek-re-kmod]# >=20 >=20 > =20 >=20 >=20 >=20 =20 ------=_Part_16134_1543477813.1733047112836 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable I think a quick fix for your problem was committed= a few days ago (Nov 28).

https://cgit.freebsd.org/ports/commit/?id=3D4ca9ea9d4= 060a4a494456a0e56306bd508fe20e8

Regards,
Ronald.

 

Van: Mike Jakubik <mike.jakubik@gmail.com>
Datum: zondag, 1 december 2024 01:59
Aan: ale@FreeBSD.org, freebsd-net@freebsd.org
Onderwerp: FreeBSD Port: net/realtek-re-kmod

Any update on this from upstream = maybe? Seems like an easy fix, I got new system that needs this driver too = (Realtek 5Gb).

Ty.


Hello,


Seems like it wont compile on recent current, noticed about  2 days ag= o and /usr/src/sys/sys/mbuf.h hasnt been touched it seems.

15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-56043cbfdd: Thu Nov 21 20:30:44 E= ST 2024


[root@fbsd15 /usr/ports/net/realtek-re-kmod]# make MAKE_JOBS_UNSAFE=3Dyes =3D=3D=3D>  Building for realtek-re-kmod-1100.00_1
Warning: Object directory not changed from original /usr/ports/net/realtek-= re-kmod/work/rtl_bsd_drv-ea4ed1e
cc  -O2 -pipe -fno-strict-aliasing -DENABLE_INTERRUPT_MITIGATIN -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc   -include /usr/ports/net/real= tek-re-kmod/work/rtl_bsd_drv-ea4ed1e/opt_global.h -I. -I/usr/src/sys -I/usr= /src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-l= eaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/inclu= de -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -fdebug-prefix-map= =3D./i386=3D/usr/src/sys/i386/include    -MD -MF.depend.if_r= e.o -MTif_re.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-flo= at  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-pro= tector  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith= -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -= Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswit= ch -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error=3Dp= arentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign = -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-format= -zero-length   -mno-aes -mno-avx  -std=3Dgnu99 -c if_re.c -o= if_re.o
if_re.c:1270:37: error: incomplete definition of type 'struct ifnet'
1270 |         sc->re_rx_desc_bu= f_sz =3D (ifp->if_mtu > ETHERMTU) ? ifp->if_mtu: ETHERMTU;
|            &n= bsp;            = ;         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:1270:63: error: incomplete definition of type 'struct ifnet'
1270 |         sc->re_rx_desc_bu= f_sz =3D (ifp->if_mtu > ETHERMTU) ? ifp->if_mtu: ETHERMTU;
|            &n= bsp;            = ;            &n= bsp;            = ;          ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:4562:60: error: incomplete definition of type 'struct ifnet'
4562 |           &nb= sp;     printf("if_drv_flags\t0x%08x\n", sc->re_ifp-= >if_drv_flags);
|            &n= bsp;            = ;            &n= bsp;            ~~~~= ~~~~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:4622:43: error: call to undeclared function 'IF_LLADDR'; ISO C99 an= d later do not support implicit function declarations [-Werror,-Wimplicit-f= unction-declaration]
4622 |           &nb= sp;     printf("dev_addr\t%6D\n", IF_LLADDR(sc->re_i= fp), ":");
|            &n= bsp;            = ;            &n= bsp;     ^
if_re.c:4622:43: error: format specifies type 'void *' but the argument has= type 'int' [-Werror,-Wformat]
4622 |           &nb= sp;     printf("dev_addr\t%6D\n", IF_LLADDR(sc->re_i= fp), ":");
|            &n= bsp;            = ;          ~~~  &nbs= p;  ^~~~~~~~~~~~~~~~~~~~~
if_re.c:4662:32: error: incomplete definition of type 'struct ifnet'
4662 |           &nb= sp;     if ((sc->re_ifp->if_drv_flags & IFF_D= RV_RUNNING) =3D=3D 0) {
|            &n= bsp;         ~~~~~~~~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5522:12: error: incomplete definition of type 'struct ifnet'
5522 |         ifp->if_softc =3D= sc;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5529:12: error: incomplete definition of type 'struct ifnet'
5529 |         ifp->if_mtu =3D E= THERMTU;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5530:12: error: incomplete definition of type 'struct ifnet'
5530 |         ifp->if_flags =3D= IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5531:12: error: incomplete definition of type 'struct ifnet'
5531 |         ifp->if_ioctl =3D= re_ioctl;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5532:12: error: incomplete definition of type 'struct ifnet'
5532 |         ifp->if_output = =3D ether_output;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5533:12: error: incomplete definition of type 'struct ifnet'
5533 |         ifp->if_start =3D= re_start;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5538:20: error: incomplete definition of type 'struct ifnet'
5538 |           &nb= sp;     ifp->if_hwassist |=3D CSUM_TCP | CSUM_UDP; |            &n= bsp;    ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5540:20: error: incomplete definition of type 'struct ifnet'
5540 |           &nb= sp;     ifp->if_hwassist |=3D RE_CSUM_FEATURES;
|            &n= bsp;    ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5541:12: error: incomplete definition of type 'struct ifnet'
5541 |         ifp->if_capabilit= ies =3D IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5544:20: error: incomplete definition of type 'struct ifnet'
5544 |           &nb= sp;     ifp->if_hwassist |=3D CSUM_TSO;
|            &n= bsp;    ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5545:20: error: incomplete definition of type 'struct ifnet'
5545 |           &nb= sp;     ifp->if_capabilities |=3D IFCAP_TSO;
|            &n= bsp;    ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5549:20: error: incomplete definition of type 'struct ifnet'
5549 |           &nb= sp;     ifp->if_hwassist &=3D ~(CSUM_IP6_TSO | |            &n= bsp;    ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
if_re.c:5552:20: error: incomplete definition of type 'struct ifnet'
5552 |           &nb= sp;     ifp->if_capabilities &=3D ~(IFCAP_TSO6 |= IFCAP_HWCSUM_IPV6);
|            &n= bsp;    ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'<= br> 139 |         struct ifnet *ifp;&nb= sp;            = /* network interface tag belongs to */
|            &n= bsp;   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
20 errors generated.
*** Error code 1

Stop.
make: stopped making "all" in /usr/ports/net/realtek-re-kmod/work/rtl_bsd_d= rv-ea4ed1e
*** Error code 1

Stop.
make: stopped making "all" in /usr/ports/net/realtek-re-kmod
[root@fbsd15 /usr/ports/net/realtek-re-kmod]#


 


  ------=_Part_16134_1543477813.1733047112836--