You are not logged in.

#1 2005-07-29 03:22:29

willis3000
Member
From: Canada
Registered: 2005-07-27
Posts: 28

ATI Driver Package GCC4 Problem

Hi,

I'm following this tutorial to build an ATI driver package, but I'm getting these errors:

/var/abs/local/ati-drivers/src/lib/modules/fglrx/build_mod/nvidia-agp.c:57: error: static declaration of '__fgl_agp_try_unsupported' follows non-static declaration
/var/abs/local/ati-drivers/src/lib/modules/fglrx/build_mod/agp_backend.h:92: error: previous declaration of '__fgl_agp_try_unsupported' was here

After googling around, the problem seems to be with GCC versions (I'm using 4.0.1, the driver probably uses 3.x.x).  Then this post pointed me to a patch.  Pardon my ignorance, but how do I use this patch?  Or are there any other options available?

Thanks!

Will

Offline

#2 2005-07-29 05:43:22

willis3000
Member
From: Canada
Registered: 2005-07-27
Posts: 28

Re: ATI Driver Package GCC4 Problem

I saved it as a .patch file in {driver dir}/src/lib/modules/fglrx/build_mod and it works!

Offline

Board footer

Powered by FluxBB