Hey this is my Kernel version 5.4.0-1050-raspi.
after the "make" command, I get these errors I went to rpi-source as the second option.
Any suggestions would be very appreciated, thanks in advance.
De4ngelo.
ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.4.0-1050-raspi/build M=/home/ubuntu/RTL8812BU_for_Raspbian modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-1050-raspi'
CC [M] /home/ubuntu/RTL8812BU_for_Raspbian/core/rtw_cmd.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’
gcc: error: unrecognized command line option ‘-mno-sched-prolog’
gcc: error: unrecognized command line option ‘-msoft-float’
make[2]: [scripts/Makefile.build:270: /home/ubuntu/RTL8812BU_for_Raspbian/core/rtw_cmd.o] Error 1
make[1]: [Makefile:1765: /home/ubuntu/RTL8812BU_for_Raspbian] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-1050-raspi'
make: [Makefile:2290: modules] Error 2
ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ sudo make install
install -p -m 644 88x2bu.ko /lib/modules/5.4.0-1050-raspi/kernel/drivers/net/wireless/
install: cannot stat '88x2bu.ko': No such file or directory
make: [Makefile:2296: install] Error 1
ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ sudo apt install -y bc git flex bison libssl-dev libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
bc is already the newest version (1.07.1-2build1).
bison is already the newest version (2:3.5.1+dfsg-1).
flex is already the newest version (2.6.4-6.2).
libncurses5-dev is already the newest version (6.2-0ubuntu2).
git is already the newest version (1:2.25.1-1ubuntu3.2).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.12).
The following packages were automatically installed and are no longer required:
fonts-font-awesome fonts-open-sans hamradio-files python3-distro-info wsjtx-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ sudo wget https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update
--2022-03-22 00:12:04-- https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14223 (14K) [text/plain]
Saving to: ‘/usr/local/bin/rpi-source’
/usr/local/bin/rpi-source 100%[=========================================================>] 13.89K --.-KB/s in 0.01s
Hey this is my Kernel version 5.4.0-1050-raspi. after the "make" command, I get these errors I went to rpi-source as the second option. Any suggestions would be very appreciated, thanks in advance. De4ngelo.
ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ make make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.4.0-1050-raspi/build M=/home/ubuntu/RTL8812BU_for_Raspbian modules make[1]: Entering directory '/usr/src/linux-headers-5.4.0-1050-raspi' CC [M] /home/ubuntu/RTL8812BU_for_Raspbian/core/rtw_cmd.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’ gcc: error: unrecognized command line option ‘-mno-sched-prolog’ gcc: error: unrecognized command line option ‘-msoft-float’ make[2]: [scripts/Makefile.build:270: /home/ubuntu/RTL8812BU_for_Raspbian/core/rtw_cmd.o] Error 1 make[1]: [Makefile:1765: /home/ubuntu/RTL8812BU_for_Raspbian] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-1050-raspi' make: [Makefile:2290: modules] Error 2 ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ sudo make install install -p -m 644 88x2bu.ko /lib/modules/5.4.0-1050-raspi/kernel/drivers/net/wireless/ install: cannot stat '88x2bu.ko': No such file or directory make: [Makefile:2296: install] Error 1 ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ sudo apt install -y bc git flex bison libssl-dev libncurses5-dev Reading package lists... Done Building dependency tree
Reading state information... Done bc is already the newest version (1.07.1-2build1). bison is already the newest version (2:3.5.1+dfsg-1). flex is already the newest version (2.6.4-6.2). libncurses5-dev is already the newest version (6.2-0ubuntu2). git is already the newest version (1:2.25.1-1ubuntu3.2). libssl-dev is already the newest version (1.1.1f-1ubuntu2.12). The following packages were automatically installed and are no longer required: fonts-font-awesome fonts-open-sans hamradio-files python3-distro-info wsjtx-doc Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 81 not upgraded. ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ sudo wget https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update --2022-03-22 00:12:04-- https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.108.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 14223 (14K) [text/plain] Saving to: ‘/usr/local/bin/rpi-source’
/usr/local/bin/rpi-source 100%[=========================================================>] 13.89K --.-KB/s in 0.01s
2022-03-22 00:12:05 (1.16 MB/s) - ‘/usr/local/bin/rpi-source’ saved [14223/14223]
ubuntu@ubuntu:~/RTL8812BU_for_Raspbian$ rpi-source
*** SoC: BCM2711 ERROR: Can't find a source for this kernel