Kernel was built by gcc, you are using cc error. Proxmox 8.2.8

Windows7ge

Well-Known Member
Sep 12, 2019
36
1
48
30
I'm in the process of installing a NVIDIA graphics driver on my server host and ran into this issue.

Code:
warning: the compiler differs from the one used to build the kernel
     The kernel was built by: gcc (Debian 12.2.0-14) 12.2.0
     You are using:           cc (Debian 12.2.0-14) 12.2.0

It won't install. I tried a few different driver versions but all of them have given me the same result.
I read something about kernel headers and it looks like I have them installed:
Code:
proxmox-headers-6.8.12-4-pve

I'm not sure where to go from here. I'm seeing some suggestions to roll back my kernel? Some people had success with 6.5?

I'm open to any additional input or assistance with rolling back my kernel. I'm not familiar with how to download or install them.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!