› Foros › PC › Software libre
Einy escribió:Lo primero mira a donde apunta el enlace simbolico /usr/src/linux (que debe apuntar a las heders de tu kernel) y corrigelo si hace falta (créalo de nuevo apuntando bien, vamos) y si aún así no funciona prueba con export SYSSRC=/usr/src/linux-headers-lo-que-sea.
Un saludo.
file /usr/src/linux
ln -sf /directoriodetukernel /usr/src/linux
Eurt escribió:file /usr/src/linux
Eso te soltara donde apunta tu /usr/src/linux.
En caso de que no apunte a donde tiene que apuntar:ln -sf /directoriodetukernel /usr/src/linux
Un saludo
-> Installing NVIDIA driver version 173.14.12.
-> There appears to already be a driver installed on your system (version: 173.
14.12). As part of installing this driver (version: 173.14.12), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.28.9/source'
-> Kernel output path: '/lib/modules/2.6.28.9/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Einy escribió:Ups si perdona, para compilar módulos sin kbuild chungo
Pues eso te bajas las fuentes del kbuild correspondientes de tu kernel, básicamente es una carpeta llamada scripts, lo compilas y copias la carpeta a /usr/src/linux-kbuild-**** (la versión que sea, vamos) y que yo recuerde no había que hacer nada más.
Un saludo.