Re: [patch] 2.4.0-test6 compile fixes

From: Rasmus Andersen (rasmus@jaquet.dk)
Date: Fri Aug 11 2000 - 15:33:06 EST


On 0, Arjan van de Ven <arjan@fenrus.demon.nl> wrote:
> Hi,
>
> I merged the compile-patch to test6 and included new fixes for the
> netfilter problems (rusty) and for UMSDOS. I am still testing for new
> regressions, but so far test6 + patch seem to compile all possible i386
> configurations. If you find that 2.4.0-test6 does not compile for you, you
> can give the patch at
>
> http://www.fenrus.demon.nl/test6/compile.diff
>
> a shot. If it doesn't help for you, please send me your .config file and
> I'll try to fix it.
>

Hi.

After applying your patch I get an #error:

n file included from radio-miropcm20.c:13:
../sound/miroaci.h:9: #error Compiling a driver that needs the ACI-mixer but without ACI-mixer support

This code is modified by our patch and triggers the abobe if the following
does not hold:

#if defined(CONFIG_ACI_MIXER) || (defined(CONFIG_ACI_MIXER_MODULE) && defined(MODULE))

CONFIG_ACI_MIXER should be CONFIG_SOUND_ACI_MIXER (per the sound/Config.in).
I can find no place where something like CONFIG_ACI_MIXER_MODULE should be
set so I removed this part completely (and probably unwisely :) ). The
resulting patch (again, against your patch) is as follows:

--- linux/drivers/sound/miroaci.h.arjan Fri Aug 11 22:05:56 2000
+++ linux/drivers/sound/miroaci.h Fri Aug 11 22:26:40 2000
@@ -1,4 +1,4 @@
-#if defined(CONFIG_ACI_MIXER) || (defined(CONFIG_ACI_MIXER_MODULE) && defined(MODULE))
+#if defined(CONFIG_SOUND_ACI_MIXER)
 extern int aci_implied_cmd(unsigned char opcode);
 extern int aci_write_cmd(unsigned char opcode, unsigned char parameter);
 extern int aci_write_cmd_d(unsigned char opcode, unsigned char parameter, unsigned char parameter2);

-- 
Regards,
        Rasmus(rasmus@diku.dk)

Question: If you could live forever, would you and why? Answer: I would not live forever, because we should not live forever, because if we were supposed to live forever, then we would live forever, but we cannot live forever, which is why I would not live forever. -Miss Alabama in the 1994 Miss Universe contest

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:25 EST