So I had a broken symlink in /lib/modules/[kernel] which i fixed by creating the directory inside /usr/src/kernels/[kernel]. Then it was saying no target makefile, fixed that with make -C /lib/modules/uname -r/build M=$PWD -f /home/zippy/GalaxyBookPackages/2/samsung-galaxybook-extras/driver/Makefile. Now im getting the error:
make: Entering directory '/usr/src/kernels/6.9.11-200.fc40.x86_64' make -C M=/usr/src/kernels/6.9.11-200.fc40.x86_64 modules make[1]: Entering directory '/usr/src/kernels/6.9.11-200.fc40.x86_64' make[1]: *** M=/usr/src/kernels/6.9.11-200.fc40.x86_64: No such file or directory. Stop. make[1]: Leaving directory '/usr/src/kernels/6.9.11-200.fc40.x86_64' make: *** [/home/zippy/GalaxyBookPackages/2/samsung-galaxybook-extras/driver/Makefile:5: all] Error 2 make: Leaving directory '/usr/src/kernels/6.9.11-200.fc40.x86_64'
And im not sure how to fix that one :/
Tell me if im doing anything wrong please
So I had a broken symlink in
/lib/modules/[kernel]
which i fixed by creating the directory inside/usr/src/kernels/[kernel]
. Then it was saying no target makefile, fixed that withmake -C /lib/modules/
uname -r/build M=$PWD -f /home/zippy/GalaxyBookPackages/2/samsung-galaxybook-extras/driver/Makefile
. Now im getting the error:make: Entering directory '/usr/src/kernels/6.9.11-200.fc40.x86_64' make -C M=/usr/src/kernels/6.9.11-200.fc40.x86_64 modules make[1]: Entering directory '/usr/src/kernels/6.9.11-200.fc40.x86_64' make[1]: *** M=/usr/src/kernels/6.9.11-200.fc40.x86_64: No such file or directory. Stop. make[1]: Leaving directory '/usr/src/kernels/6.9.11-200.fc40.x86_64' make: *** [/home/zippy/GalaxyBookPackages/2/samsung-galaxybook-extras/driver/Makefile:5: all] Error 2 make: Leaving directory '/usr/src/kernels/6.9.11-200.fc40.x86_64'
And im not sure how to fix that one :/ Tell me if im doing anything wrong please