[Bug 640866] Re: fglrx module does not build on 2.6.35-22-generic

Stefan Brozinski 640866 at bugs.launchpad.net
Sat Sep 18 08:22:24 UTC 2010


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 Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list