[From nobody Thu Jun 25 05:55:18 2020
Received: from grosjo.net ([94.130.37.163])
 by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux))
 id 1htjdP-0001xF-7s
 for openwrt-devel@lists.openwrt.org; Sat, 03 Aug 2019 02:19:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=grosjo.net; 
 s=dkim;
 h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:
 Content-Type:MIME-Version:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=zwe6kpokhhLGylzqjiu5ciuga3rJ2y9Q6AoCXazhzS4=; b=PaEd8AvsNEOdjVuOyYAu+hQgQY
 r4gep9Q6yZgNA5vpu1oEFh0+rW4bHIPO1Df6XjKrLroW+pB0Cl/8HCibHwRVDnhPeI72tejxVQnSd
 q8TjvkW85VbKSCcjNet7aDzGCsCA6rXE50TbTjXPYiN4UL45QE6zpgLKWRMz+kOMGOas=;
Received: from localhost ([127.0.0.1] helo=grosjo.net)
 by grosjo.net with esmtp (Exim 4.92.1)
 (envelope-from &lt;jom@grosjo.net&gt;)
 id 1htjdJ-0008Rv-Rc; Sat, 03 Aug 2019 02:18:58 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary=&quot;=_d8cccdf4fe06c663edb06c67c7aaf3c3&quot;
Date: Sat, 03 Aug 2019 10:18:57 +0800
From: Joan Moreau &lt;jom@grosjo.net&gt;
To: Rosen Penev &lt;rosenp@gmail.com&gt;
Cc: =?UTF-8?Q?Petr_=C5=A0tetiar?= &lt;ynezz@true.cz&gt;, OpenWrt Development List
 &lt;openwrt-devel@lists.openwrt.org&gt;
Subject: Re: [OpenWrt-Devel] package mt76 fails to compile under certain
 configuration [Was: Compilation error on master / mt7620]
In-Reply-To: &lt;CAKxU2N9hwSx3w0SLfJQBH_GMyJUwKLNU-k7sgjCCnB1ZgHy0Gw@mail.gmail.com&gt;
References: &lt;mailman.13754.1564703810.19300.openwrt-devel@lists.openwrt.org&gt;
 &lt;20190802103653.GP74752@meh.true.cz&gt;
 &lt;2a6780799fb7077e5d731337bcfadbe0@grosjo.net&gt;
 &lt;b13b66b94fb80ac49631e0e2dc971c60@grosjo.net&gt;
 &lt;2cec2c33f72eb4cc8d33e0a18289d099@grosjo.net&gt;
 &lt;mailman.14120.1564793695.19300.openwrt-devel@lists.openwrt.org&gt;
 &lt;CAKxU2N9hwSx3w0SLfJQBH_GMyJUwKLNU-k7sgjCCnB1ZgHy0Gw@mail.gmail.com&gt;
User-Agent: Roundcube Webmail/1.4-git
Message-ID: &lt;5ec256e502e0298841b973a58ba9a3d2@grosjo.net&gt;
X-Sender: jom@grosjo.net
X-GJ: Sent from localhost
X-Spam-Score: -2.9 (--)
X-Spam-Report: Spam detection software, running on the system &quot;gjserver&quot;,
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 admin@grosjo.net for details.
 Content preview: well maybe Bottom line : mt76 is not usable in master or
 19.07. So far 
 Content analysis details:   (-2.9 points, 3.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-GJ-SMTP: h_FROM = Joan Moreau &lt;jom@grosjo.net&gt; RPATH=jom@grosjo.net
 SENDERADR= jom@grosjo.net:
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20190802_191903_589759_F312894A 
X-CRM114-Status: UNSURE (   5.77  )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.2 (/)
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
 Content analysis details:   (-0.2 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [94.130.37.163 listed in list.dnswl.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 HTML_MESSAGE           BODY: HTML included in message
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
 author's domain
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
 valid
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
 envelope-from domain

--=_d8cccdf4fe06c663edb06c67c7aaf3c3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8;
 format=flowed

well maybe=20

Bottom line : mt76 is not usable in master or 19.07.=20

So far=20

- DebugFS creates compilation error=20

- SquashFS does not include LZO and creates compilation errors=20

On 2019-08-03 09:57, Rosen Penev wrote:

&gt; On Fri, Aug 2, 2019 at 5:55 PM Joan Moreau via openwrt-devel
&gt; &lt;openwrt-devel@lists.openwrt.org&gt; wrote:=20
&gt;=20
&gt;&gt; The sender domain has a DMARC Reject/Quarantine policy which disallows
&gt;&gt; sending mailing list messages using the original &quot;From&quot; header.
&gt;&gt;=20
&gt;&gt; To mitigate this problem, the original message has been wrapped
&gt;&gt; automatically by the mailing list software.
&gt;&gt;=20
&gt;&gt; ---------- Forwarded message ----------
&gt;&gt; From: Joan Moreau &lt;jom@grosjo.net&gt;
&gt;&gt; To: &quot;Petr =C5=A0tetiar&quot; &lt;ynezz@true.cz&gt;
&gt;&gt; Cc: openwrt-devel@lists.openwrt.org
&gt;&gt; Bcc:
&gt;&gt; Date: Sat, 03 Aug 2019 08:54:45 +0800
&gt;&gt; Subject: Re: [OpenWrt-Devel] package mt76 fails to compile under certain=
 configuration [Was: Compilation error on master / mt7620]
&gt;&gt;=20
&gt;&gt; In an attempt to force LZO with JFFS2, I clicked on &quot;mksquash&quot; in menuco=
nfig.
&gt;&gt;=20
&gt;&gt; I reach the follwoing error
&gt;&gt;=20
&gt;&gt; mipsel-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mt=
une=3D24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=3Dunused-bu=
t-set-variable -Wno-error=3Dunused-result -msoft-float -mips16 -minterlink-=
mips16 -iremap/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/squashf=
s-tools-4.3:squashfs-tools-4.3 -Wformat -Werror=3Dformat-security -fstack-p=
rotector -D_FORTIFY_SOURCE=3D1 -Wl,-z,now -Wl,-z,relro -I/usr/src/openwrt/4=
g/staging_dir/target-mipsel_24kc_musl/usr/include -I/usr/src/openwrt/4g/sta=
ging_dir/target-mipsel_24kc_musl/include -I/usr/src/openwrt/4g/staging_dir/=
toolchain-mipsel_24kc_gcc-7.4.0_musl/usr/include -I/usr/src/openwrt/4g/stag=
ing_dir/toolchain-mipsel_24kc_gcc-7.4.0_musl/include/fortify -I/usr/src/ope=
nwrt/4g/staging_dir/toolchain-mipsel_24kc_gcc-7.4.0_musl/include -I. -D_FIL=
E_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=3D\&quot;gzi=
p\&quot; -Wall -DGZIP_SUPPORT -DXZ_SUPPORT -DLZO_SUPPORT -DLZ4_SUPPORT -c -o mks=
quashfs.o mksquashfs.c
&gt;&gt; mksquashfs.c: In function 'create_inode':
&gt;&gt; mksquashfs.c:996:24: error: called object 'major' is not a function or f=
unction pointer
&gt;&gt; unsigned int major =3D major(buf-&gt;st_rdev);
&gt;&gt; ^~~~~
&gt;&gt; mksquashfs.c:996:16: note: declared here
&gt;&gt; unsigned int major =3D major(buf-&gt;st_rdev);
&gt;&gt; ^~~~~
&gt;&gt;=20
&gt;&gt; Something is very broken in mt76
&gt; That error is related to squashfs-tools, not mt76:
&gt; https://downloads.openwrt.org/snapshots/faillogs/mips_24kc/packages/squas=
hfs-tools/compile.txt=20
&gt;=20
&gt;&gt; On 2019-08-02 23:12, Joan Moreau wrote:
&gt;&gt;=20
&gt;&gt; Additionally, I get the following error in the image generated (master) =
without the debugfs option then to allow compilation
&gt;&gt;=20
&gt;&gt; [ 8.936247] jffs2: Error: unknown compressor &quot;zlib&quot;
&gt;&gt; [ 8.941939] mount_root: failed to mount -t jffs2 /dev/mtdblock6 /tmp/ove=
rlay: Invalid argument
&gt;&gt; [ 8.951033] mount_root: overlay filesystem has not been fully initialize=
d yet
&gt;&gt; [ 8.958979] mount_root: switching to jffs2 overlay
&gt;&gt; [ 8.964114] mount_root: switching to jffs2 failed - fallback to ramoverl=
ay
&gt;&gt;=20
&gt;&gt; On 2019-08-02 21:37, Joan Moreau wrote:
&gt;&gt;=20
&gt;&gt; Removing &quot;debug fs&quot; in compilation options removes the problem.
&gt;&gt;=20
&gt;&gt; So there is something very awkward in the Makefile
&gt;&gt;=20
&gt;&gt; On 2019-08-02 20:28, Joan Moreau wrote:
&gt;&gt;=20
&gt;&gt; attached
&gt;&gt;=20
&gt;&gt; On 2019-08-02 18:36, Petr =C5=A0tetiar wrote:
&gt;&gt;=20
&gt;&gt; Joan Moreau via openwrt-devel &lt;openwrt-devel@lists.openwrt.org&gt; [2019-08=
-02 07:56:41]:
&gt;&gt;=20
&gt;&gt; Hello,
&gt;&gt;=20
&gt;&gt; I reach the following error while compiling my MT7620/ZBT826-16M on
&gt;&gt; master (no error on 18.06) :
&gt;&gt;=20
&gt;&gt; CC [M]
&gt;&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt762=
0/mt76-2019-07-22-75656a45/mt7603/pci.o
&gt;&gt; &lt;command-line&gt;:0:37: error: redeclaration of enumerator
&gt;&gt; 'IEEE80211_HW_REPORTS_TX_ACK_STATUS'
&gt;&gt; &lt;command-line&gt;:0:37: note: in definition of macro
&gt;&gt; 'IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN'
&gt;&gt; In file included from
&gt;&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt762=
0/mt76-2019-07-22-75656a45/mt7603/../mt76.h:27:0,
&gt;&gt; from
&gt;&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt762=
0/mt76-2019-07-22-75656a45/mt7603/mt7603.h:8,
&gt;&gt; from
&gt;&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt762=
0/mt76-2019-07-22-75656a45/mt7603/pci.c:7:
&gt;&gt; /usr/src/openwrt/4g/staging_dir/target-mipsel_24kc_musl/usr/include/mac8=
0211/net/mac80211.h:2293:2:
&gt;&gt; note: previous definition of 'IEEE80211_HW_REPORTS_TX_ACK_STATUS' was
&gt;&gt; here
&gt;&gt; IEEE80211_HW_REPORTS_TX_ACK_STATUS,
&gt;&gt; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&gt;&gt; make[6]: *** [scripts/Makefile.build:327:
&gt;&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt762=
0/mt76-2019-07-22-75656a45/mt7603/pci.o]
&gt;&gt; Error 1
&gt;&gt; make[5]: *** [scripts/Makefile.build:585:
&gt;&gt; /usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt762=
0/mt76-2019-07-22-75656a45/mt7603]
&gt;&gt; Error 2
&gt;&gt; make[4]: *** [Makefile:1532:
&gt;&gt; _module_/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-rami=
ps_mt7620/mt76-2019-07-22-75656a45]
&gt;&gt; Error 2
&gt;&gt;=20
&gt;&gt; Can you help ?
&gt;&gt;=20
&gt;&gt; the problem is probably in this compile check[1], so please do following=
:
&gt;&gt;=20
&gt;&gt; make package/mt76/{clean,prepare}
&gt;&gt; sed -i 's;TMP&quot;;TMP&quot; 2&gt; $(TOPDIR)/meh.log;' build_dir/target-mipsel_24kc_=
musl/linux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/Makefile
&gt;&gt; make package/mt76/compile
&gt;&gt; scripts/diffconfig.sh &gt;&gt; meh.log; gzip meh.log
&gt;&gt;=20
&gt;&gt; and send meh.log.gz file as attachment.
&gt;&gt;=20
&gt;&gt; 1. https://github.com/openwrt/mt76/blob/master/mt7603/Makefile#L7
&gt;&gt;=20
&gt;&gt; -- ynezz
&gt;&gt;=20
&gt;&gt; _______________________________________________
&gt;&gt; openwrt-devel mailing list
&gt;&gt; openwrt-devel@lists.openwrt.org
&gt;&gt; https://lists.openwrt.org/mailman/listinfo/openwrt-devel
&gt;&gt;=20
&gt;&gt; _______________________________________________
&gt;&gt; openwrt-devel mailing list
&gt;&gt; openwrt-devel@lists.openwrt.org
&gt;&gt; https://lists.openwrt.org/mailman/listinfo/openwrt-devel
&gt;=20
&gt; _______________________________________________
&gt; openwrt-devel mailing list
&gt; openwrt-devel@lists.openwrt.org
&gt; https://lists.openwrt.org/mailman/listinfo/openwrt-devel
--=_d8cccdf4fe06c663edb06c67c7aaf3c3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

&lt;html&gt;&lt;head&gt;&lt;meta http-equiv=3D&quot;Content-Type&quot; content=3D&quot;text/html; charset=
=3DUTF-8&quot; /&gt;&lt;/head&gt;&lt;body style=3D'font-size: 9pt; font-family: Verdana,Gene=
va,sans-serif'&gt;
&lt;p&gt;well maybe&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Bottom line : mt76 is not usable in master or 19.07.&lt;/p&gt;
&lt;p&gt;So far&lt;/p&gt;
&lt;p&gt;- DebugFS creates compilation error&lt;/p&gt;
&lt;p&gt;- SquashFS does not include LZO and creates compilation errors&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div id=3D&quot;signature&quot;&gt;&nbsp;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p id=3D&quot;reply-intro&quot;&gt;On 2019-08-03 09:57, Rosen Penev wrote:&lt;/p&gt;
&lt;blockquote type=3D&quot;cite&quot; style=3D&quot;padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0&quot;&gt;
&lt;div class=3D&quot;pre&quot; style=3D&quot;margin: 0; padding: 0; font-family: monospace&quot;&gt;=
On Fri, Aug 2, 2019 at 5:55 PM Joan Moreau via openwrt-devel&lt;br /&gt;&lt;&lt;a hr=
ef=3D&quot;mailto:openwrt-devel@lists.openwrt.org&quot;&gt;openwrt-devel@lists.openwrt=
=2Eorg&lt;/a&gt;&gt; wrote:
&lt;blockquote type=3D&quot;cite&quot; style=3D&quot;padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0&quot;&gt;&lt;br /&gt;The sender domain has a DMARC Reject/Quarantine =
policy which disallows&lt;br /&gt;sending mailing list messages using the origina=
l &quot;From&quot; header.&lt;br /&gt;&lt;br /&gt;To mitigate this problem, the original message =
has been wrapped&lt;br /&gt;automatically by the mailing list software.&lt;br /&gt;&lt;br =
/&gt;&lt;br /&gt;---------- Forwarded message ----------&lt;br /&gt;From: Joan Moreau &lt;=
&lt;a href=3D&quot;mailto:jom@grosjo.net&quot;&gt;jom@grosjo.net&lt;/a&gt;&gt;&lt;br /&gt;To: &quot;Petr &amp;Sc=
aron;tetiar&quot; &lt;&lt;a href=3D&quot;mailto:ynezz@true.cz&quot;&gt;ynezz@true.cz&lt;/a&gt;&gt;&lt;br =
/&gt;Cc: &lt;a href=3D&quot;mailto:openwrt-devel@lists.openwrt.org&quot;&gt;openwrt-devel@list=
s.openwrt.org&lt;/a&gt;&lt;br /&gt;Bcc:&lt;br /&gt;Date: Sat, 03 Aug 2019 08:54:45 +0800&lt;br /=
&gt;Subject: Re: [OpenWrt-Devel] package mt76 fails to compile under certain c=
onfiguration [Was: Compilation error on master / mt7620]&lt;br /&gt;&lt;br /&gt;In an a=
ttempt to force LZO with JFFS2, I clicked on &quot;mksquash&quot; in menuconfig.&lt;br /=
&gt;&lt;br /&gt;&lt;br /&gt;I reach the follwoing error&lt;br /&gt;&lt;br /&gt;mipsel-openwrt-linux-mu=
sl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=3D24kc -fno-caller-sav=
es -fno-plt -fhonour-copts -Wno-error=3Dunused-but-set-variable -Wno-error=
=3Dunused-result -msoft-float -mips16 -minterlink-mips16 -iremap/usr/src/op=
enwrt/4g/build_dir/target-mipsel_24kc_musl/squashfs-tools-4.3:squashfs-tool=
s-4.3 -Wformat -Werror=3Dformat-security -fstack-protector -D_FORTIFY_SOURC=
E=3D1 -Wl,-z,now -Wl,-z,relro -I/usr/src/openwrt/4g/staging_dir/target-mips=
el_24kc_musl/usr/include -I/usr/src/openwrt/4g/staging_dir/target-mipsel_24=
kc_musl/include -I/usr/src/openwrt/4g/staging_dir/toolchain-mipsel_24kc_gcc=
-7.4.0_musl/usr/include -I/usr/src/openwrt/4g/staging_dir/toolchain-mipsel_=
24kc_gcc-7.4.0_musl/include/fortify -I/usr/src/openwrt/4g/staging_dir/toolc=
hain-mipsel_24kc_gcc-7.4.0_musl/include -I. -D_FILE_OFFSET_BITS=3D64 -D_LAR=
GEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=3D\&quot;gzip\&quot; -Wall -DGZIP_SUPPORT =
-DXZ_SUPPORT -DLZO_SUPPORT -DLZ4_SUPPORT -c -o mksquashfs.o mksquashfs.c&lt;br=
 /&gt;mksquashfs.c: In function 'create_inode':&lt;br /&gt;mksquashfs.c:996:24: erro=
r: called object 'major' is not a function or function pointer&lt;br /&gt;unsigne=
d int major =3D major(buf-&gt;st_rdev);&lt;br /&gt;^~~~~&lt;br /&gt;mksquashfs.c:996:16=
: note: declared here&lt;br /&gt;unsigned int major =3D major(buf-&gt;st_rdev);&lt;b=
r /&gt;^~~~~&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Something is very broken in mt76&lt;/blockquote&gt;
That error is related to squashfs-tools, not mt76:&lt;br /&gt;&lt;a href=3D&quot;https://=
downloads.openwrt.org/snapshots/faillogs/mips_24kc/packages/squashfs-tools/=
compile.txt&quot; target=3D&quot;_blank&quot; rel=3D&quot;noopener noreferrer&quot;&gt;https://download=
s.openwrt.org/snapshots/faillogs/mips_24kc/packages/squashfs-tools/compile=
=2Etxt&lt;/a&gt;
&lt;blockquote type=3D&quot;cite&quot; style=3D&quot;padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On 2019-08-02 23:1=
2, Joan Moreau wrote:&lt;br /&gt;&lt;br /&gt;Additionally, I get the following error in=
 the image generated (master) without the debugfs option then to allow comp=
ilation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[ 8.936247] jffs2: Error: unknown compressor &quot;zlib=
&quot;&lt;br /&gt;[ 8.941939] mount_root: failed to mount -t jffs2 /dev/mtdblock6 /tmp=
/overlay: Invalid argument&lt;br /&gt;[ 8.951033] mount_root: overlay filesystem =
has not been fully initialized yet&lt;br /&gt;[ 8.958979] mount_root: switching t=
o jffs2 overlay&lt;br /&gt;[ 8.964114] mount_root: switching to jffs2 failed - fa=
llback to ramoverlay&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On 2019-08-02 21:37, Joan=
 Moreau wrote:&lt;br /&gt;&lt;br /&gt;Removing &quot;debug fs&quot; in compilation options remove=
s the problem.&lt;br /&gt;&lt;br /&gt;So there is something very awkward in the Makefil=
e&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On 2019-08-02 20:28, Joan Moreau wrote=
:&lt;br /&gt;&lt;br /&gt;attached&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On 2019-08-02 18:36, Pet=
r &Scaron;tetiar wrote:&lt;br /&gt;&lt;br /&gt;Joan Moreau via openwrt-devel &lt;&lt;a hre=
f=3D&quot;mailto:openwrt-devel@lists.openwrt.org&quot;&gt;openwrt-devel@lists.openwrt.or=
g&lt;/a&gt;&gt; [2019-08-02 07:56:41]:&lt;br /&gt;&lt;br /&gt;Hello,&lt;br /&gt;&lt;br /&gt;I reach the f=
ollowing error while compiling my MT7620/ZBT826-16M on&lt;br /&gt;master (no erro=
r on 18.06) :&lt;br /&gt;&lt;br /&gt;CC [M]&lt;br /&gt;/usr/src/openwrt/4g/build_dir/target-m=
ipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/pci.o&lt;b=
r /&gt;&lt;command-line&gt;:0:37: error: redeclaration of enumerator&lt;br /&gt;'IEE=
E80211_HW_REPORTS_TX_ACK_STATUS'&lt;br /&gt;&lt;command-line&gt;:0:37: note: in d=
efinition of macro&lt;br /&gt;'IEEE80211_HW_TX_STATUS_NO_AMPDU_LEN'&lt;br /&gt;In file =
included from&lt;br /&gt;/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/li=
nux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/../mt76.h:27:0,&lt;br /&gt;from=
&lt;br /&gt;/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt=
7620/mt76-2019-07-22-75656a45/mt7603/mt7603.h:8,&lt;br /&gt;from&lt;br /&gt;/usr/src/op=
enwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07=
-22-75656a45/mt7603/pci.c:7:&lt;br /&gt;/usr/src/openwrt/4g/staging_dir/target-mi=
psel_24kc_musl/usr/include/mac80211/net/mac80211.h:2293:2:&lt;br /&gt;note: previ=
ous definition of 'IEEE80211_HW_REPORTS_TX_ACK_STATUS' was&lt;br /&gt;here&lt;br /&gt;I=
EEE80211_HW_REPORTS_TX_ACK_STATUS,&lt;br /&gt;^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;=
br /&gt;make[6]: *** [scripts/Makefile.build:327:&lt;br /&gt;/usr/src/openwrt/4g/bui=
ld_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07-22-75656a45=
/mt7603/pci.o]&lt;br /&gt;Error 1&lt;br /&gt;make[5]: *** [scripts/Makefile.build:585:&lt;=
br /&gt;/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7=
620/mt76-2019-07-22-75656a45/mt7603]&lt;br /&gt;Error 2&lt;br /&gt;make[4]: *** [Makefi=
le:1532:&lt;br /&gt;_module_/usr/src/openwrt/4g/build_dir/target-mipsel_24kc_musl=
/linux-ramips_mt7620/mt76-2019-07-22-75656a45]&lt;br /&gt;Error 2&lt;br /&gt;&lt;br /&gt;Can =
you help ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the problem is probably in this compile check[1=
], so please do following:&lt;br /&gt;&lt;br /&gt;&nbsp;make package/mt76/{clean,prepar=
e}&lt;br /&gt;&nbsp;sed -i 's;TMP&quot;;TMP&quot; 2&gt; $(TOPDIR)/meh.log;' build_dir/targe=
t-mipsel_24kc_musl/linux-ramips_mt7620/mt76-2019-07-22-75656a45/mt7603/Make=
file&lt;br /&gt;&nbsp;make package/mt76/compile&lt;br /&gt;&nbsp;scripts/diffconfig.sh =
&gt;&gt; meh.log; gzip meh.log&lt;br /&gt;&lt;br /&gt;and send meh.log.gz file as attac=
hment.&lt;br /&gt;&lt;br /&gt;1. &lt;a href=3D&quot;https://github.com/openwrt/mt76/blob/master=
/mt7603/Makefile#L7&quot; target=3D&quot;_blank&quot; rel=3D&quot;noopener noreferrer&quot;&gt;https://=
github.com/openwrt/mt76/blob/master/mt7603/Makefile#L7&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;-- yn=
ezz&lt;br /&gt;&lt;br /&gt;_______________________________________________&lt;br /&gt;openwrt=
-devel mailing list&lt;br /&gt;&lt;a href=3D&quot;mailto:openwrt-devel@lists.openwrt.org&quot;=
&gt;openwrt-devel@lists.openwrt.org&lt;/a&gt;&lt;br /&gt;&lt;a href=3D&quot;https://lists.openwrt=
=2Eorg/mailman/listinfo/openwrt-devel&quot; target=3D&quot;_blank&quot; rel=3D&quot;noopener no=
referrer&quot;&gt;https://lists.openwrt.org/mailman/listinfo/openwrt-devel&lt;/a&gt;&lt;br /=
&gt;&lt;br /&gt;_______________________________________________&lt;br /&gt;openwrt-devel m=
ailing list&lt;br /&gt;&lt;a href=3D&quot;mailto:openwrt-devel@lists.openwrt.org&quot;&gt;openwrt=
-devel@lists.openwrt.org&lt;/a&gt;&lt;br /&gt;&lt;a href=3D&quot;https://lists.openwrt.org/mail=
man/listinfo/openwrt-devel&quot; target=3D&quot;_blank&quot; rel=3D&quot;noopener noreferrer&quot;&gt;h=
ttps://lists.openwrt.org/mailman/listinfo/openwrt-devel&lt;/a&gt;&lt;/blockquote&gt;
&lt;br /&gt;_______________________________________________&lt;br /&gt;openwrt-devel ma=
iling list&lt;br /&gt;&lt;a href=3D&quot;mailto:openwrt-devel@lists.openwrt.org&quot;&gt;openwrt-=
devel@lists.openwrt.org&lt;/a&gt;&lt;br /&gt;&lt;a href=3D&quot;https://lists.openwrt.org/mailm=
an/listinfo/openwrt-devel&quot; target=3D&quot;_blank&quot; rel=3D&quot;noopener noreferrer&quot;&gt;ht=
tps://lists.openwrt.org/mailman/listinfo/openwrt-devel&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/body&gt;&lt;/html&gt;

--=_d8cccdf4fe06c663edb06c67c7aaf3c3--

]