Found the issue. I set my gcc and g++ to 4.8 or 4.9 via update- alternative because we to support Ubuntu 12.04. I moved gcc and g++ back to the default 5.3, did `apt-get remove nvidia-* --purge`, then `apt-get install nvidia-361` and it worked.
-- 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 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
