-
Notifications
You must be signed in to change notification settings - Fork 178
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
build fails with implicit declaration of function ‘allow_signal’ #75
Comments
I had the same problem and found this link : https://forum.manjaro.org/t/error-with-rtl8812au/24066/5 #include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif to the file osdep_service.h corrected the build issue. At least it successfully did on Debian 9 with kernel 4.11.0. Hope it helps ! |
No good compiling on Linux Mint with kernel 4.12.6. What works:
What fails:
|
The solution from @pl-buiquang worked for me too, kernel 4.11.0, but i added the snippet to include/osdep_service_linux.h |
Adding the suggested include of
I'm trying to compile this on a bananapi with ARMBIAN 5.31 stable Debian GNU/Linux 8 (jessie) 4.11.6-sunxi. Can somebody tell me what's wrong? |
@heyarne did you follow the dkms build instructions in the readme ? |
@martinlindhe Yes. I made the changes (changing the platform in the makefile to RPI and adding the lines as you suggested), commited them, re-ran the |
I'm not familiar with bananapi & sunxi. Are you sure they should work as CONFIG_PLATFORM_ARM_RPI ? Googling found some links, might be worth reading: gnab/rtl8812au#112 and https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-build-a-wireless-driver If not, first, make sure you're on the proper git branch: Then
Just trying to be helpful, I'm not sure I can assist more |
Compilation on Fedora 27 kernel 4.14.5-300.fc27.x86_64 of git cloned version of 20171215 gives the same 3 implicit declaration errors as original post: osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? is it safe to suppress these warnings, or do they represent a bug? when I tried the suggested patch "include version.h ... signal.h" compilation generated a LOT of errors. |
Successfully compiled this driver on Linux Mint kernel 4.8 |
Compilation on Fedora 27 kernel 4.14.5-300.fc27.x86_64 of git cloned version of 20171215 gives the same 3 implicit declaration errors as original post even after I commented out the lines in Makefile: |
has this been solved. I all of a sudden started getting this error after a 9 months of using this driver. I added the line but now getting the error: passing argument 2 of 'cfg80211_roamed' from incompatible pointer type |
Same issue as @snwokenk on 4.14.14 on OpenSUSE.
|
@daqqad i just reverted back to kernel 4.10. And I'm able to connect. I'll wait till this is fixed. |
I am able to build an older version of the driver (4.2.2) and connect to most networks, but I'm hoping newer driver will resolve WPA2 Enterprise PEAP connection issue I'm having. I'm getting an error from wpa_supplicant that claims driver does not support association. I'm on a desktop with reliable wired connection so getting my wireless USB card to work is just something to play with @ lunch. |
Just waiting till this is fixed! |
Anyone having this problem @VitalKoshalew beta-mod branch was able to compile and install and connect for me. on 4.13+ kernel |
Don't know why it hasn't been merged? |
I have the same error than OP.
I get the same error after @pl-buiquang suggestion. |
Who would have thought installing a USB Wifi adapter would be so difficult. Been at this for days and no closer to figuring it out... Some consolation that I'm not the only one struggling with this. Running on Ubuntu 16.04
|
Can you retest this with the latest from the 4.3.20 branch? |
On a fresh Ubuntu 16.04 install the current 4.3.20 branch compiles without errors. |
That hides the compilation issue, but does not fix it. Anyway, the issue was caused by a kernel (header) change in the 4.12.x+ kernels and should be fixed in commit 523c38e for the If you still have issues, please report the exact kernel version ( |
4.3.20 compiles and device works on Ubuntu 17.10 kernel 4.13.0.37-generic. Thank you very much. |
I followed the instructions in https://github.com/tbsdtv/linux_media/wiki and it seems to compile for Linux server 4.13.0-37-generic |
When I run lspci I see the USB 3.0 hub. My google searching led me here to install the 8812ua driver, but I am getting the same errors when attempting to
|
What does |
I clone repository and then follow instruction
All steps succeed
|
where do I find this file ?? I'm using Ubuntu |
This file inside the driver |
I'm assuming this issue is fixed. If not, feel free to respond. Include output of |
Hi,
dkms build -m ${DRV_NAME} -v ${DRV_VERSION} fails on Fedora 25 with kernel 4.11.7-200.fc25.x86_64 . Any hint how to get the driver installed ?
Works:
Fails:
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
Error:
I tried manually modifying to have https://github.com/Id2ndR/rtl8812AU/commit/0ddf23c1c81f53db13954585ebddbbe4c5a6e6d5
cat /usr/src/rtl8812AU-4.3.22-beta/dkms.conf | grep MAKE
MAKE="'make' KVER=${kernelver}"
cat /var/lib/dkms/rtl8812AU/4.3.22-beta/build/make.log
The text was updated successfully, but these errors were encountered: