nForce dirverji

Torej prenesu sem si drajverje/module za mojo mamoplato in sedaj me zanima kaj moram naresti glede na to da mi ven vrze tole:

ERROR: Unable to find the kernel source tree for the currently running
kernel. Please make sure you have installed the kernel source files
for your kernel; on Red Hat Linux systems, for example, be sure you
have the 'kernel-source' rpm installed. If you know the correct
kernel source files are installed, you may specify the kernel source
path with the '--kernel-source-path' commandline option.


Upam da se vam kaj bolj sanja kot meni, zdi se mi pa da moram apt-get nek source od kernela.

Komentarji

  • Kami Član Ubuntu.si
    Inštaliraj paket linux-headers- npr. linux-headers-2.6.14-10-686
  • Se pravi da moram najti headerse za tole: 2.6.12-10-amd64-generic?
  • Aja, a če inštaliram njihove dirverje pol bom rešen nenadnega prenehanja delovanja zvoka in neta? :)
  • Elrond Član
    uredil/-a 20. January, 2006
    Ok sem inštaliru hedrse sedaj se mi pa pojavi sledeče:

     gcc-version-check failed:

    You appear to be compiling the NVIDIA kernel module with a different
    compiler than the one that was used to compile the running kernel. This may
    be fine, but there are cases where this can lead to instability. The
    compiler used to compile the kernel was gcc 3.4; the current compiler is gcc
    4.0.

    If you know what you are doing and want to ignore the gcc version check,
    select \"No\" to continue installation. Otherwise, select \"Yes\" to abort
    installation, set the CC environment variable to the name of the compiler
    used to compile your kernel, and restart installation. Abort now?

    A bo varno če enostavno grem naprej ali bom mel hude probleme lahko?
  • christooss Član Ubuntu.si
    sudo apt-get install gcc-3.4

    sudo unlink /usr/bin/gcc
    sudo ln -sf /usr/bin/gcc-3.4 /usr/bin/gcc

    potem pa še enkrat potegneš tale kompajlanje

    Po inštalaciji pa nardiš

    sudo unlink /usr/bin/gcc
    sudo ln-sf /usr/bin/gcc-4.0 /usr/bin/gcc
  • Najlepša hvala za pomoč, deluje(zaenkrat). :)
  • christooss je dejal/-a:
    sudo apt-get install gcc-3.4

    sudo unlink /usr/bin/gcc
    sudo ln -sf /usr/bin/gcc-3.4 /usr/bin/gcc
    ...
    hm, zakaj pa nisi kar export CC=gcc-3.4 dal?
  • christooss Član Ubuntu.si
    Ja Sorry :)
Za komentiranje se prijavite ali pa se vpišite.