home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mint      Looks pretty on the outside, thats it!      30,566 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 29,257 of 30,566   
   Adrian Caspersz to pinnerite   
   Re: Compiler problem   
   28 Sep 25 14:30:22   
   
   From: email@here.invalid   
      
   On 28/09/2025 12:37, pinnerite wrote:   
   >   
   > The following warning displayed during a compilation:   
   >   
   > Warning: the compiler differs from the one used to build the kernel   
   >    The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13   
   3.0-6ubuntu2~24.04) 13.3.0   
   >    You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0   
   >   
   > I cannot clearly make out from synaptic which item to select to overcome   
   this problem   
   >   
      
   IME Asking Chat-GPT is a valid option when you have error messages like   
   this.   
      
   ChatGPT said:   
      
   That warning usually shows up when you try to build a kernel module (for   
   example with dkms or directly via make) and your current compiler binary   
   is not exactly the same as the one used to build the running kernel.   
      
   In your case, the versions are effectively identical:   
      
   Kernel built with:   
   x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0   
      
   Your compiler:   
   gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0   
      
   The difference is just in the name of the binary   
   (x86_64-linux-gnu-gcc-13 vs gcc-13), not the actual compiler version.   
      
   ⚙️ What this means:   
      
   It’s only a harmless warning. The kernel checks that the compiler string   
   matches exactly, but the build is fine because the versions are identical.   
      
   Ignore it, or ask Chat-GPT how to set an enviroment variable, CC   
      
   --   
   Adrian C   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca