RyzenAdj icon indicating copy to clipboard operation
RyzenAdj copied to clipboard

unable to build on fedora 34

Open luck02 opened this issue 3 years ago • 1 comments

I see this issue and this issue which are closed with instructions on how to fix.

However, I think I'm doing what is documented and I'm getting:

(base) ➜  build git:(master) sudo dnf install pciutils-devel
Last metadata expiration check: 0:10:22 ago on Thu 01 Sep 2022 08:42:27 PM.
Package pciutils-devel-3.7.0-3.fc34.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
(base) ➜  build git:(master) make                           
[  8%] Building C object CMakeFiles/libryzenadj.dir/lib/osdep_linux.c.o
In file included from /home/garylucas/dev/RyzenAdj/lib/osdep_linux.c:10:
/home/garylucas/dev/RyzenAdj/lib/nb_smu_ops.h:83:10: fatal error: pci/pci.h: No such file or directory
   83 | #include <pci/pci.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/libryzenadj.dir/build.make:76: CMakeFiles/libryzenadj.dir/lib/osdep_linux.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/libryzenadj.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
(base) ➜  build git:(master) git pull
Already up to date.

Clearly, I'm missing something, any help would be appreciated.

Thanks!!

luck02 avatar Sep 02 '22 03:09 luck02

This issue does not occur on Fedora 42 anymore and can be closed.

AlxHnr avatar May 11 '25 07:05 AlxHnr