26 Dec
2009
26 Dec
'09
1:36 p.m.
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
===