Find the answer to your Linux question:
Results 1 to 3 of 3
Hello I am trying to install the nvidia driver and when the installer is trying to compile the kernel module it complains about that the kernel is compiled with gcc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    2

    changing gcc version


    Hello

    I am trying to install the nvidia driver and when the installer is trying to compile the kernel module it complains about that the kernel is compiled with gcc 3.4 and am using gcc 4.0.

    I have also installed gcc 3.4, but it seems I have to set a variable so the installer uses 3.4 insted of the newer...

    My question is how i do this?

    I am using kubuntu 5.10 and have tried to install with adept, but I dont get the nvidia splash screen on start up so I am guessing that does not work either...

    please help a linux beginner

  2. #2
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    I've never use kubuntu or any derivitive of it but in gentoo you can issue the

    Code:
    gcc-config -l
    this lists the versions of gcc you have installed with [number] ex. [1]

    then you pick what version you want to use with

    Code:
    gcc-config 1       (or whatever number corresponds to the version you want)
    Though you might want to try to get a kernel compiled with your version of gcc or just compile one yourself. But if that sounds like to much work then you can probably just switch the gcc version your kernel is compiled with--install nvidia--and switch back.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  3. #3
    Just Joined!
    Join Date
    Apr 2006
    Posts
    2
    gcc-config only resulted in unkown command


    but editing the xorg.conf solved my problem, had forgotten to do that after I installed the driver throu adept, doh

    sorry for the unnecessary question

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •