You are not logged in.
Hello,
For my custom kernel i need to compile the nvidia module. This has always worked for me the last few years,
but since kernel 4.7.0 it wont compile. My kernel is now 4.7.1-1 and this is one of the messages i get when running makepkg:
CC [M] /tmp/makepkg/nvidia-schuh/src/NVIDIA-Linux-x86_64-370.23-no-compat32/kernel/nvidia/nv-frontend.o
/tmp/makepkg/nvidia-schuh/src/NVIDIA-Linux-x86_64-370.23-no-compat32/kernel/nvidia/nv-frontend.c:16:0: schwerwiegender Fehler: Abhängigkeitsdatei »nv-frontend.d« wird geöffnet: Keine Berechtigung
Kompilierung beendet.
*( in english that would mean: fatal error: dependent file *.d being opened: no permission - compilation ended )
The same error repeats for all targets of the nvidia module.
Any i idea what to do?
Regards and Thanks,
Alfred
Last edited by wired (2016-08-24 09:58:48)
Offline
I got the same errors when I enabled
CONFIG_TRIM_UNUSED_KSYMS
in my custom kernel, maybe that's your problem, too.
Offline
Related? It's only under i686 for me: x86_64 works fine.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I got the same errors when I enabled
CONFIG_TRIM_UNUSED_KSYMS
in my custom kernel, maybe that's your problem, too.
Yes, seems to be the same problem. I triumphantly enabled that when i read it might increase security.
Module compiles fine now, thanks.
Offline