[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to force compilerversion



Am Freitag, 3. Dezember 2021, 14:20:14 CET schrieb Christian Britz:
Hi Christian,

yes, but kali is 99 percent debian, as you know. However, tried to build with 
CC=gcc-10, which is starting but not building.

I believe, I have to download the nvidia installer, building from source does 
not work. There are still other problems. However, I reverted to nouveau at 
the moment.

Kali is my pentestbox, so I can not really use debian for it.

On my other computers debian is running - of course! :)

Have fun!

Best 

Hans
 
> Hello Hans,
> 
> Hans wrote:
> > Hi folks,
> > 
> > for kali-linux I need to build a kernel-module (it is the nvidia kernel
> > module).
> > 
> > Make module does not work, as it says, kernel is build with gcc-10 and
> > installed is gcc-11.
> > 
> > Setting IGNORE_CC_MISMATCH is set to 1 (which is default).
> > 
> > How can I set the environment, to use the older gcc version once, without
> > deinstalling gcc-11 or killing my whole system?
> 
> Kali is not Debian, but CC=/usr/bin/gcc-10 sh nvidia-installer as root
> should work, assuming that you have GCC 10 installed.
> 
> You should consider using the nvidia driver package of Kali, if one exists.
> 
> You should also consider using Debian. :-)





Reply to: