ivanovborislav / rtl8188eu

Realtek RTL8188EU v5.13.3 (2021-06-15) Wireless Lan Driver for Linux
GNU General Public License v2.0
123 stars 31 forks source link

Compile fails on armv7l #23

Open roger- opened 9 months ago

roger- commented 9 months ago

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 commented 9 months ago

sudo apt update sudo apt install realtek-rtl8188eus-dkms

thienandangthanh commented 8 months ago

Merging PR #22 will resolve this issue.

You could apply the patch as https://github.com/morrownr/88x2bu-20210702/issues/165#issuecomment-1730133899 mentioned.