From: Takashi Iwai <tiwai@suse.de>
To: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Trying again with cross compile
Date: Fri, 07 Apr 2006 16:41:56 +0200 [thread overview]
Message-ID: <s5hmzextpl7.wl%tiwai@suse.de> (raw)
In-Reply-To: <1144420643.9653.25.camel@localhost.localdomain>
At Fri, 07 Apr 2006 15:37:23 +0100,
Adrian McMenamin wrote:
>
> On Fri, 2006-04-07 at 16:31 +0200, Takashi Iwai wrote:
> > At Fri, 07 Apr 2006 15:15:31 +0100,
> > Adrian McMenamin wrote:
> > >
> > > On Fri, 2006-04-07 at 14:41 +0200, Takashi Iwai wrote:
> > > > At Fri, 07 Apr 2006 13:33:54 +0100,
> > > > Adrian McMenamin wrote:
> > > > >
> > > > > I've downloaded the cvs alsa-driver.
> > > > > I've added an sh directory -
> > > > >
> > > > > adrian@bossclass:~/alsa-driver/sh$ ls -l
> > > > > total 32
> > > > > -rw-r--r-- 1 adrian adrian 2156 2006-04-07 12:34 aica.h
> > > > > -rw-r--r-- 1 adrian adrian 356 2006-04-07 12:34 Kconfig
> > > > > -rw-r--r-- 1 adrian adrian 65 2006-04-07 12:34 Makefile
> > > > > -rw-r--r-- 1 adrian adrian 18262 2006-04-07 12:34 snd_aica.c
> > > > >
> > > > > and then I run cvscompile (as configured below) and get this... what do
> > > > > I do next?
> > > >
> > > > Edit configure.in to add sh arch support. Add the corresponding
> > > > directory alsa-driver/Makefile (there are multiple places you need to
> > > > add there).
> > > >
> > > well, I think I've added this and it still breaks - will this build
> > > against a 2.6.15 kernel?
> > >
> > >
> > >
> > > make ARCH=sh
> > >
> > > ...
> > > make -C /home/adrian/linux-2.6.15.2 SUBDIRS=/home/adrian/alsa-driver
> > > O=/home/adrian/linux-2.6.15.2 modules
> > > make[1]: Entering directory `/home/adrian/linux-2.6.15.2'
> > > CC [M] /home/adrian/alsa-driver/acore/hwdep.o
> > > CC [M] /home/adrian/alsa-driver/acore/memalloc.o
> > > CC [M] /home/adrian/alsa-driver/acore/sgbuf.o
> > > CC [M] /home/adrian/alsa-driver/acore/memory_wrapper.o
> > > CC [M] /home/adrian/alsa-driver/acore/pcm.o
> > > CC [M] /home/adrian/alsa-driver/acore/pcm_native.o
> > > /home/adrian/alsa-driver/acore/pcm_native.c: In function `snd_pcm_xrun':
> > > /home/adrian/alsa-driver/acore/pcm_native.c:1205: error: too few
> > > arguments to function `snd_power_wait'
> >
> > It's a bug fixed recently. Update your CVS tree.
>
> I downloaded this about three hours ago - how recently was it fixed? Is
> it just busted sf anon cvs?
Maybe not yet? The fix is simple as below.
Takashi
diff -r fd751f7a6395 -r 6cddb34dad21 include/core.h
--- a/include/core.h Thu Apr 6 15:23:55 2006 +0200
+++ b/include/core.h Thu Apr 6 15:26:05 2006 +0200
@@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card
#define snd_power_lock(card) do { (void)(card); } while (0)
#define snd_power_unlock(card) do { (void)(card); } while (0)
-static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; }
+static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
#define snd_power_get_state(card) SNDRV_CTL_POWER_D0
#define snd_power_change_state(card, state) do { (void)(card); } while (0)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
next prev parent reply other threads:[~2006-04-07 14:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-07 12:33 Trying again with cross compile Adrian McMenamin
2006-04-07 12:41 ` Takashi Iwai
2006-04-07 14:15 ` Adrian McMenamin
2006-04-07 14:31 ` Takashi Iwai
2006-04-07 14:37 ` Adrian McMenamin
2006-04-07 14:41 ` Takashi Iwai [this message]
2006-04-07 18:07 ` Adrian McMenamin
2006-04-07 18:10 ` Takashi Iwai
2006-04-07 18:18 ` Adrian McMenamin
2006-04-07 18:22 ` Takashi Iwai
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=s5hmzextpl7.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=adrian@mcmen.demon.co.uk \
--cc=alsa-devel@lists.sourceforge.net \
/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.