[Pkg-fglrx-devel] Bug#597478: fglrx-modules-dkms: fails to build kernel module on amd64

Sean Kellogg skellogg at probonogeek.org
Wed Sep 22 23:35:29 UTC 2010


I still have a FTBFS problem with this update.

When doing the dkms thing with the new package it first reported:
----------------
Error! Your kernel headers for kernel amd64 cannot be found at
/lib/modules/amd64/build or /lib/modules/amd64/source.
----------------

So, I decided to see what would happen if I created a symlink:
/lib/modules/amd64/ -> /lib/modules/2.6.32-5-amd64

Which got past the first error and brought me to...
----------------
Building module:
cleaning build area....
make KERNELRELEASE=amd64 -C /lib/modules/amd64/build M=/var/lib/dkms/fglrx/10-9/build....(bad exit status: 2)

Error! Bad return status for module build on kernel: amd64 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/10-9/build/ for more information.
0
0

Error! Could not locate fglrx.ko for module fglrx in the DKMS tree.
----------------

The contents of the log make.log file:

----------------
DKMS make.log for fglrx-10-9 for kernel amd64 (x86_64)
Wed Sep 22 15:10:33 PDT 2010
make: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
grep: /usr/src/linux-headers-amd64/Module.symvers: No such file or directory
  LD      /var/lib/dkms/fglrx/10-9/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/10-9/build/firegl_public.o
  CC [M]  /var/lib/dkms/fglrx/10-9/build/kcl_acpi.o
  CC [M]  /var/lib/dkms/fglrx/10-9/build/kcl_agp.o
  CC [M]  /var/lib/dkms/fglrx/10-9/build/kcl_debug.o
  CC [M]  /var/lib/dkms/fglrx/10-9/build/kcl_ioctl.o
/var/lib/dkms/fglrx/10-9/build/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/var/lib/dkms/fglrx/10-9/build/kcl_ioctl.c:200: error: implicit declaration of function ‘compat_alloc_user_space’
/var/lib/dkms/fglrx/10-9/build/kcl_ioctl.c:200: warning: assignment makes pointer from integer without a cast
make[3]: *** [/var/lib/dkms/fglrx/10-9/build/kcl_ioctl.o] Error 1
make[2]: *** [_module_/var/lib/dkms/fglrx/10-9/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'
-------------------

Which sure seems like the same error as before. I checked with dpkg and it says I have the 1:10-9-2 package installed.

-Sean

-- 
Sean Kellogg
e: skellogg at probonogeek.org





More information about the Pkg-fglrx-devel mailing list