-
Notifications
You must be signed in to change notification settings - Fork 19
Unable to build driver #3
Comments
Can you provide the entire build log, please? |
Sure thing, there you go and thanks for taking the time: |
Thanks -- I'll do some digging. I found someone else with the same issue on http://pastebin.calculate-linux.org/ru/show/63918 It's interesting because it builds clean for me on Debian's |
Thanks. Could it be because of the newer Kernel? |
Normally, I'd say yes, but the fact that someone with |
What version of |
I'm using |
Any news on that front? I'm asking because I could still refund this WiFi stick and if it stays unusable I probably will. |
This is not an error but an warning. It fails to compile only due to the -Werror flag. The compile should work if you comment out the line containing -Werror in the Makefile. I could imagine that the problem arises due to different kernel patches applied by different distributions. On my system, the tasklet_init function seems to be defined in /usr/src/linux-headers-4.17.0-3-common/include/linux/interrupt.h and the signature is
which is the appropriate typing for the usage in hal_usb.c. Maybe you could check your interrupt.h. Then, at least, we would know the source of the error. |
Thanks for your response, but as mentioned above I've already sent the stick back and picked a new one with an Artheros chipset. |
tasklet_init from "/usr/src/linux-headers-4.18.0-10/include/linux/interrupt.h":
Ubuntu 18.10 |
I have Ubuntu 18.10 and kernel 4.18.0-11 and using @MaxG87's suggestion of commenting out the line containing -Werror in the Makefile I was able to build and install the module successfully. After a reboot and logging in I plugged it in and now it is working again! Thank you sir. |
When trying to build the driver it aborts with the following error in the log:
I'm running Fedora 28 with Linux 4.17.12
The text was updated successfully, but these errors were encountered: