A instalação do driver herdado da AMD falhou devido à falta de cabeçalhos do kernel

0

Estou tentando instalar o amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64 no Ubuntu 14.04 e falhando devido a /lib/modules/3.13.0-37-generic/build/include/linux/version.h ausente. Eu tentei instalar o driver com força, sem sucesso.

O erro em /usr/share/ati/fglrx-install.log é:

Check if system has the tools required for installation. fglrx installation requires that the system have kernel headers. /lib/modules/3.13.0-37-generic/build/include/linux/version.h cannot be found on this system. fglrx installation is being forced. Installation will proceed without the required tools on the system. Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/8.97.100.7/source -> /usr/src/fglrx-8.97.100.7

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area.... cd /var/lib/dkms/fglrx/8.97.100.7/build; sh make.sh --nohints --uname_r=3.13.0-37-generic --norootcheck....(bad exit status: 1) [Error] Kernel Module : Failed to build fglrx-8.97.100.7 with DKMS [Error] Kernel Module : Removing fglrx-8.97.100.7 from DKMS

------------------------------ Deleting module version: 8.97.100.7 completely from the DKMS tree. ------------------------------ Done. [Reboot] Kernel Module : update-initramfs

    
por Mehraban 16.10.2014 / 16:07

1 resposta

0

A partir do 3.7, as fontes do uapi foram alteradas e isso causa problemas em alguns drivers mais antigos que não conseguem localizar o version.h ...

Tente isto:

ln -s /usr/src/linux-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(uname -r)/include/linux/
    
por Jan 25.10.2014 / 21:20