Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242651

Re: How to force compilerversion

From Christian Britz <cbritz@t-online.de>
Newsgroups linux.debian.user
Subject Re: How to force compilerversion
Date 2021-12-03 14:30 +0100
Message-ID <DqgNs-4xW-7@gated-at.bofh.it> (permalink)
References <Dqgkq-49k-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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. :-)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to force compilerversion Hans <hans.ullrich@loop.de> - 2021-12-03 14:00 +0100
  Re: How to force compilerversion The Wanderer <wanderer@fastmail.fm> - 2021-12-03 14:10 +0100
    Re: How to force compilerversion Hans <hans.ullrich@loop.de> - 2021-12-03 14:20 +0100
  Re: How to force compilerversion Christian Britz <cbritz@t-online.de> - 2021-12-03 14:30 +0100
    Re: How to force compilerversion Hans <hans.ullrich@loop.de> - 2021-12-03 19:20 +0100
      Re: How to force compilerversion "Andrew M.A. Cater" <amacater@einval.com> - 2021-12-03 19:40 +0100

csiph-web