Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to install AMD drivers in my Ubuntu 12.10.

I followed What is the correct way to install ATI Catalyst Video Drivers (fglrx)? (and I installed all dependencies from 12.04 guide)

Here is my logs:

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

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

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/8.98/build; 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.
[Reboot] Kernel Module : update-initramfs

Any ideas what im missing?

share|improve this question
Do you have the headers and build-essential packages? The dependencies that were explained in the 12.04 method? – Braiam Sep 25 '13 at 22:48
Try directly executing cd /var/lib/dkms/fglrx/8.98/build; sh --nohints --uname_r=3.5.0-17-generic --norootcheck, then reporting why it failed here. – Yet Another User Oct 9 '13 at 19:38

You should have linux-headers installed for every kernel version you have installed (and can see in grub-advanced menu while booting). Although check that you have build-essential package and that gcc -v runs well.

Finally, it can be an error in this package, for example it can disagree with gcc version and settings.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.