-
Notifications
You must be signed in to change notification settings - Fork 104
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
Error during compilation under Truenas Scale 6.1.63-production+truenas #122
Comments
Hi @morrownr I posted the part of this log where the script encountered an error. I apologize for its formatting, I tried to make it more readable, but unfortunately here in GitHub it looks like a total mess. Anyway here is the full log of the script itself which was displayed on the screen during its run:
I think I found the way to post it correctly) So please find it below in a more readable form:
|
I just compiled this driver on my main dev box which runs Debian 12:
Installation here was smooth. My best guess is that the problem is something the TrueNAS devs have done. I don't have time to install and learn TrueNAS right now so you might want to take this issue to the TrueNAS forums to see if anyone has any ideas over there. |
Please, check your package and software dependencies! BR |
All dependencies are met! Except for the kernel headers. I found 3 different types in my system. One of them is without the suffix "production+truenas". The wifi module can be compiled against it, but obviously, it can not be used by the system which is using one of the headers marked by "production+truenas". So the problem is in the headers developed for the TrueNAS. Unfortunately, I was not able to find support on the TrueNAS forum. There was one interesting advice to use a wifi bridge, but in the end, I ran a cable to my router and unplugged the WiFi card :) |
Good work, I will see about that. BR |
I have a problem compiling the driver under the Truenas Scale (kernel 6.1.63-production+truenas). The error message is the following:
/var/lib/dkms/rtl8814au/5.8.5.1/build/os_dep/linux/os_intfs.c: In function 'rtw_ndev_destructor': /var/lib/dkms/rtl8814au/5.8.5.1/build/os_dep/linux/os_intfs.c:4208:19: error: 'struct net_device' has no member named 'ieee80211_ptr'; did you mean 'ieee802154_ptr'? 4208 | if (ndev->ieee80211_ptr) | ^~~~~~~~~~~~~ | ieee802154_ptr In file included from /var/lib/dkms/rtl8814au/5.8.5.1/build/include/drv_types.h:27, from /var/lib/dkms/rtl8814au/5.8.5.1/build/os_dep/linux/os_intfs.c:17: /var/lib/dkms/rtl8814au/5.8.5.1/build/os_dep/linux/os_intfs.c:4209:39: error: 'struct net_device' has no member named 'ieee80211_ptr'; did you mean 'ieee802154_ptr'? 4209 | rtw_mfree((u8 *)ndev->ieee80211_ptr, sizeof(struct wireless_dev)); | ^~~~~~~~~~~~~ /var/lib/dkms/rtl8814au/5.8.5.1/build/include/osdep_service.h:276:53: note: in definition of macro 'rtw_mfree' 276 | #define rtw_mfree(pbuf, sz) _rtw_mfree((pbuf), (sz)) | ^~~~ At top level: cc1: note: unrecognized command-line option '-Wno-enum-int-mismatch' may have been intended to silence earlier diagnostics make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/rtl8814au/5.8.5.1/build/os_dep/linux/os_intfs.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:2015: /var/lib/dkms/rtl8814au/5.8.5.1/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.1.63-production+truenas' make: *** [Makefile:2404: modules] Error 2
The error is not sensitive to the availability of the dkms framework.
Any suggestion is highly appreciated.
The text was updated successfully, but these errors were encountered: