From: Adrian McMenamin Subject: Re: Trying again with cross compile Date: Fri, 07 Apr 2006 19:18:45 +0100 Message-ID: <1144433926.9653.53.camel@localhost.localdomain> References: <1144413234.9653.16.camel@localhost.localdomain> <1144419331.9653.22.camel@localhost.localdomain> <1144420643.9653.25.camel@localhost.localdomain> <1144433221.9653.51.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org On Fri, 2006-04-07 at 20:10 +0200, Takashi Iwai wrote: > At Fri, 07 Apr 2006 19:07:01 +0100, > Adrian McMenamin wrote: > > > > On Fri, 2006-04-07 at 16:41 +0200, Takashi Iwai wrote: > > > > > 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) > > > > > > > > > > I've patched and everything seems to be fine expect that the build gets > > wedged on hpi6000 > > > > I've even tried leaving if for over an hour - to no avail > > > > Here's what make reports with debugging on if that helps anyone... > > Above all, why do you compile that driver?? > You'd better to use --with-cards option. Because I still haven't worked out how to get it to build the sh drivers and I was just testing it building 'all' ------------------------------------------------------- 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