All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Daily snapshot not building on 2.6.32
@ 2010-06-23 18:37 Brad Figg
  2010-06-24  6:27 ` Takashi Iwai
  0 siblings, 1 reply; 13+ messages in thread
From: Brad Figg @ 2010-06-23 18:37 UTC (permalink / raw)
  To: alsa-devel

I've had to apply the following patch to successfully build
the daily snapshot on 2.6.32. Without this patch I get:

CC [M]  /karmic/home/work/alsa/alsa-driver/usb/urb.o
/karmic/home/work/alsa/alsa-driver/usb/urb.c: In function ‘release_urb_ctx’:
/karmic/home/work/alsa/alsa-driver/usb/urb.c:112: error: implicit declaration of function ‘usb_free_
coherent’
/karmic/home/work/alsa/alsa-driver/usb/urb.c: In function ‘snd_usb_init_substream_urbs’:
/karmic/home/work/alsa/alsa-driver/usb/urb.c:327: error: implicit declaration of function ‘usb_alloc_coherent’
/karmic/home/work/alsa/alsa-driver/usb/urb.c:328: warning: assignment makes pointer from integer without a cast
/karmic/home/work/alsa/alsa-driver/usb/urb.c:341: warning: assignment makes pointer from integer without a cast
make[3]: *** [/karmic/home/work/alsa/alsa-driver/usb/urb.o] Error 1


Note: I would have preferred to provide this as a git patch
       but I don't know where the repository for the daily
       snapshot files is located.


---
diff -ru a/usb/misc/Makefile b/usb/misc/Makefile
--- a/usb/misc/Makefile 2010-03-10 01:12:19.000000000 -0800
+++ b/usb/misc/Makefile 2010-06-23 11:25:33.176133657 -0700
@@ -7,4 +7,8 @@

  include $(SND_TOPDIR)/alsa-kernel/usb/misc/Makefile

+EXTRA_CFLAGS += -I$(SND_TOPDIR)/usb
+
  include $(SND_TOPDIR)/Rules.make
+
+ua101.c: usbaudio.inc $(SND_TOPDIR)/alsa-kernel/usb/misc/ua101.c
diff -ru a/usb/misc/ua101.c b/usb/misc/ua101.c
--- a/usb/misc/ua101.c  2010-03-10 01:12:19.000000000 -0800
+++ b/usb/misc/ua101.c  2010-06-23 11:25:53.054884851 -0700
@@ -1,3 +1,5 @@
+#define __NO_VERSION__
+#include "usbaudio.inc"
  #include "adriver.h"
  #include "../../alsa-kernel/usb/misc/ua101.c"
  EXPORT_NO_SYMBOLS;


-- 
Brad Figg brad.figg@canonical.com http://www.canonical.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-06-24 18:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23 18:37 [PATCH 1/1] Daily snapshot not building on 2.6.32 Brad Figg
2010-06-24  6:27 ` Takashi Iwai
2010-06-24 14:56   ` Brad Figg
2010-06-24 15:02     ` Takashi Iwai
2010-06-24 15:27       ` Brad Figg
2010-06-24 15:35         ` Takashi Iwai
2010-06-24 15:37           ` Brad Figg
2010-06-24 15:40             ` Takashi Iwai
2010-06-24 15:50               ` Brad Figg
2010-06-24 18:42                 ` Takashi Iwai
2010-06-24 18:07               ` Brad Figg
2010-06-24 18:43                 ` Takashi Iwai
2010-06-24 18:47                   ` Brad Figg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.