I have the same issue. Doing the makefile by hand give the reports.
In my case, I installed the 10.8 catalyst driver before. It didn't cause any trouble
Due to some display troubles I installed catalyst 10.9 without problem either and all my previous troubles were fixed.
I noticed that the catalyst control center panel was still showing "Catalyst 10.8" instead of the new driver one
So I deinstalled all, reboot and reinstall 10.9 again but, this time, with the error described here.
Beetwen the driver 10.8 and driver 10.9 installations, there was a kernel change (2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux).
here are the errors I've got :
- Logfile -
cleaning build area....
cd /var/lib/dkms/fglrx/8.771/build; sh make.sh --nohints --uname_r=2.6.32-24-generic --norootcheck......(bad exit status: 1)
0
0
[Error] Kernel Module : Failed to build fglrx-8.771 with DKMS
[Error] Kernel Module : Removing fglrx-8.771 from DKMS
- make by hand -
/usr/src/fglrx-8.771# ./make.sh --nohints --uname_r=2.6.32-24-generic --norootcheck
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/usr/src/fglrx-8.771/2.6.x modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.32-24-generic »
CC [M] /usr/src/fglrx-8.771/2.6.x/firegl_public.o
CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_acpi.o
CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_agp.o
CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_debug.o
CC [M] /usr/src/fglrx-8.771/2.6.x/kcl_ioctl.o
/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.c:196: error: implicit declaration of function ‘compat_alloc_user_space’
/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.c:196: warning: return makes pointer from integer without a cast
make[2]: *** [/usr/src/fglrx-8.771/2.6.x/kcl_ioctl.o] Erreur 1
make[1]: *** [_module_/usr/src/fglrx-8.771/2.6.x] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-24-generic »
make: *** [kmod_build] Erreur 2
build failed with return value 2
I have the same issue. Doing the makefile by hand give the reports.
In my case, I installed the 10.8 catalyst driver before. It didn't cause any trouble
Due to some display troubles I installed catalyst 10.9 without problem either and all my previous troubles were fixed.
I noticed that the catalyst control center panel was still showing "Catalyst 10.8" instead of the new driver one
So I deinstalled all, reboot and reinstall 10.9 again but, this time, with the error described here.
Beetwen the driver 10.8 and driver 10.9 installations, there was a kernel change (2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux).
here are the errors I've got : dkms/fglrx/ 8.771/build; sh make.sh --nohints --uname_ r=2.6.32- 24-generic --norootcheck. .....(bad exit status: 1)
- Logfile -
cleaning build area....
cd /var/lib/
0
0
[Error] Kernel Module : Failed to build fglrx-8.771 with DKMS
[Error] Kernel Module : Removing fglrx-8.771 from DKMS
- make by hand - fglrx-8. 771# ./make.sh --nohints --uname_ r=2.6.32- 24-generic --norootcheck 2.6.32- 24-generic/ build SUBDIRS= /usr/src/ fglrx-8. 771/2.6. x modules linux-headers- 2.6.32- 24-generic » fglrx-8. 771/2.6. x/firegl_ public. o fglrx-8. 771/2.6. x/kcl_acpi. o fglrx-8. 771/2.6. x/kcl_agp. o fglrx-8. 771/2.6. x/kcl_debug. o fglrx-8. 771/2.6. x/kcl_ioctl. o fglrx-8. 771/2.6. x/kcl_ioctl. c: In function ‘KCL_IOCTL_ AllocUserSpace3 2’: fglrx-8. 771/2.6. x/kcl_ioctl. c:196: error: implicit declaration of function ‘compat_ alloc_user_ space’ fglrx-8. 771/2.6. x/kcl_ioctl. c:196: warning: return makes pointer from integer without a cast fglrx-8. 771/2.6. x/kcl_ioctl. o] Erreur 1 /usr/src/ fglrx-8. 771/2.6. x] Erreur 2 linux-headers- 2.6.32- 24-generic »
/usr/src/
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/
make[1]: entrant dans le répertoire « /usr/src/
CC [M] /usr/src/
CC [M] /usr/src/
CC [M] /usr/src/
CC [M] /usr/src/
CC [M] /usr/src/
/usr/src/
/usr/src/
/usr/src/
make[2]: *** [/usr/src/
make[1]: *** [_module_
make[1]: quittant le répertoire « /usr/src/
make: *** [kmod_build] Erreur 2
build failed with return value 2