Closed edmundsj closed 2 years ago
Hello. I got the same after make
:
➜ make
make -C /lib/modules/5.15.74-3-MANJARO/build M=/home/rafael/dev/community/lwfinger/rtw89 modules
make[1]: Entering directory '/usr/lib/modules/5.15.74-3-MANJARO/build'
CC [M] /home/rafael/dev/community/lwfinger/rtw89/core.o
CC [M] /home/rafael/dev/community/lwfinger/rtw89/chan.o
CC [M] /home/rafael/dev/community/lwfinger/rtw89/mac80211.o
CC [M] /home/rafael/dev/community/lwfinger/rtw89/mac.o
CC [M] /home/rafael/dev/community/lwfinger/rtw89/phy.o
CC [M] /home/rafael/dev/community/lwfinger/rtw89/fw.o
/home/rafael/dev/community/lwfinger/rtw89/fw.c: In function ‘rtw89_fw_h2c_add_wow_fw_ofld’:
/home/rafael/dev/community/lwfinger/rtw89/fw.c:902:23: error: too many arguments to function ‘ieee80211_nullfunc_get’
902 | skb = ieee80211_nullfunc_get(rtwdev->hw, vif, -1, false);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rafael/dev/community/lwfinger/rtw89/core.h:13,
from /home/rafael/dev/community/lwfinger/rtw89/cam.h:8,
from /home/rafael/dev/community/lwfinger/rtw89/fw.c:5:
./include/net/mac80211.h:5090:17: note: declared here
5090 | struct sk_buff *ieee80211_nullfunc_get(struct ieee80211_hw *hw,
| ^~~~~~~~~~~~~~~~~~~~~~
/home/rafael/dev/community/lwfinger/rtw89/fw.c:905:23: error: too many arguments to function ‘ieee80211_nullfunc_get’
905 | skb = ieee80211_nullfunc_get(rtwdev->hw, vif, -1, true);
| ^~~~~~~~~~~~~~~~~~~~~~
./include/net/mac80211.h:5090:17: note: declared here
5090 | struct sk_buff *ieee80211_nullfunc_get(struct ieee80211_hw *hw,
| ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:289: /home/rafael/dev/community/lwfinger/rtw89/fw.o] Error 1
make[1]: *** [Makefile:1898: /home/rafael/dev/community/lwfinger/rtw89] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.15.74-3-MANJARO/build'
make: *** [Makefile:86: all] Error 2
device:
➜ lsmod | grep rtw
rtw_8852ae 16384 0
rtw_8852a 679936 1 rtw_8852ae
rtw89pci 65536 1 rtw_8852ae
rtw89core 417792 2 rtw89pci,rtw_8852a
mac80211 1245184 2 rtw89pci,rtw89core
cfg80211 1081344 3 rtw_8852a,rtw89core,mac80211
Hash:
➜ git rev-parse HEAD
dbbb0a0a8e9fb884824446ca8418c8887cf45e02
Same error is present when building for kernel 6.0.2 as of latest comming:
~/Scripts/rtw89 $ make clean && make -j16 && sudo make install
make -C /lib/modules/6.0.2-arch1-1/build M=/home/mauricioquintela/Scripts/rtw89 modules
make[1]: Entering directory '/usr/lib/modules/6.0.2-arch1-1/build'
CC [M] /home/mauricioquintela/Scripts/rtw89/core.o
CC [M] /home/mauricioquintela/Scripts/rtw89/chan.o
CC [M] /home/mauricioquintela/Scripts/rtw89/mac80211.o
CC [M] /home/mauricioquintela/Scripts/rtw89/mac.o
CC [M] /home/mauricioquintela/Scripts/rtw89/phy.o
CC [M] /home/mauricioquintela/Scripts/rtw89/fw.o
CC [M] /home/mauricioquintela/Scripts/rtw89/cam.o
CC [M] /home/mauricioquintela/Scripts/rtw89/efuse.o
CC [M] /home/mauricioquintela/Scripts/rtw89/regd.o
CC [M] /home/mauricioquintela/Scripts/rtw89/sar.o
CC [M] /home/mauricioquintela/Scripts/rtw89/coex.o
CC [M] /home/mauricioquintela/Scripts/rtw89/ps.o
CC [M] /home/mauricioquintela/Scripts/rtw89/debug.o
CC [M] /home/mauricioquintela/Scripts/rtw89/ser.o
CC [M] /home/mauricioquintela/Scripts/rtw89/wow.o
CC [M] /home/mauricioquintela/Scripts/rtw89/rtw8852a.o
/home/mauricioquintela/Scripts/rtw89/fw.c: In function ‘rtw89_fw_h2c_add_wow_fw_ofld’:
/home/mauricioquintela/Scripts/rtw89/fw.c:902:23: error: too many arguments to function ‘ieee80211_nullfunc_get’
902 | skb = ieee80211_nullfunc_get(rtwdev->hw, vif, -1, false);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/mauricioquintela/Scripts/rtw89/core.h:13,
from /home/mauricioquintela/Scripts/rtw89/cam.h:8,
from /home/mauricioquintela/Scripts/rtw89/fw.c:5:
./include/net/mac80211.h:5305:17: note: declared here
5305 | struct sk_buff *ieee80211_nullfunc_get(struct ieee80211_hw *hw,
| ^~~~~~~~~~~~~~~~~~~~~~
/home/mauricioquintela/Scripts/rtw89/fw.c:905:23: error: too many arguments to function ‘ieee80211_nullfunc_get’
905 | skb = ieee80211_nullfunc_get(rtwdev->hw, vif, -1, true);
| ^~~~~~~~~~~~~~~~~~~~~~
./include/net/mac80211.h:5305:17: note: declared here
5305 | struct sk_buff *ieee80211_nullfunc_get(struct ieee80211_hw *hw,
| ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:249: /home/mauricioquintela/Scripts/rtw89/fw.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1852: /home/mauricioquintela/Scripts/rtw89] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.0.2-arch1-1/build'
make: *** [Makefile:86: all] Error 2
make -j16 24,45s user 2,10s system 862% cpu 3,077 total
Commit hash:
~/Scripts/rtw89 $ git rev-parse HEAD
dbbb0a0a8e9fb884824446ca8418c8887cf45e02
Fixed. Do a 'git pull'
I am getting the following error when running make install: