[alsa-devel] CONFIG_GCD is never defined in the latest alsa-driver
Takashi Iwai
tiwai at suse.de
Sat Dec 26 12:36:13 CET 2009
At Sat, 26 Dec 2009 12:55:24 +0200,
Ozan Çağlayan wrote:
>
> Hi,
>
> Compiling the latest alsa-driver with kernel > 2.6.31 results in gcd()
> symbol duplication. Although there's a check in configure for
> linux/gcd.h, no boolean is adjusted according to that.
>
> In acore/wrappers.c, gcd() is exported if CONFIG_GCD is not defined
> which seems always the case for now.
CONFIG_GCD looks new indeed. For 2.6.31 and 32, we need more check.
I applied the following fix instead in case linux/gcd.h is defined
by vendor kernels.
thanks,
Takashi
===
More information about the Alsa-devel
mailing list