Fix:
Needed to add in EXTRA_CFLAGS += -fno-pie -fno-stack-protector to /usr/src/nvidia-364-364.19/Kbuild
And to top /usr/src/bbswitch-0.8/Makefile EXTRA_CFLAGS := -fno-pie -fno-stack-protector
Then issue a command: ls /usr/src/linux-headers-* -d | sed -e 's/.*linux-headers-//' | sort -V | tac | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start
EXTRA_CFLAGS := -fno-pie -fno-stack-protector
Fix:
Needed to add in protector nvidia- 364-364. 19/Kbuild
EXTRA_CFLAGS += -fno-pie -fno-stack-
to /usr/src/
And to top /usr/src/ bbswitch- 0.8/Makefile protector
EXTRA_CFLAGS := -fno-pie -fno-stack-
Then issue a command: linux-headers- * -d | sed -e 's/.*linux- headers- //' | sort -V | tac | sudo xargs -n1 /usr/lib/ dkms/dkms_ autoinstaller start
ls /usr/src/
EXTRA_CFLAGS := -fno-pie -fno-stack- protector