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

CONFIG_RTL8821AU=y compilation fail #99

Open
yshurik opened this issue Apr 27, 2018 · 6 comments
Open

CONFIG_RTL8821AU=y compilation fail #99

yshurik opened this issue Apr 27, 2018 · 6 comments

Comments

@yshurik
Copy link

yshurik commented Apr 27, 2018

Looks like missing files:

In file included from /home/alex/rtl8812AU/include/hal_data.h:25:0,
                 from /home/alex/rtl8812AU/core/rtw_cmd.c:23:
/home/alex/rtl8812AU/include/../hal/phydm/phydm_precomp.h:249:10: fatal error: rtl8821a/halhwimg8821a_mac.h: No such file or directory
 #include "rtl8821a/halhwimg8821a_mac.h"

Can these be added to repository to compile CONFIG_RTL8821AU ?

@smac89
Copy link

smac89 commented May 6, 2018

I have experienced this as well...what can we do in this case?

@yshurik
Copy link
Author

yshurik commented May 6, 2018

@smac89 I found https://github.com/abperiasamy/rtl8812AU_8821AU_linux which did the work for my Netgear AC600, guess it has files which can be merged in this repository.

@smac89
Copy link

smac89 commented May 7, 2018

@yshurik I found that too, but how did you get it to install rtl8821au?
It keeps trying to install 8812au, but I have no need for that as my kernel already has a newer version:

➜ dkms status
rtl8812au, 5.1.5, 4.13.0-38-generic, x86_64: installed
rtl8812au, 5.1.5, 4.13.0-39-generic, x86_64: built
rtlwifi-new, 0.10: added
virtualbox, 5.1.34, 4.13.0-38-generic, x86_64: installed
virtualbox, 5.1.34, 4.13.0-39-generic, x86_64: installed

@yshurik
Copy link
Author

yshurik commented May 7, 2018

That one installed rtl8812au, all ok for AC600 at least:

...
  CC [M]  /home/alex/rtl8812AU_8821AU_linux/core/rtw_bt_mp.o
  LD [M]  /home/alex/rtl8812AU_8821AU_linux/rtl8812au.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/alex/rtl8812AU_8821AU_linux/rtl8812au.mod.o
  LD [M]  /home/alex/rtl8812AU_8821AU_linux/rtl8812au.ko
make[1]: Leaving directory '/usr/src/linux-4.15.1-gentoo'

update: I didnt spot about 8812/8821, but that one worked for Netgear AC600 (which reported by lsusb as Realtek RTL8811AU)

@smac89
Copy link

smac89 commented May 8, 2018

I was able to fix the drivers that came with my adapter and it successfully compiled for rtl8821au. The files are here

@Zer0t3ch
Copy link

Zer0t3ch commented Nov 7, 2018

I was able to copy over some files from another repo to attempt getting SOME compilation to work, (was getting "missing file" errors) but it still gets stuck, now with different errors.

http://susepaste.org/13590334

I can upload a patch/diff if y'all would like.

Here's a patch. Note, I only added files from the abperiasamy/rtl8812AU_8821AU_linux repo, none of which I modified.

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

No branches or pull requests

3 participants