The configure script doesn't works with gcc 3.2.3 : checking for GCC version... Kernel compiler: version gcc 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) Used compiler: gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) Fatal error: Compiler type does not match !!! ERROR: media-sound/alsa-driver-0.9.3c-r1 failed. !!! Function src_compile, Line 57, Exitcode 1 !!! ./configure failed it 's the same version of GCC. My kernel compiler version is : version gcc 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) gcc --version | head -n 1 gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) uname -r 2.4.20-gentoo-r5 I propose this in the configure.in diff configure.in.old configure.in.new 170c170,176 < for (ptr = LINUX_COMPILER, dptr = compiler; *ptr != '\0' && *ptr != ' ' && *ptr != '\t'; ptr++, dptr++) --- > ptr = LINUX_COMPILER; > if (!strncmp(ptr, "version", 7)) > ptr += 7; > if (*ptr != '\0' && (*ptr == ' ' || *ptr == '\t')) > ptr++; > > for (dptr = compiler; *ptr != '\0' && *ptr != ' ' && *ptr != '\t'; ptr++, dptr++)
I had a similar problem, but it is fixed in alsa-driver-0.9.5. Reporter, can you please try if this fixes the issue for you?
It's not better. Could you help me plz ? >>> emerge (1 of 1) media-sound/alsa-driver-0.9.5 to / ... checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) Fatal error: Compiler type does not match Decoded kernel compiler: type= version= Decoded used compiler: type=gcc version=3.2.3 Please, send ./configure output to <alsa-devel@alsa-project.org> !!! ERROR: media-sound/alsa-driver-0.9.5 failed. !!! Function src_compile, Line 64, Exitcode 1 !!! ./configure failed
Do you have /usr/src/linux symlink pointing to your current kernel-sourcetree?
try alsa-drivers 0.9.6 and report here
I recall seeing something to this effect in one of the ALSA mailing lists. IIRC, it was fixed somewhere around 0.9.4. Could you please try 0.9.6 as it is going to be marked stable very soon now?
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg08085.html The worse is when you are emerging the system just after the install! Trying to fall back to an older version meanwhile...
Also having this problem with alsa-driver 0.9.7[ac].
Easy workaround: edit /usr/src/linux/includes/linux/compile.h and add/fill the following line: #define LINUX_COMPILER "gcc (GCC) 3.3.1 20030927 (Gentoo Linux 3.3.1-r5, propolice)" (Try to add YOUR version, not mine ;))
closing with 0.9.8