Despite compiling the kernel with the same compiler as alsa-driver, I get the following from "configure": ... checking for directory with kernel source... /usr/src/linux checking for kernel version... 2.4.20-acpi-r9 checking for GCC version... Kernel compiler: gcc 3.1.1 Used compiler: i686-pc-linux-gnu-gcc (GCC) 3.1.1 Fatal error: Compiler type does not match Decoded kernel compiler: type=gcc version=3.1.1 Decoded used compiler: type=i686-pc-linux-gnu-gcc version=3.1.1 ... Reproducible: Always Steps to Reproduce: 1. emerge alsa-driver Actual Results: The same thing Expected Results: Built the driver.
I get a very similar error, maybe it's the same bug: (I'm using alsa-driver 0.9.4-r1 and gcc-3.3, kernel is definitely compiled with the same compiler) checking for GCC version... Kernel compiler: gcc-Version 3.3 (Gentoo Linux 1.4, PVR 3.3) Used compiler: gcc (GCC) 3.3 (Gentoo Linux 1.4, PVR 3.3) Fatal error: Compiler type does not match Decoded kernel compiler: type=gcc-Version version=3.3 Decoded used compiler: type=gcc version=3.3 Please, send ./configure output to <alsa-devel@alsa-project.org>
Matt, can you please try alsa-driver-0.9.5 ? I don't have any more configure-problems with the new version.
I recall reading something about this in the alsa-dev mailing list (something to do with parsing non-standard GCC version names). In my understanding, the fix should have, indeed, made it into the 0.9.5 release. If not, I'll put together a patch.
Just succeeded with alsa-driver-0.9.5-r1! Thanks everyone!