[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems compiling fglrx driver 8.22.5 -> Success
- From: "Javier Ruiz Hidalgo" <jrhbcn at gmail dot com>
- Date: Thu, 2 Mar 2006 09:40:36 +0100
Hi,
Finally I managed to find the solution to my problem. For the record,
it turns out that the provided ati Makefile for the fglrx module
wasn't detecting my GCC version correctly. I changed the first line of
the /usr/src/modules/fglrx/Makefile from
GCC_VER_MAJ = $(shell $(CC) --version | head -n 1 | sed -e 's/[^0-9.
]//g;s/^ *//;s/^\(.\)\..*$$/\1/')
to
GCC_VER_MAJ = 4
and it compiled! After some more digging I found out that I had the
package "pentium-builder" installed (provide scripts to build pentium
optimized coded). Removing it solved all the previous problems and the
makefile was able to detect the gcc version correctly
later,
--
Javier Ruiz Hidalgo <jrhbcn at gmail dot com>