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 issue on 5.15 #85

Open
ueco-jb opened this issue Nov 21, 2021 · 11 comments
Open

Compile issue on 5.15 #85

ueco-jb opened this issue Nov 21, 2021 · 11 comments

Comments

@ueco-jb
Copy link

ueco-jb commented Nov 21, 2021

I had basically same compilation error as in issue #76.
Patch from comment worked on my kernel 5.15.3-arch1-1.
Is there a reason why this isn't pushed alreday? Or can I just create PR with it?
Br

@realFlowControl
Copy link

I used the patch from PR #82, works for me

@GioGes
Copy link

GioGes commented Nov 30, 2021

i'm new what should i do to make this work on Fedora 35, kernel 5.14.18-300.fc35.x86_64
i'm having the errors during the make

@ueco-jb
Copy link
Author

ueco-jb commented Nov 30, 2021

How much new are you? Do you know how to use git?
You can check out branch from #82 PR:

$ git clone https://github.com/alxgnon/rtl8814au.git
$ cd rtl8814au
$ git checkout fix_5.15

and then build and install from there.

@GioGes
Copy link

GioGes commented Nov 30, 2021

i've switched from windows 3 weeks ago so i'm pretty bad, i don't really know how to use git but : git checkout fix_5.15 isn't working (error: pathspec 'fix_5.15' did not match any file(s) known to git)

@ueco-jb
Copy link
Author

ueco-jb commented Nov 30, 2021

Did you clone repo I pointed to? Because it's not the aircrack-ng, it's some other user's who submitted the fix. Branch is in his repository.

$ git clone https://github.com/alxgnon/rtl8814au.git

@GioGes
Copy link

GioGes commented Nov 30, 2021

ok sorry, did this (Branch 'fix_5.15' set up to track remote branch 'fix_5.15' from 'origin'.
Switched to a new branch 'fix_5.15')
but then make gives me the same error and can't install:

home/gioges/rtl8814au/os_dep/linux/recv_linux.c:358:76: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:271: /home/gioges/rtl8814au/os_dep/linux/recv_linux.o] Error 1
make[1]: *** [Makefile:1858: /home/gioges/rtl8814au] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.18-300.fc35.x86_64'
make: *** [Makefile:2353: modules] Error 2
[gioges@fedora rtl8814au]$ make install
install -p -m 644 8814au.ko /lib/modules/5.14.18-300.fc35.x86_64/kernel/drivers/net/wireless/
install: cannot stat '8814au.ko': No such file or directory
make: *** [Makefile:2359: install] Error 1

@ueco-jb
Copy link
Author

ueco-jb commented Nov 30, 2021

You can also try this repository, from comments on: https://aur.archlinux.org/packages/rtl8814au-dkms-git/
I got info that it's more up to date with latest kernels.

$ git clone https://github.com/morrownr/8814au

Also, please read how to use Markdown on GitHub to paste code/logs.

@GioGes
Copy link

GioGes commented Nov 30, 2021

thanks a lot for the help, i'll read it

@GioGes
Copy link

GioGes commented Nov 30, 2021

This worked and i installed it, after a reboot i can now see my device ed scan for networks but it fails to connect to any network. Do you have any idea?

@ueco-jb
Copy link
Author

ueco-jb commented Nov 30, 2021

It depends on program which you use to connect to networks.
Since you're on Fedora, you're probably using NetworkManager.
Try reading logs from:
$ journalctl -u NetworkManager (CTRL + g to get to the bottom)
Try to get error out of those logs, maybe create a proper question on stackoverflow.com or some Fedora-specific page.
This thread is not a good place to continue such investigation.

@GioGes
Copy link

GioGes commented Nov 30, 2021

Thanks again for the help you gave me, i finally made it work, have a nice day

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