Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile fails on armv7l #23

Open
roger- opened this issue Dec 31, 2023 · 2 comments · May be fixed by #22
Open

Compile fails on armv7l #23

roger- opened this issue Dec 31, 2023 · 2 comments · May be fixed by #22

Comments

@roger-
Copy link

roger- commented Dec 31, 2023

I get the following error running make:

make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/6.1.63-current-sunxi/build M=/home/brent/tmp/rtl8188eu  modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.63-current-sunxi'
Makefile:777: 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-6.1.63-current-sunxi'
make: *** [Makefile:2491: modules] Error 2

Things go further make ARCH=arm, but eventually fail:

/home/user/tmp/rtl8188eu-1/os_dep/linux/wifi_regd.c: In function ‘rtw_regd_init’:
/home/user/tmp/rtl8188eu-1/os_dep/linux/wifi_regd.c:409:36: error: ‘REGULATORY_IGNORE_STALE_KICKOFF’ undeclared (first use in this function)
  409 |         wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@xiv3r
Copy link

xiv3r commented Jan 1, 2024

sudo apt update
sudo apt install realtek-rtl8188eus-dkms

@thienandangthanh
Copy link

Merging PR #22 will resolve this issue.

You could apply the patch as morrownr/88x2bu-20210702#165 (comment) mentioned.

@thienandangthanh thienandangthanh linked a pull request Jan 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants