Make error in raspiberry pi desktop
chrisuhg opened this issue · 2 comments
chrisuhg commented
Here is some info:
root@raspi:/home/c/Desktop/git8832/rtl8852au# ls
clean core document include Makefile phl README.md runwpa wlan0dhcp
common.mk dkms.conf ifcfg-wlan0 Kconfig os_dep platform ReleaseNotes.pdf suspend_rtw8852au
c@raspi:~/Desktop/git8832/rtl8852au $ sudo git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
c@raspi:~/Desktop/git8832/rtl8852au $ sudo uname -m
aarch64
When i trying to make:
root@raspi:/home/c/Desktop/git8832/rtl8852au# make
#rm -f .symvers.8852au
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/6.1.21-v8+/build M=/home/c/Desktop/git8832/rtl8852au modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.21-v8+'
CC [M] /home/c/Desktop/git8832/rtl8852au/os_dep/osdep_service.o
#NoError...Missing...
CC [M] /home/c/Desktop/git8832/rtl8852au/os_dep/linux/ioctl_cfg80211.o
/home/c/Desktop/git8832/rtl8852au/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_get_chbwoff_from_cfg80211_chan_def’:
/home/c/Desktop/git8832/rtl8852au/os_dep/linux/ioctl_cfg80211.c:6269:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
6269 | *ht = 0;
| ~~~~^~~
/home/c/Desktop/git8832/rtl8852au/os_dep/linux/ioctl_cfg80211.c:6271:2: note: here
6271 | case NL80211_CHAN_WIDTH_20:
| ^~~~
CC [M] /home/c/Desktop/git8832/rtl8852au/os_dep/linux/rtw_cfgvendor.o
#NoError...Missing...
CC [M] /home/c/Desktop/git8832/rtl8852au/core/rtw_mlme.o
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme.c: In function ‘_disconnect_msg_hdlr’:
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme.c:6043:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
6043 | if (status == RTW_PHL_STATUS_SUCCESS)
| ^
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme.c:6047:2: note: here
6047 | case MSG_EVT_DISCONNECT:
| ^~~~
CC [M] /home/c/Desktop/git8832/rtl8852au/core/rtw_mlme_ext.o
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme_ext.c:265:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
265 | if (rfctl->regd_name)
| ^
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme_ext.c:268:2: note: here
268 | default:
| ^~~~~~~
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme_ext.c:1603:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1603 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/c/Desktop/git8832/rtl8852au/core/rtw_mlme_ext.c:1605:2: note: here
1605 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /home/c/Desktop/git8832/rtl8852au/core/rtw_sec_cam.o
#NoError...Missing...
CC [M] /home/c/Desktop/git8832/rtl8852au/phl/test/phl_ps_dbg_cmd.o
In file included from /home/c/Desktop/git8832/rtl8852au/phl/test/../phl_headers.h:60,
from /home/c/Desktop/git8832/rtl8852au/phl/test/phl_ps_dbg_cmd.c:16:
/home/c/Desktop/git8832/rtl8852au/phl/test/phl_ps_dbg_cmd.c: In function ‘phl_ps_cmd_parser’:
/home/c/Desktop/git8832/rtl8852au/phl/test/../test/phl_ps_dbg_cmd.h:19:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
19 | do { \
| ^
/home/c/Desktop/git8832/rtl8852au/phl/test/phl_ps_dbg_cmd.c:73:3: note: in expansion of macro ‘PS_CNSL’
73 | PS_CNSL(out_len, used, output + used, out_len - used,
| ^~~~~~~
/home/c/Desktop/git8832/rtl8852au/phl/test/phl_ps_dbg_cmd.c:77:2: note: here
77 | case PHL_PS_HELP:
| ^~~~
CC [M] /home/c/Desktop/git8832/rtl8852au/phl/phl_msg_hub.o
#NoError...Missing...
/home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/mac_ax/hw.c: In function ‘cfg_mac_bw’:
/home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/mac_ax/hw.c:1586:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
1586 | txsc80 = rtw_hal_bb_get_txsc(hal_com, cfg->pri_ch,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1587 | cfg->central_ch, cfg->cbw,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
1588 | CHANNEL_WIDTH_80);
| ~~~~~~~~~~~~~~~~~
/home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/mac_ax/hw.c:1590:2: note: here
1590 | case CHANNEL_WIDTH_80:
| ^~~~
/home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/mac_ax/hw.c:1591:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
1591 | txsc40 = rtw_hal_bb_get_txsc(hal_com, cfg->pri_ch,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1592 | cfg->central_ch, cfg->cbw,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
1593 | CHANNEL_WIDTH_40);
| ~~~~~~~~~~~~~~~~~
/home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/mac_ax/hw.c:1595:2: note: here
1595 | case CHANNEL_WIDTH_40:
| ^~~~
CC [M] /home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/mac_ax/hwamsdu.o
#NoError...Missing...
CC [M] /home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/fw_ax/rtl8852a/hal8852a_fw.o
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[2]: *** [scripts/Makefile.build:250: /home/c/Desktop/git8832/rtl8852au/phl/hal_g6/mac/fw_ax/rtl8852a/hal8852a_fw.o] Error 1
make[1]: *** [Makefile:2012: /home/c/Desktop/git8832/rtl8852au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.21-v8+'
make: *** [Makefile:639: modules] Error 2
I tried twice and got the same error
lwfinger commented
I fixed all those warnings. Do a 'git pull' and try again.
chrisuhg commented
I fixed all those warnings. Do a 'git pull' and try again.
Many Thanks! It worked!
My Pi 3B+ started it new life hahhaha~