Dupond Jean-Louis is pretty much correct. I modified
/var/lib/dkms/fglrx/8.532/source/firegl_public.c to look like:

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
    on_each_cpu(KCL_flush_tlb_one, &va, 1);
#elif defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= 
KERNEL_VERSION(2,6,25)) 
    on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);
#else
    flush_tlb_page(vma, va);
#endif

in the relevant section and it compiles just fine. Unfortunately, when
trying to start the xserver, I get the following error:

(EE) module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module dri (module requirement mismatch, 0)
dlopen: /usr/lib/xorg/modules/drivers//fglrx_drv.so: undefined Symbol: 
miZeroLineScreenIndex
(EE) Failed to load /usr/lib/xorg/modules/driver//fglrx_drv.so
(EE) Failed to laod module fglrx (loader failed, 7)
(EE) No drivers available.

Or at least, that's the part that I assume is relevant. I think that
this error is because Xorg 1.5 and fglrx don't agree yet. The point is,
Dupond's suggestion does essentially solve the bug with with dkms
failing to compile fglrx-kernel-source.

** Attachment added: "Xorg.0.log.old"
   http://launchpadlibrarian.net/17785583/Xorg.0.log.old

-- 
fglrx fails to compile with 2.6.27-2 kernel
https://bugs.launchpad.net/bugs/266956
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