安装 amd 驱动程序时出现 DKMS 错误

Glo*_*ind 7 ati fglrx dkms 12.10

我需要在我的 Ubuntu 12.10 中安装 AMD 驱动程序。

我遵循了直接从 AMD 安装专有 ATI Catalyst Video Drivers (fglrx) 的正确方法是什么?(我安装了 12.04 指南中的所有依赖项)

这是我的日志:

Check if system has the tools required for installation.
Uninstalling any previously installed drivers.

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

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

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

------------------------------
Deleting module version: 8.98
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
Run Code Online (Sandbox Code Playgroud)

任何想法我缺少什么?

Bar*_*ino 1

您应该已经linux-headers安装了已安装的每个grub-advanced内核版本(并且可以在启动时在菜单中看到)。尽管检查您是否有build-essential软件包并且gcc -v运行良好。

最后,这可能是这个包中的错误,例如它可能与 gcc 版本和设置不一致。