Hello all. I wanted to install AMD Catalyst Driver for my Lenovo G470 laptop in Ubuntu 12.04. Various websites and forums suggests manual installation (i.e. downloading driver from the official website and compile it). During installation, there is an error and this is the log:

KMS make.log for fglrx-8.961 for kernel 3.2.0-23-generic-pae (i686)
Thu Apr 26 09:57:22 WIT 2012
AMD kernel module generator version 2.1
make.sh: 390: [: 1: unexpected operator
make.sh: 396: [: 1: unexpected operator
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.2.0-23-generic-pae/build SUBDIRS=/var/lib/dkms/fglrx/8.9$
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic-pae'
CC [M] /var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c: In function ‘KCL_fpu_beg$
/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c:5812:28: error: ‘TS_USEDF$
/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c:5812:28: note: each undec$
make[2]: *** [/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.961/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic-pae'
make: *** [kmod_build] Error 2
build failed with return value 2
I've seen this type of error before when attempting to install Catalyst 12.3 but many sources told me that this issue is fixed in Catalyst 12.4 (which apparently not). Any help will be appreciated.