I had the same problem and managed to fix it:

1. sudo gedit /usr/src/fglrx-8.771/2.6.x/kcl_ioctl.c

Navigate to the end of this file.
Change the line causing the problem
from:
    return compat_alloc_user_space(size);
to:
    return arch_compat_alloc_user_space(size);

2. Run a terminal

cd /usr/src/fglrx-8.771/
sudo ./make.sh

3. Complete the fglrx installation that had failed:

sudo dpkg --configure fglrx

4. Install the remaining packages of fglrx 8.771

cd /var/cache/apt/archives/
dpkg -i fglrx-modaliases_2%3a8.771-0ubuntu0sarvatt~lucid_amd64.deb
dpkg -i fglrx-dev_2%3a8.771-0ubuntu0sarvatt~lucid_amd64.deb
dpkg -i fglrx-amdcccle_2%3a8.771-0ubuntu0sarvatt~lucid_amd64.deb

5. Reboot

-- 
fglrx module does not build on 2.6.35-22-generic
https://bugs.launchpad.net/bugs/640866
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to