All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brad Figg <brad.figg@canonical.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH 1/1] Daily snapshot not building on 2.6.32
Date: Wed, 23 Jun 2010 11:37:16 -0700	[thread overview]
Message-ID: <4C22545C.2060101@canonical.com> (raw)

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

             reply	other threads:[~2010-06-23 18:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 18:37 Brad Figg [this message]
2010-06-24  6:27 ` [PATCH 1/1] Daily snapshot not building on 2.6.32 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C22545C.2060101@canonical.com \
    --to=brad.figg@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.