Re: [LAD] backporting alsa1.0.18a

2008-12-17 Thread Takashi Iwai
At Tue, 16 Dec 2008 15:47:06 +0100,
Jens M Andreasen wrote:
 
 
 On Tue, 2008-12-16 at 14:26 +0100, Clemens Ladisch wrote:
 
   alsa-kernel/core/hrtimer.c:29: error: implicit declaration of function
   ‘hrtimer_forward_now’
  
  Try this patch:
  http://git.alsa-project.org/?p=alsa-driver.git;a=commitdiff;h=27a32d8efa9a5e3dc4578584baea025e555859cc
  
 Stuck at the same place. Am I missing some kind of make clean or undo
 before ./configure? 

You'll need to regenerate configure script.  gitcompile would do that
job.

I recommend you to use the snapshot tarball from

ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

This is created automatically at each update of my git trees below
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/alsa-driver-build.git


Takashi
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev


Re: [LAD] backporting alsa1.0.18a

2008-12-16 Thread Jens M Andreasen

On Tue, 2008-12-16 at 14:26 +0100, Clemens Ladisch wrote:

  alsa-kernel/core/hrtimer.c:29: error: implicit declaration of function
  ‘hrtimer_forward_now’
 
 Try this patch:
 http://git.alsa-project.org/?p=alsa-driver.git;a=commitdiff;h=27a32d8efa9a5e3dc4578584baea025e555859cc
 
Stuck at the same place. Am I missing some kind of make clean or undo
before ./configure? 



2.6.25.8-rt7 compiling as we speak. Lets see how that works out.


 
 HTH
 Clemens
 ___
 Linux-audio-dev mailing list
 Linux-audio-dev@lists.linuxaudio.org
 http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev


Re: [LAD] backporting alsa1.0.18a

2008-12-16 Thread Jens M Andreasen
What I did in alsa-kernel/core/hrtimer.c to get it to compile with
2.6.24.7-rt17

+/* Forward a hrtimer so it expires after the hrtimer's current now */
+static inline unsigned long hrtimer_forward_now(struct hrtimer *timer,
+ ktime_t interval)
+{
+ return hrtimer_forward(timer, timer-base-get_time(), interval);
+}
+

... which is verbatim from kernel 2.6.25


Problem solved.

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev


[LAD] backporting alsa1.0.18a

2008-12-16 Thread Jens M Andreasen
While attemting to install alsa1.0.18a on a system based on Linux2.6.24,
I am stuck with:

alsa-kernel/core/hrtimer.c:29: error: implicit declaration of function
‘hrtimer_forward_now’

This function was introduced with kernel 2.6.25 - which also happens to
be the first kernel where RT-patches breaks for midi.

Anybody has got an idea for a workaround?

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev


Re: [LAD] backporting alsa1.0.18a

2008-12-16 Thread Clemens Ladisch
Jens M Andreasen wrote:
 While attemting to install alsa1.0.18a on a system based on Linux2.6.24,
 I am stuck with:
 
 alsa-kernel/core/hrtimer.c:29: error: implicit declaration of function
 ‘hrtimer_forward_now’

Try this patch:
http://git.alsa-project.org/?p=alsa-driver.git;a=commitdiff;h=27a32d8efa9a5e3dc4578584baea025e555859cc


HTH
Clemens
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev