Re: ati drivers again
> i try insert module into kernel;
>
> # modprobe fglrx
> FATAL: Error inserting fglrx
> (/lib/modules/2.6.8-10-amd64-k8/kernel/drivers/char/drm/fglrx.ko): Invalid
> module format
>
> dmesg returned:
>
> fglrx: version magic '2.6.8-10-amd64-k8 gcc-3.3' should be '2.6.8-10-amd64-k8
> gcc-3.4'
>
> # cat /proc/version
> Linux version 2.6.8-10-amd64-k8 (root@athlon.lowpingbastards.de) (gcc version
> 3.4.4 20041218 (prerelease) (Debian 3.4.3-6)) #1 Sun Jan 9 18:25:28 CET 2
>
> Ok i compiled module with cc=3.4 (i changed one line in make.sh file in
> build_mod directory) , but result is the same....
>
> sh make_install.sh
> - creating symlink
> - recreating module dependency list
> - trying a sample load of the kernel module
> FATAL: Error inserting fglrx
> (/lib/modules/2.6.8-10-amd64-k8/kernel/drivers/char/drm/fglrx.ko): Invalid
> module format
> failed.
>
> aby ideas?
>
I had the same problem, and module-assistant seems to keep aside
variables such as CC or GCC, so y rmoved symlinck from /usr/bin/gcc to
/usr/bin/gcc-3.3 and replaced it with a new simlink from /usr/bin/gcc
to /usr/bin/gcc-3.4
Shure it is not the best way to do it, but it works.
Aritz Beraza [Rei]
--
Aritz Beraza Garayalde [Rei]
___________________________________________
[ WWW ] http://evangelion.homelinux.net
[jabber] rei@bulmalug
Reply to: