I’m trying to install 367.57 on an experimental kernel and getting some warnings that are “treated as errors” during LD…
Forgive the shorthand…
LD … /kernel/nvidia-modeset/nvidia-modeset-interface.o … /kernel/nvidia-drm/nvidia-drm-linux.c:140:67: warning: passing argument 4 of “get_user_pages” makes pointer from integer without a cast … NV_GET_USER_PAGES(address, pages_count, write, force, …
with “force” being the error.
I don’t think this will effect what I’m trying to do - aside from the fact that the installer then says…
“cc1: some warnings being treated as errors”
Which then causes the linker to fail and the entire build to fail.
Is there an option to ignore the warnings without digging into my entire build setup? Should I just extract the source and write a patch?