Open golu7679 opened 2 years ago
make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/main.o /home/parrot/Downloads/rtw88_8723de-master/main.c: In function ‘hw_bw_cap_to_bitamp’: /home/parrot/Downloads/rtw88_8723de-master/main.c:478:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 478 | bw |= BIT(RTW_CHANNEL_WIDTH_80); /home/parrot/Downloads/rtw88_8723de-master/main.c:480:2: note: here 480 | case EFUSE_HW_CAP_SUPP_BW40: | ^~~~ /home/parrot/Downloads/rtw88_8723de-master/main.c:481:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 481 | bw |= BIT(RTW_CHANNEL_WIDTH_40); /home/parrot/Downloads/rtw88_8723de-master/main.c:483:2: note: here 483 | default: | ^~~~~~~ CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2 ┌─[✗]─[parrot@parrot-hplaptop15bs0xx]─[~/Downloads/rtw88_8723de-master] └──╼ $make make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2 I am trying to install this package and getting this error, what I can do here?
make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/main.o /home/parrot/Downloads/rtw88_8723de-master/main.c: In function ‘hw_bw_cap_to_bitamp’: /home/parrot/Downloads/rtw88_8723de-master/main.c:478:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 478 | bw |= BIT(RTW_CHANNEL_WIDTH_80); /home/parrot/Downloads/rtw88_8723de-master/main.c:480:2: note: here 480 | case EFUSE_HW_CAP_SUPP_BW40: | ^~~~ /home/parrot/Downloads/rtw88_8723de-master/main.c:481:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 481 | bw |= BIT(RTW_CHANNEL_WIDTH_40); /home/parrot/Downloads/rtw88_8723de-master/main.c:483:2: note: here 483 | default: | ^~~~~~~ CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2 ┌─[✗]─[parrot@parrot-hplaptop15bs0xx]─[~/Downloads/rtw88_8723de-master] └──╼ $make make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2
This repo is used to develop 8723de before it get merged into Linux kernel. With kernel 5.18.0, I think it has already built-int this driver, so you don't need build this repo by yourself.
make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/main.o /home/parrot/Downloads/rtw88_8723de-master/main.c: In function ‘hw_bw_cap_to_bitamp’: /home/parrot/Downloads/rtw88_8723de-master/main.c:478:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 478 | bw |= BIT(RTW_CHANNEL_WIDTH_80); /home/parrot/Downloads/rtw88_8723de-master/main.c:480:2: note: here 480 | case EFUSE_HW_CAP_SUPP_BW40: | ^~~~ /home/parrot/Downloads/rtw88_8723de-master/main.c:481:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 481 | bw |= BIT(RTW_CHANNEL_WIDTH_40); /home/parrot/Downloads/rtw88_8723de-master/main.c:483:2: note: here 483 | default: | ^~~~~~~ CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2 ┌─[✗]─[parrot@parrot-hplaptop15bs0xx]─[~/Downloads/rtw88_8723de-master] └──╼ $make make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2
I am trying to install this package and getting this error, what I can do here?