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

Module build error #31

Closed
Lexouden opened this issue Jul 24, 2019 · 2 comments
Closed

Module build error #31

Lexouden opened this issue Jul 24, 2019 · 2 comments

Comments

@Lexouden
Copy link

Lexouden commented Jul 24, 2019

When trying to install the module on CentOS 7 it fails to build the module.

It tells me:

unknown field ‘read_string’ specified in initializer .read_string = asus_wmi_hwmon_read_string,

Build log:
DKMS make.log for asus-wmi-sensors-e547824 for kernel 3.10.0-957.21.3.el7.x86_64 (x86_64) Wed Jul 24 11:02:42 CEST 2019 CC [M] /var/lib/dkms/asus-wmi-sensors/e547824/build/asus-wmi-sensors.o /var/lib/dkms/asus-wmi-sensors/e547824/build/asus-wmi-sensors.c:399:2: error: unknown field ‘read_string’ specified in initializer .read_string = asus_wmi_hwmon_read_string, ^ /var/lib/dkms/asus-wmi-sensors/e547824/build/asus-wmi-sensors.c:399:2: warning: initialization from incompatible pointer type [enabled by default] /var/lib/dkms/asus-wmi-sensors/e547824/build/asus-wmi-sensors.c:399:2: warning: (near initialization for ‘asus_wmi_hwmon_ops.write’) [enabled by default] make[3]: *** [/var/lib/dkms/asus-wmi-sensors/e547824/build/asus-wmi-sensors.o] Error 1 make[2]: *** [_module_/var/lib/dkms/asus-wmi-sensors/e547824/build] Error 2 make[1]: *** [modules] Error 2

Extra info:

Using: Asus ROG Zenith Extreme Alpha with latest BIOS and a AMD Ryzen 2990WX
Had the module installed on Ubuntu 18.04 a couple days ago without issue.

@electrified
Copy link
Owner

There is another issue open where a user has managed to get it to build on CentOS 7 with some changes: #29 (comment)

Happy to accept pull requests to make it work (that don't compromise functionality on newer kernels)

@electrified
Copy link
Owner

Closing this as we have the other CentOS 7 issue #29

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

2 participants