[alsa-devel] 1.0.16rc1 release

Takashi Iwai tiwai at suse.de
Tue Jan 22 17:50:04 CET 2008


At Tue, 22 Jan 2008 16:23:28 +0000,
James Pearson wrote:
> 
> Jaroslav Kysela wrote:
> > Hello all,
> > 
> > 	1.0.16rc1 release is available for download on 
> > http://www.alsa-project.org . I expect to release 1.0.16rc2 on next 
> > Tuesday.
> 
> Build problem on RHEL4/CentOS4:
> 
> In file included from /tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32.c:16:
> /tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c:21:20: driver.h: 
> No such file or directory
> make[4]: *** [/tmp/alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32.o] Error 1
> make[3]: *** [/tmp/alsa-driver-1.0.16rc1/acore/ioctl32] Error 2
> make[2]: *** [/tmp/alsa-driver-1.0.16rc1/acore] Error 2
> make[1]: *** [_module_/tmp/alsa-driver-1.0.16rc1] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.9-67.mpc29-smp-x86_64'
> make: *** [compile] Error 2
> 
> It looks like alsa-driver-1.0.16rc1/acore/ioctl32/hwdep32_new.c should 
> be including "adriver.h" not "driver.h" ??

Yes, it's a typo.

> 
> Also, at MODPOST stage:
> 
> *** Warning: "mutex_destroy" 
> [/tmp/alsa-driver-1.0.16rc1/pci/oxygen/snd-oxygen-lib.ko] undefined!

Do you have alsa-driver*/include/mutex.h?
Or, RH has an uncomplete mutex implementation?

> *** Warning: "do_posix_clock_monotonic_gettime" 
> [/tmp/alsa-driver-1.0.16rc1/acore/snd-timer.ko] undefined!
> *** Warning: "do_posix_clock_monotonic_gettime" 
> [/tmp/alsa-driver-1.0.16rc1/acore/snd-pcm.ko] undefined!
> 
> I'm not sure why its complaining about do_posix_clock_monotonic_gettime, 
> as this is there in the 2.6.9 RHEL4 kernel.

It seems that the function isn't exported.

The fix patch is below.  Give it a try.


thanks,

Takashi

diff -r c75eee2af74c acore/ioctl32/hwdep32_new.c
--- a/acore/ioctl32/hwdep32_new.c	Tue Jan 22 11:46:53 2008 +0100
+++ b/acore/ioctl32/hwdep32_new.c	Tue Jan 22 17:49:05 2008 +0100
@@ -18,7 +18,7 @@
  *
  */
 
-#include "driver.h"
+#include "adriver.h"
 #include <linux/time.h>
 #include <linux/fs.h>
 #include <sound/core.h>
diff -r c75eee2af74c include/adriver.h
--- a/include/adriver.h	Tue Jan 22 11:46:53 2008 +0100
+++ b/include/adriver.h	Tue Jan 22 17:49:05 2008 +0100
@@ -1483,7 +1483,8 @@ typedef unsigned long uintptr_t;
 typedef unsigned long uintptr_t;
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 16)
+#include <linux/time.h>
 #define do_posix_clock_monotonic_gettime getnstimeofday
 #endif
 


More information about the Alsa-devel mailing list