Re: Official ATI Driver : problem build fglrx module
On Thu, Jul 07, 2005 at 10:52:49PM +0200, Sylvain Archenault wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hello everybody,
> I would like to know if there is somebody who have succeeded to compile
> the module. I download the driver on ati official website :
> When i tun make.sh in /lib/modules/fglrx/build_mod I've got this :
> ATI module generator V 2.0
> patching 'highmem.h'...
> assuming new VMA API since we do have kernel 2.6.x...
> doing Makefile based build for kernel 2.6.x and higher
> make -C /lib/modules/220.127.116.11/build
> SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
> make: entrant dans le r?pertoire ? /usr/src/linux-18.104.22.168 ?
> CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
> CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
> /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.c:57: error: static
> declaration of '__fgl_agp_try_unsupported' follows non-static declaration
> /lib/modules/fglrx/build_mod/2.6.x/agp_backend.h:92: error: previous
> declaration of '__fgl_agp_try_unsupported' was here
> make: *** [/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o] Erreur 1
> make: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Erreur 2
> make: quittant le r?pertoire ? /usr/src/linux-22.214.171.124 ?
> make: *** [kmod_build] Erreur 2
> build failed with return value 2
> I read that the problem may be due to gcc, actually i use gcc-4.0, and i
> compile a kernel with this version of gcc, So i think i have to keep
> this version.
> I've just noticed that the translated page of flavio page was out to
> date, so i will have a look to this new page tomorrow, maybe this will
> help me to figure it out.
First of all I would recomend looking through the archive or searching
google and finding where someone made debian packages for building the
ati driver instead. Trying to work with the rpm is nuts.
Also the last I read a about a week or two ago was that the ati driver
does not work with 2.6.12 at this time, so unless you have some other
patches to apply you aren't likely to get it to work.
Of course since you already have the ATI its too late to recomend
staying away from ati and their lousy drivers in general.