[alsa-devel] [PATCH 1/1] Daily snapshot not building on 2.6.32

Takashi Iwai tiwai at suse.de
Thu Jun 24 17:02:05 CEST 2010


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

> 
>    CC [M]  /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.o
> In file included from /karmic/home/work/alsa/alsa-driver/usb/misc/ua101.c:3:
> /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘alloc_stream_buffers’:
> /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1071: error: implicit declaration of function ‘usb_alloc_coherent’
> /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1072: warning: assignment makes pointer from integer without a cast
> /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘free_stream_buffers’:
> /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1092: error: implicit declaration of function ‘usb_free_coherent’
> /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function ‘ua101_card_free’:
> /karmic/home/work/alsa/alsa-driver/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1172: warning: unused variable ‘ua’
> make[4]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc/ua101.o] Error 1
> make[3]: *** [/karmic/home/work/alsa/alsa-driver/usb/misc] Error 2
> make[2]: *** [/karmic/home/work/alsa/alsa-driver/usb] Error 2
> make[1]: *** [_module_/karmic/home/work/alsa/alsa-driver] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-23-generic'
> 
> Brad
> -- 
> Brad Figg brad.figg at canonical.com http://www.canonical.com
> 


More information about the Alsa-devel mailing list