From nobody Sun Dec 1 13:51:50 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 4Y1SyK4Sjpz5ffjX for ; Sun, 01 Dec 2024 13:51:53 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1SyK0pzWz4hYk; Sun, 1 Dec 2024 13:51:53 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-4668983b04eso35104961cf.1; Sun, 01 Dec 2024 05:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733061112; x=1733665912; darn=freebsd.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=cxcNWp8YOGAGl4JAPwuEeT55gIKGcGUDQVD5yyztr3w=; b=WnPOXLman6xi79P/neXsaSv2Y2FUFEsGU1043Aw+9ZygwwRbuBJPPeG8ifHdg9Q4gr FBFvvxbUig4IcnJf9W/KqC7uDUN1XPt/vmv5GhiGweSgGakf8PBY4ZMsEdzhFTE3ojhb 6sBRv4gHWCljjady86QIO9SG8gsr0QzZ5SMmhf83nmoLPtBXu5y+gAHsQYzdFiy6cTgs a+rgsqSa6dhDgxb2aT+N7P0vjz57i3f4+UV/0x6WDSdurIvVbhNN/A2TA/8Seyn1BsMz 25whmf48B89sxy46gQ1xQi0fcXANVlsqi953Dc7MtFi/AYb9tvQbnaLy0j/kNrkzb35f tBLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733061112; x=1733665912; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=cxcNWp8YOGAGl4JAPwuEeT55gIKGcGUDQVD5yyztr3w=; b=s7+n72vfgwBQ7219aCtiU8ayiDiW1Wv4hsBx0X+1EKHSi3dROAUhfW9xjwkMhFQm65 VGaU+C4rj8vySVFABnMJM6G+JwadCTnDsStJNBxA+R4Jbw3pXYQX10qbZyIIEPvtusgl Bj4+Ywd+3zzFVuEyse4xwPKrdf63fuzxobak/T9QkOrmkEXxiK/lIynJsSQgOyPryxyH CHejLWOzdCfc/ohKB+Ymmwj2XKTMEM2yBGI4BdFOl1y8uvhbA01gv9y5zyNGvYtIQeYf yaqwuA6R1qQ3/z2yWHvs6ZzLRGkhYOxaIm0+lxIUxZTdeTOv/wPf60z+Kz5ktOxetLRu VJLQ== X-Forwarded-Encrypted: i=1; AJvYcCWrn3EIBuVj6JTKF+dasdFmvaTAy6f/eBrQwNpOmoa2P55CsVTNAPROU25z1roOrM29gwI=@freebsd.org X-Gm-Message-State: AOJu0YytKl6LA4tvjaOo3+3todI7ketvevIHj5gjc74JZHHlWb6NFWZE 9wBO1ApETn7wvmH8Aw68XAUDYhsqJmC6Hq0ai3Z3D+emOxDRY+h8i5cOcQ== X-Gm-Gg: ASbGncvhIDqLWo406o3o93gMR5zZhdskvxT/vFg4DGSt7rgZwlIwwfNbTzhHHjiicds 6RVFWGR3n8Ohvn9TwlsLAuBnvtdwMdvT+k819A8jGeF6V0jrVDl+bVW7EobuYd4GiuvYDTmfmVM V8kplayqX1x+W94rIJstxzZkaHzpPglXRlgOW8128npBhFGFiwUtqxgDQ04RZYvOTZMGULFHSyv mPUsp64BViZtNt/TD2CV85nIhD9eXEyEHPJ7SwP/L6JZiDNFSOzI4arghTenp4ngZidX3raPgl7 Z8B7z9wwvldwsXgg5dff77/xDckl2BmdQtcUVCkQQM+j73BUQOM= X-Google-Smtp-Source: AGHT+IGyERQOGDcfSp2alhLO54/HHpKzGZEvqQV5vr51mtJh7ytOIP5kDFn+aZ8HdjOXWI73rvYPYA== X-Received: by 2002:ac8:5d8c:0:b0:466:82b3:98b2 with SMTP id d75a77b69052e-466b3558981mr252577351cf.29.1733061111927; Sun, 01 Dec 2024 05:51:51 -0800 (PST) Received: from [192.168.100.177] (pool-99-233-217-110.cpe.net.cable.rogers.com. [99.233.217.110]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-466c4057478sm37501411cf.15.2024.12.01.05.51.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Dec 2024 05:51:51 -0800 (PST) Content-Type: multipart/alternative; boundary="------------PllPy9W4bIfNcIj3JYzhqn04" Message-ID: Date: Sun, 1 Dec 2024 08:51:50 -0500 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 User-Agent: Mozilla Thunderbird Subject: Re: FreeBSD Port: net/realtek-re-kmod To: Ronald Klop Cc: freebsd-net@freebsd.org, ale@FreeBSD.org References: <1944158676.16135.1733047112928@localhost> Content-Language: en-US From: Mike Jakubik In-Reply-To: <1944158676.16135.1733047112928@localhost> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Y1SyK0pzWz4hYk X-Spamd-Bar: ---- This is a multi-part message in MIME format. --------------PllPy9W4bIfNcIj3JYzhqn04 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Oh OK, sorry missed that, will test and report. Thanks! On 2024-12-01 4:58 a.m., Ronald Klop wrote: > I think a quick fix for your problem was committed a few days ago (Nov > 28). > > https://cgit.freebsd.org/ports/commit/?id=4ca9ea9d4060a4a494456a0e56306bd508fe20e8 > > Regards, > Ronald. > > *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 > > 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 > ago 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 EST 2024 > > > [root@fbsd15 /usr/ports/net/realtek-re-kmod]# make > MAKE_JOBS_UNSAFE=yes > ===>  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 > -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -include > /usr/ports/net/realtek-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-leaf-frame-pointer > -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include > -fdebug-prefix-map=./x86=/usr/src/sys/x86/include > -fdebug-prefix-map=./i386=/usr/src/sys/i386/include    -MD > -MF.depend.if_re.o -MTif_re.o -mcmodel=kernel -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__=__freebsd_kprintf__ -Wmissing-include-dirs > -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch > -Wno-error=tautological-compare -Wno-error=empty-body > -Wno-error=parentheses-equality -Wno-error=unused-function > -Wno-error=pointer-sign -Wno-error=shift-negative-value > -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes > -mno-avx  -std=gnu99 -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 = (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 belongs to */ > |                ^ > if_re.c:1270:63: error: incomplete definition of type 'struct ifnet' > 1270 |         sc->re_rx_desc_buf_sz = (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 belongs 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_drv_flags); > | ~~~~~~~~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs 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 has 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) == 0) { > |                      ~~~~~~~~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5522:12: error: incomplete definition of type 'struct ifnet' > 5522 |         ifp->if_softc = sc; > |         ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5529:12: error: incomplete definition of type 'struct ifnet' > 5529 |         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 belongs to */ > |                ^ > if_re.c:5530:12: error: incomplete definition of type 'struct ifnet' > 5530 |         ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | > IFF_MULTICAST; > |         ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5531:12: error: incomplete definition of type 'struct ifnet' > 5531 |         ifp->if_ioctl = re_ioctl; > |         ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5532:12: error: incomplete definition of type 'struct ifnet' > 5532 |         ifp->if_output = ether_output; > |         ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5533:12: error: incomplete definition of type 'struct ifnet' > 5533 |         ifp->if_start = re_start; > |         ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5538:20: error: incomplete definition of type 'struct ifnet' > 5538 |                 ifp->if_hwassist |= 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 belongs to */ > |                ^ > if_re.c:5540:20: error: incomplete definition of type 'struct ifnet' > 5540 |                 ifp->if_hwassist |= RE_CSUM_FEATURES; > |                 ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5541:12: error: incomplete definition of type 'struct ifnet' > 5541 |         ifp->if_capabilities = 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 belongs to */ > |                ^ > if_re.c:5544:20: error: incomplete definition of type 'struct ifnet' > 5544 |                 ifp->if_hwassist |= CSUM_TSO; > |                 ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5545:20: error: incomplete definition of type 'struct ifnet' > 5545 |                 ifp->if_capabilities |= IFCAP_TSO; > |                 ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5549:20: error: incomplete definition of type 'struct ifnet' > 5549 |                 ifp->if_hwassist &= ~(CSUM_IP6_TSO | > |                 ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > if_re.c:5552:20: error: incomplete definition of type 'struct ifnet' > 5552 |                 ifp->if_capabilities &= ~(IFCAP_TSO6 | > IFCAP_HWCSUM_IPV6); > |                 ~~~^ > /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of > 'struct ifnet' > 139 |         struct ifnet *ifp;              /* network interface > tag belongs to */ > |                ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=] > 20 errors generated. > *** Error code 1 > > Stop. > make: stopped making "all" in > /usr/ports/net/realtek-re-kmod/work/rtl_bsd_drv-ea4ed1e > *** Error code 1 > > Stop. > make: stopped making "all" in /usr/ports/net/realtek-re-kmod > [root@fbsd15 /usr/ports/net/realtek-re-kmod]# > > > ------------------------------------------------------------------------ > > --------------PllPy9W4bIfNcIj3JYzhqn04 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Oh OK, sorry missed that, will test and report.

Thanks!

On 2024-12-01 4:58 a.m., Ronald Klop wrote:
I think a quick fix for your problem was committed a few days ago (Nov 28).

https://cgit.freebsd.org/ports/commit/?id=4ca9ea9d4060a4a494456a0e56306bd508fe20e8

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 ago 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 EST 2024


[root@fbsd15 /usr/ports/net/realtek-re-kmod]# make MAKE_JOBS_UNSAFE=yes
===>  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 -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -include /usr/ports/net/realtek-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-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include    -MD -MF.depend.if_re.o -MTif_re.o -mcmodel=kernel -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__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx  -std=gnu99 -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 = (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 belongs to */
|                ^
if_re.c:1270:63: error: incomplete definition of type 'struct ifnet'
1270 |         sc->re_rx_desc_buf_sz = (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 belongs 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_drv_flags);
|                                                  ~~~~~~~~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs 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 has 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) == 0) {
|                      ~~~~~~~~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5522:12: error: incomplete definition of type 'struct ifnet'
5522 |         ifp->if_softc = sc;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5529:12: error: incomplete definition of type 'struct ifnet'
5529 |         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 belongs to */
|                ^
if_re.c:5530:12: error: incomplete definition of type 'struct ifnet'
5530 |         ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5531:12: error: incomplete definition of type 'struct ifnet'
5531 |         ifp->if_ioctl = re_ioctl;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5532:12: error: incomplete definition of type 'struct ifnet'
5532 |         ifp->if_output = ether_output;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5533:12: error: incomplete definition of type 'struct ifnet'
5533 |         ifp->if_start = re_start;
|         ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5538:20: error: incomplete definition of type 'struct ifnet'
5538 |                 ifp->if_hwassist |= 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 belongs to */
|                ^
if_re.c:5540:20: error: incomplete definition of type 'struct ifnet'
5540 |                 ifp->if_hwassist |= RE_CSUM_FEATURES;
|                 ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5541:12: error: incomplete definition of type 'struct ifnet'
5541 |         ifp->if_capabilities = 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 belongs to */
|                ^
if_re.c:5544:20: error: incomplete definition of type 'struct ifnet'
5544 |                 ifp->if_hwassist |= CSUM_TSO;
|                 ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5545:20: error: incomplete definition of type 'struct ifnet'
5545 |                 ifp->if_capabilities |= IFCAP_TSO;
|                 ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5549:20: error: incomplete definition of type 'struct ifnet'
5549 |                 ifp->if_hwassist &= ~(CSUM_IP6_TSO |
|                 ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
if_re.c:5552:20: error: incomplete definition of type 'struct ifnet'
5552 |                 ifp->if_capabilities &= ~(IFCAP_TSO6 | IFCAP_HWCSUM_IPV6);
|                 ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
139 |         struct ifnet *ifp;              /* network interface tag belongs to */
|                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

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

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


 


 
--------------PllPy9W4bIfNcIj3JYzhqn04--