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

add uninstall instructions/functionality #49

Open
realies opened this issue Mar 17, 2024 · 5 comments
Open

add uninstall instructions/functionality #49

realies opened this issue Mar 17, 2024 · 5 comments

Comments

@realies
Copy link

realies commented Mar 17, 2024

No description provided.

@zeule
Copy link
Owner

zeule commented Mar 18, 2024

There is one, provided by the DKMS system. If you install the model via make install, just rm the file.

@Thorazin
Copy link

Thorazin commented Aug 4, 2024

Yeah... This is what I get when I run the "install instructions"

jason@LinuxBox:~/Downloads/asus-ec-sensors$ sudo make dkms
[sudo] password for jason:
make: dkms: No such file or directory
make: *** [Makefile:56: dkms] Error 127

@Thorazin
Copy link

Thorazin commented Aug 4, 2024

They need to be more thorough and complete.

@Thorazin
Copy link

Thorazin commented Aug 4, 2024

and then there is this:

jason@LinuxBox:~/Downloads/asus-ec-sensors$ sudo make
[sudo] password for jason:
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
You are using:
CC [M] /home/jason/Downloads/asus-ec-sensors/asus-ec-sensors.o
/bin/sh: 1: gcc-13: not found
make[2]: *** [scripts/Makefile.build:243: /home/jason/Downloads/asus-ec-sensors/asus-ec-sensors.o] Error 127
make[1]: *** [Makefile:1926: /home/jason/Downloads/asus-ec-sensors] Error 2
make: *** [Makefile:43: modules] Error 2

@KeithMyers
Copy link
Contributor

KeithMyers commented Aug 4, 2024

You need to bring your gcc up to the same version as the kernel was built with.

sudo apt install gcc-13 g++-13

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 --slave /usr/bin/g++ g++ /usr/bin/g++-13

I just had to do this to move to 6.10.3 which is built with gcc-14 and have asus-ec-sensors install with sudo make dkms but of course my update-alternatives command was for gcc-14

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

4 participants