-
Notifications
You must be signed in to change notification settings - Fork 130
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 error "/os_dep/linux/recv_linux.c" #89
Comments
kernel 5.13 |
#89 from @brandontict works for me. Ubunut 20.04 LTS / kenel 5.13.0-25-generic |
I am not too familiar with git, So having issues applying that pull request. I've went to the request #82 , clicked on code and copied Also tried
with no luck. I make sure that I am within the folder that I cloned from this repo when attempting to use these pull requests. |
@brandontict try this instead:
|
@alxgnon problem still persists.
|
My patch is for kernel 5.15 and up. |
I ran into the compile error also and modified the line 358 of the rtl8814au/os_dep/linux/recv_linux.c to It compiles successfully for the 5.13.0-27-generic kernel after that change is made. |
I too am running into the same compile issue, after adding @aixgnon commit, issue was fixed. Until I updated my machine , Since I already had the module compiled, I ran " make install " . Still modprobe doesn't see 8814au.ko . I go to re compile, with alxgnon/fix_5.15 , and compile now errors out with a new issue.
|
There are some other PRs that also fix this, but I happened on this issue / fix first. I had this issue on a fresh install of (K)Ubuntu/22.04, alxgnon's patch plus aranthorne's comment worked for me. These steps, after fresh install, worked for me:
|
the 5.17 patch does not work on 5.15 |
Running Kali ,
uname -a Linux kt0p 5.14.0-kali4-amd64 #1 SMP Debian 5.14.16-1kali1 (2021-11-05) x86_64 GNU/Linux
Kali is recently updated .
Compiling rtl8814au version 5.8.5.1.
Fatal error while compiling .
/pentest/8814au/rtl8814au/os_dep/linux/recv_linux.c: In function ‘napi_recv’: /pentest/8814au/rtl8814au/os_dep/linux/recv_linux.c:358:55: error: ‘GRO_DROP’ undeclared (first use in this function) 358 | if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP) | ^~~~~~~~ /pentest/8814au/rtl8814au/os_dep/linux/recv_linux.c:358:55: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [/usr/src/linux-headers-5.14.0-kali4-common/scripts/Makefile.build:276: /pentest/8814au/rtl8814au/os_dep/linux/recv_linux.o] Error 1 make[2]: *** [/usr/src/linux-headers-5.14.0-kali4-common/Makefile:1882: /pentest/8814au/rtl8814au] Error 2 make[1]: *** [/usr/src/linux-headers-5.14.0-kali4-common/Makefile:232: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.14.0-kali4-amd64' make: *** [Makefile:2353: modules] Error 2
The text was updated successfully, but these errors were encountered: