hello everyone, trying to build nvidia dkms package for kernel 4.8.0 rt, it fails with this message:
make -f /usr/src/linux-headers-4.8.0-2-common-rt/scripts/Makefile.modpost find /var/lib/dkms/nvidia-current/375.20/build/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /var/lib/dkms/nvidia-current/375.20/build/Module.symvers -o /var/lib/dkms/nvidia-current/375.20/build/Module.symvers -S -w -s -T - FATAL: modpost: GPL-incompatible module nvidia-drm.ko uses GPL-only symbol 'rt_mutex_destroy' /usr/src/linux-headers-4.8.0-2-common-rt/scripts/Makefile.modpost:91: recipe for target '__modpost' failed make[3]: *** [__modpost] Error 1 /usr/src/linux-headers-4.8.0-2-common-rt/Makefile:1493: recipe for target 'modules' failed make[2]: *** [modules] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.8.0-2-rt-amd64' Makefile:150: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-2-common-rt' Makefile:81: recipe for target 'modules' failed make: *** [modules] Error 2 The easiest thing i done, was to look for something on internet of course, and what i found was something that i think speaks about an ancient patch by Ingo Molnar, maybe 2005. Well, i hadn't any problem before with previous RT kernel. It seems to me that RT kernel and nvidia driver have gone each one on its own way. any tricks or patch to solve this problem? thanks in advance. Giovanni