Bug#375001: fglrx-kernel-src refuses to build against 2.6.17.1 kernel
Bas, thanks for the patch. Works like a charm, but looks liek there may be more than one problem here (though I only hit the one). I build against the stock debian 2.6.17-2 kernel. Richard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#375001: fglrx-kernel-src refuses to build against 2.6.17.1 kernel
tag 375001 + patch thanks Here's a small patch to make the fglrx driver build with 2.6.17 kernels: --- /usr/src/modules/fglrx/firegl_public.c 2006-04-22 15:59:55.0 +0200 +++ firegl_public.c 2006-06-26 11:49:18.010773318 +0200 @@ -225,7 +225,12 @@ /* global module vars and constants - defined trough macros */ MODULE_AUTHOR(Fire GL - ATI Research GmbH, Germany); MODULE_DESCRIPTION(ATI Fire GL); -MODULE_PARM(firegl, s); +/* MODULE_PARM is obsolete */ +#if LINUX_VERSION_CODE KERNEL_VERSION(2,6,16) + MODULE_PARM(firegl, s); +#else + module_param(firegl, charp, 0400); +#endif #ifdef MODULE_LICENSE MODULE_LICENSE(Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY); #endif -- Kind regards, ++ | Bas Zoetekouw | GPG key: 0644fab7 | || Fingerprint: c1f5 f24c d514 3fec 8bf6 | | [EMAIL PROTECTED], [EMAIL PROTECTED] | a2b1 2bae e41f 0644 fab7 | ++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#375001: fglrx-kernel-src refuses to build against 2.6.17.1 kernel
Package: fglrx-kernel-src Version: 8.24.8-1 Severity: important Justification: fails to build from source Hi, It seems impossible to build this driver against the new stable kernel 2.6.17.1. The kernel is custom but with the same options (those suggested by Flavio Stanchina in his site (really good work)) with wich I compiled the previous working kernels. I've given a try to the new ATI driver 8.25.18 wich builds the packages and it compiles with this kernel, but sadly the 3D acceleration doesn't work (I must dig into it) . IMHO I think that the version actually in unstable is incompatible with the newer kernels and a solution may be in the newer ATI driver. Bye Here there is the output from module-assistant: In file included from /usr/src/modules/fglrx/drm_proc.h:41, from /usr/src/modules/fglrx/firegl_public.c:333: /usr/src/modules/fglrx/drmP.h:561:5: warning: __HAVE_VBL_IRQ is not defined /usr/src/modules/fglrx/drmP.h:664:5: warning: __HAVE_VBL_IRQ is not defined /usr/src/modules/fglrx/drmP.h:936:5: warning: __HAVE_SG is not defined /usr/src/modules/fglrx/firegl_public.c:409:5: warning: FIREGL_VMA_INFO is not defined /usr/src/modules/fglrx/firegl_public.c:428:5: warning: FIREGL_VMA_INFO is not defined /usr/src/modules/fglrx/firegl_public.c: In function 'firegl_stub_open': /usr/src/modules/fglrx/firegl_public.c:534: warning: assignment discards qualifi ers from pointer target type /usr/src/modules/fglrx/firegl_public.c: In function 'firegl_stub_register': /usr/src/modules/fglrx/firegl_public.c:605: warning: assignment from incompatibl e pointer type /usr/src/modules/fglrx/firegl_public.c: At top level: /usr/src/modules/fglrx/firegl_public.c:3594: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3595: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3596: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3597: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3598: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3599: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3600: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3601: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3603: warning: initialization from incomp atible pointer type /usr/src/modules/fglrx/firegl_public.c:3613: warning: function declaration isn't a prototype /usr/src/modules/fglrx/firegl_public.c: In function 'test_inter_module_interface ': /usr/src/modules/fglrx/firegl_public.c:3618: warning: assignment from incompatib le pointer type /usr/src/modules/fglrx/firegl_public.c: In function '__ke_agp_allocate_memory_ph ys_list': /usr/src/modules/fglrx/firegl_public.c:3943: warning: passing argument 3 of 'im_ fglrx_agp_stub-allocate_memory_phys_list' makes integer from pointer without a cast /usr/src/modules/fglrx/firegl_public.c: In function '__ke_agp_bind_memory': /usr/src/modules/fglrx/firegl_public.c:3982: warning: passing argument 1 of 'im_ fglrx_agp_stub-bind_memory' from incompatible pointer type /usr/src/modules/fglrx/firegl_public.c: In function '__ke_agp_unbind_memory': /usr/src/modules/fglrx/firegl_public.c:3995: warning: passing argument 1 of 'im_ fglrx_agp_stub-unbind_memory' from incompatible pointer type make[2]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1 make[1]: *** [_module_/usr/src/modules/fglrx] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17.1' make: *** [kmod_build] Error 2 build failed with return value 2 -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (700, 'unstable'), (600, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.1 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages fglrx-kernel-src depends on: ii bzip2 1.0.3-2high-quality block-sorting