At Thu, 24 Jun 2010 11:07:27 -0700, Brad Figg wrote:
On 06/24/2010 08:40 AM, Takashi Iwai wrote:
At Thu, 24 Jun 2010 08:37:40 -0700, Brad Figg wrote:
On 06/24/2010 08:35 AM, Takashi Iwai wrote:
At Thu, 24 Jun 2010 08:27:37 -0700, Brad Figg wrote:
On 06/24/2010 08:02 AM, Takashi Iwai wrote:
At Thu, 24 Jun 2010 07:56:35 -0700, Brad Figg wrote: > > On 06/23/2010 11:27 PM, Takashi Iwai wrote: >> At Wed, 23 Jun 2010 11:37:16 -0700, >> Brad Figg wrote: >>> >>> I've had to apply the following patch to successfully build >>> the daily snapshot on 2.6.32. Without this patch I get: >> >> Which tarball? The latest one works fine for me. >> >> >> Takashi > > Today's snapshot is giving me the exact same error.
Did you get from the URL below, right?
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
Then check config.log whether usb_alloc_coherent() check worked.
Takashi
I'm pulling the snapshot from the correct location. However: checking usb_alloc_coherent... no
That's correct. Then it must have #undef CONFIG_SND_HAVE_USB_ALLOC_COHERENT in include/config.h, and incldue/adriver.h should define a wrapper for the function. Please check it.
Takashi
include/config.h:
/* #undef CONFIG_SND_HAVE_USB_ALLOC_COHERENT */
include/adriver.h:
#ifndef CONFIG_SND_HAVE_USB_ALLOC_COHERENT #define usb_alloc_coherent usb_buffer_alloc #define usb_free_coherent usb_buffer_free #endif
Check whether the code patch there reaches while compiling ua101.c.
Takashi
And, by the way, I'm getting this error when trying to build today's snapshot on 2.6.35.
CC [M] /home/work/alsa/alsa-driver/acore/pcm_native.o /home/work/alsa/alsa-driver/acore/pcm_native.c: In function ‘snd_pcm_hw_params’: /home/work/alsa/alsa-driver/acore/pcm_native.c:468: error: implicit declaration of function ‘pm_qos_remove_requirement’ /home/work/alsa/alsa-driver/acore/pcm_native.c:471: error: implicit declaration of function ‘pm_qos_add_requirement’ make[3]: *** [/home/work/alsa/alsa-driver/acore/pcm_native.o] Error 1 make[2]: *** [/home/work/alsa/alsa-driver/acore] Error 2 make[1]: *** [_module_/home/work/alsa/alsa-driver] Error 2
Which I've not been able to figure out any work around after an hour or more of working on it.
Likely the pm-qos API was changed once again. In general, the latest kernel is not targeted for alsa-driver external builds. Use sound git tree instead.
I'll fix it after I back from my vacation (about a week).
thanks,
Takashi