I can't figure out how to edit my comments, so big apology in advance. My work around works if and only if gcc and g++ have not been changed or restored to the default version (currently v5.3.1). In other word, changing the default system compiler would create this type of issue, so this isn't really a bug on your side. You may close this bug report, unless you feel that nvidia-361 should be able to build on any gcc/g++ versions.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591785 Title: nvidia-361 361.42-0ubuntu2: nvidia-361 kernel module failed to build when gcc and g++ are set to v4.8 instead of default v5.3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361/+bug/1591785/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs