This may be ever so slightly tricky. CVE-2010-3081 was a bug in compat_alloc_user_space, which is the function that compilation is erroring out on.
Previously, compat_alloc_user_space was implemented per-architecture, but after the patch, the per-architecture function was renamed to arch_compat_alloc_user_space, and a new function compat_alloc_user_space wraps arch_compat_alloc_user_space.
Unfortunately, though, whoever wrote this patch decided that the new compat_alloc_user_space would be exported as a GPL-only symbol, and fglrx is obviously not a GPL module, which means it's not allowed to use the new compat_alloc_user_space symbol.
This may be ever so slightly tricky. CVE-2010-3081 was a bug in compat_ alloc_user_ space, which is the function that compilation is erroring out on.
Previously, compat_ alloc_user_ space was implemented per-architecture, but after the patch, the per-architecture function was renamed to arch_compat_ alloc_user_ space, and a new function compat_ alloc_user_ space wraps arch_compat_ alloc_user_ space.
Unfortunately, though, whoever wrote this patch decided that the new compat_ alloc_user_ space would be exported as a GPL-only symbol, and fglrx is obviously not a GPL module, which means it's not allowed to use the new compat_ alloc_user_ space symbol.