Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtl8852au: Fix build for kernel 5.17 API changes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
- Loading branch information
Showing
4 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d51e571
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to install.
But i can't install.
I show here the full error message.
pi@raspberrypi:~ $ git clone http://github.com/lwfinger/rtl8852au.git
Cloning into 'rtl8852au'...
warning: redirecting to https://github.com/lwfinger/rtl8852au.git/
remote: Enumerating objects: 1097, done.
remote: Counting objects: 100% (96/96), done.
remote: Compressing objects: 100% (79/79), done.
remote: Total 1097 (delta 30), reused 42 (delta 16), pack-reused 1001
Receiving objects: 100% (1097/1097), 10.82 MiB | 4.69 MiB/s, done.
Resolving deltas: 100% (341/341), done.
pi@raspberrypi:~ $ cd rtl8852au/
pi@raspberrypi:~/rtl8852au $ make
#rm -f .symvers.8852au
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/5.15.61-v7l+/build M=/home/pi/rtl8852au modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.61-v7l+'
Makefile:706: arch/armv7l/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/armv7l/Makefile'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-5.15.61-v7l+'
make: *** [Makefile:636: modules] Error 2
pi@raspberrypi:~/rtl8852au $ sudo make install
install -p -m 644 8852au.ko /lib/modules/5.15.61-v7l+/kernel/drivers/net/wireless/realtek/rtw89/
install: cannot stat '8852au.ko': No such file or directory
make: *** [Makefile:646: install] Error 1
d51e571
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You cannot "install" until the "make" succeeds.
I already answered another post with this problem. Do a 'git pull' and make as usual.