[Pkg-fglrx-devel] Bug#582312: (no subject)
john terragon
terragonjohn at yahoo.com
Wed May 19 21:53:34 UTC 2010
Another update.
It doesn't work, not even by invoking dkms directly. I mistakenly invoked dkms after I rebooted into a 2.6.32-4-686 kernel. It built the fglrx module for 2.6.32-5-amd64 but it wasn't the right format.
Invoking directly dkms with 2.6.32-5-amd64 running doesn't even end the compilation. This is what I get:
# dkms build -m fglrx -v 10-4 -k 2.6.32-5-amd64
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
pushd /var/lib/dkms/fglrx/10-4/build; sh make.sh --nohints --norootcheck; popd.....
Error! Build of fglrx.ko failed for: 2.6.32-5-amd64 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/10-4/build/ for more information.
The make.log file doesn't say anything but the make.sh.log file says this:
AMD kernel module generator version 2.1
.
Active kernel:
uname -a = Linux intyale 2.6.32-5-amd64 #1 SMP Sat May 1 05:49:06 UTC 2010 x86_64 GNU/Linux
uname -s = Linux
uname -m = x86_64
uname -r = 2.6.32-5-amd64
uname -v = #1 SMP Sat May 1 05:49:06 UTC 2010
.
Target kernel:
uname -a = Linux intyale 2.6.32-5-amd64 #1 SMP Sat May 1 05:49:06 UTC 2010 x86_64 GNU/Linux
uname -s = Linux
uname -m = x86_64
uname -r = 2.6.32-5-amd64
uname -v = #1 SMP Sat May 1 05:49:06 UTC 2010
.
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.32-5-amd64/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.32-5-amd64/build/include/linux/autoconf.h says: MODVERSIONS=1
.
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.32-5-amd64/build SUBDIRS=/var/lib/dkms/fglrx/10-4/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
/usr/src/linux-headers-2.6.32-5-common/arch/x86/Makefile:81: stack protector enabled but no compiler support
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/firegl_public.o
In file included from /var/lib/dkms/fglrx/10-4/build/2.6.x/firegl_public.c:453:
/var/lib/dkms/fglrx/10-4/build/2.6.x/drm_proc.h: In function ‘FGLDRM__vma_info’:
/var/lib/dkms/fglrx/10-4/build/2.6.x/drm_proc.h:497: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
/var/lib/dkms/fglrx/10-4/build/2.6.x/firegl_public.c: In function ‘KCL_SetPageCache_Array’:
/var/lib/dkms/fglrx/10-4/build/2.6.x/firegl_public.c:1326: warning: passing argument 1 of ‘KCL_ConvertPageToKernelAddress’ makes pointer from integer without a cast
/var/lib/dkms/fglrx/10-4/build/2.6.x/firegl_public.h:325: note: expected ‘void *’ but argument is of type ‘long unsigned int’
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_acpi.o
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_agp.o
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_debug.o
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_ioctl.o
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_io.o
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_pci.o
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_str.o
CC [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/kcl_wait.o
LD [M] /var/lib/dkms/fglrx/10-4/build/2.6.x/fglrx.o
ld: Relocatable linking with relocations from format elf32-i386 (/var/lib/dkms/fglrx/10-4/build/2.6.x/libfglrx_ip.a.GCC4) to format elf64-x86-64 (/var/lib/dkms/fglrx/10-4/build/2.6.x/fglrx.o) is not supported
make[4]: *** [/var/lib/dkms/fglrx/10-4/build/2.6.x/fglrx.o] Error 1
make[3]: *** [_module_/var/lib/dkms/fglrx/10-4/build/2.6.x] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64'
make: *** [kmod_build] Error 2
build failed with return value 2
More information about the Pkg-fglrx-devel
mailing list