I solved this. I forget which version you need now but this is related to your gcc version.
I have to setup my gcc alteratives then set the selector to automatic. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to bbswitch in Ubuntu. https://bugs.launchpad.net/bugs/1528085 Title: bbswitch-dkms 0.7-2ubuntu1: bbswitch kernel module failed to build Status in bbswitch package in Ubuntu: Confirmed Bug description: Description: Ubuntu 15.10 Release: 15.10 Trying to update the kernal via package manager, expected it to install the kernal and process of dkms failed on dkms ProblemType: Package DistroRelease: Ubuntu 15.10 Package: bbswitch-dkms 0.7-2ubuntu1 ProcVersionSignature: Ubuntu 4.2.0-21.25-generic 4.2.6 Uname: Linux 4.2.0-21-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 DKMSKernelVersion: 4.2.0-22-generic Date: Mon Dec 21 02:48:41 2015 DuplicateSignature: dkms:bbswitch-dkms:0.7-2ubuntu1:gcc: error: unrecognized command line option ‘-fstack-protector-strong’ InstallationDate: Installed on 2015-12-17 (3 days ago) InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) PackageVersion: 0.7-2ubuntu1 RelatedPackageVersions: dpkg 1.18.2ubuntu5.1 apt 1.0.10.2ubuntu1 SourcePackage: bbswitch Title: bbswitch-dkms 0.7-2ubuntu1: bbswitch kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bbswitch/+bug/1528085/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp