-
Notifications
You must be signed in to change notification settings - Fork 8
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
Compile error on Fedora 39 #23
Comments
Not surprised that the RPM doesn't work. I haven't updated it (or the docs) for quite a while. I'll try to provide an overview of what you'll need to do. First you'll need an updated version of
Then build the S.M.A.R.T. helper.
Install the Create Then you'll need a
That gets you the monitoring service, but you'll still need to get the kernel modules built (and rebuilt for every kernel update) and loaded & configured on every boot. You'll need 2 kernel modules.
Put the I use a
Create a symbolic link, so that
You'll need some
Make the helper script executable.
Create a
Create a
Create a configuration for
You should now be able to rebuild your initial ramdisk (usually just
(The kernel version will be different.) When you reboot, your green disk activity LEDs should work, and That said, I've almost certainly forgotten something. Please give it a shot let me know if you run into any problems. |
Sorry in advance if I'm missing something really simple here, but it looks like compile errors for both. For the freecusd compile I get the following errors: root@saruman:~/blinkylights/n5550/freecusd# gcc -Os -Wall -Wextra -pthread -o freecusd *.c -lcip For the kernel modules I followed all the steps provided but it looks like build is failing (I get the same error if I run "make" by hand on these): root@saruman:/usr/local/lib/dracut/modules.d/99n5550# dracut -fv |
Sorry for the delay in responding. Work travel has been crazy.
My bad. You need to add a definition to the
As for the modules ...
This (and the other errors) indicate that you're using the wrong version of the module for your kernel. It looks like you're using kernel 6.8.7, so you need the version of Hopefully this will get you going. Let me know how it goes! |
Sorry for the long delay on my end.
I pulled in the latest version of ledtrig-blkdev.c but get this when attempting to compile the kernel modules:
If this is proving to be too much of a rabbit hole I can probably cut my losses here. Especially if future Fedora releases and kernel versions are likely to break it. |
No need to apologize for the delay. I'm equally guilty.
Looks like you might need to add another macro to your command line. Try
You're using the module source from the v6.9+ branch on a 6.8 kernel. You need the source from the v6.8+ branch (or you need to use a 6.9 kernel). Let me know how it goes. |
So I know that nowhere in the doc is it indicated this is meant to work on Fedora, but I figured I'd give it a shot. I was thrilled to find this and figured it was a longshot it would work, so if it's a relatively easy fix due to a new version of glibc or something (found similar errors posted online where others indicated this might be the case) I'd greatly appreciate any help you're willing to provide.
Thanks in advance
I worked my way through most of the steps in the quickstart guide, successfully compiled and installed libcip-devel version 0.1.1.6, but the n5500-0.6 rpmbuild fails on compilation of freecusd. Specifically it fails with an error when trying to manually fire the compile commands from the spec file:
Running rpmbuild command:
The text was updated successfully, but these errors were encountered: