Open ChuckWheat opened 2 years ago
Hello, I'm new to all this, so if I'm missing something obvious, I would greatly appreciate the info. I get installation errors after "make install_wifi":
… make[2]: Entering directory '/usr/src/linux-headers-5.15.56-v8+' CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_cmd.o gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_security.o gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 gcc: error: unrecognized command-line option ‘-mapcs’ CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_debug.o gcc: error: unrecognized command-line option ‘-mapcs’ gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 gcc: error: unrecognized command-line option ‘-mapcs’ gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized command-line option ‘-msoft-float’ CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_io.o gcc: error: unrecognized command-line option ‘-msoft-float’ make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_cmd.o] Error 1 make[3]: Waiting for unfinished jobs.... make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_security.o] Error 1 gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 gcc: error: unrecognized command-line option ‘-msoft-float’ make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_debug.o] Error 1 gcc: error: unrecognized command-line option ‘-mapcs’ gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized command-line option ‘-msoft-float’ make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_io.o] Error 1 make[2]: [Makefile:1886: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.15.56-v8+' make[1]: [Makefile:2329: modules] Error 2 make[1]: Leaving directory '/home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272' make: [Makefile:9: install_wifi] Error 2
edit: I discovered that I need to run export ARCH=arm64 before running make in order to get this working.
Hello, I'm new to all this, so if I'm missing something obvious, I would greatly appreciate the info. I get installation errors after "make install_wifi":
… make[2]: Entering directory '/usr/src/linux-headers-5.15.56-v8+' CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_cmd.o gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_security.o gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 gcc: error: unrecognized command-line option ‘-mapcs’ CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_debug.o gcc: error: unrecognized command-line option ‘-mapcs’ gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 gcc: error: unrecognized command-line option ‘-mapcs’ gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized command-line option ‘-msoft-float’ CC [M] /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_io.o gcc: error: unrecognized command-line option ‘-msoft-float’ make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_cmd.o] Error 1 make[3]: Waiting for unfinished jobs.... make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_security.o] Error 1 gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 gcc: error: unrecognized command-line option ‘-msoft-float’ make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_debug.o] Error 1 gcc: error: unrecognized command-line option ‘-mapcs’ gcc: error: unrecognized command-line option ‘-mno-sched-prolog’ gcc: error: unrecognized command-line option ‘-msoft-float’ make[3]: [scripts/Makefile.build:288: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272/core/rtw_io.o] Error 1 make[2]: [Makefile:1886: /home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.15.56-v8+' make[1]: [Makefile:2329: modules] Error 2 make[1]: Leaving directory '/home/pi/RaspberryPi-EW-7611ULB/Wi-FI/rtl8723BU_WiFi_linux_v5.8.4_33660.20190516_COEX20181129-7272' make: [Makefile:9: install_wifi] Error 2