You are using an old version of gcc (11.4) and that is causing the errors. The default version of gcc in Ubuntu 24.04 is 13.3
Either remove the old version(s) of gcc if you don't need them, or change the default version of gcc. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2102663 Title: nvidia-kernel-source-535 535.183.01-0ubuntu0.24.04.1: nvidia kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2102663/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
