Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod From: "Andrew M.A. Cater" Newsgroups: linux.debian.user Subject: Re: How to force compilerversion Date: Fri, 03 Dec 2021 19:40:01 +0100 Message-ID: References: X-Original-To: debian-user@lists.debian.org X-Mailbox-Line: From debian-user-request@lists.debian.org Fri Dec 3 18:30:51 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-9.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailing-List: archive/latest/783429 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/YapiS/tXtZajBdKb@einval.com Approved: robomod@news.nic.it Lines: 59 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 3 Dec 2021 18:30:35 +0000 X-Original-Message-ID: X-Original-References: <3032080.MXXOZKmI4p@protheus2> <56b7c3d1-4e83-35dc-bdf6-71e74034755e@t-online.de> <5083222.BnNYOlp1fz@protheus2> Xref: csiph.com linux.debian.user:242659 On Fri, Dec 03, 2021 at 07:14:31PM +0100, Hans wrote: > 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 "rolling Debian testing" as well, effectively so you might want to ask how others have done it on a Kali channel. On Debian, I find it easier to _only_ install something in text mode with no X, then install the prereqs for nvidia, build the binary, and only then install X - avoiding nouveau altogether I don't know if you can do this on Kali. All best, Andy C. > 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. :-) > > > >