[alsa-devel] alsa-driver 1.0.18 doesn't built on PPC 2.6.27 and 2.6.28

Elimar Riesebieter riesebie at lxtec.de
Tue Nov 4 23:40:01 CET 2008


* Elimar Riesebieter [081104 21:00 +0100]
> * Takashi Iwai [081104 19:00 +0100]
> [...] 
> > Does sound-2.6.git tree work with 2.6.28-rc3?
> >     git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
> > 
> > Pull master branch on 2.6.28-rc3 git.
> > If so, possibly it's a missing include path for asm/*.h or so...
> 
> Building 2.6.28-rc3 inline drivers works.
> 
> > Or, just try to add #include <linux/kernel.h> before the inclusion of
> > linux/module.h in alsa-driver/include/adriver.h.
> 
> That doesn't work either.
> 
> In 2.6.27, 2.6.28-rc? and sound-2.6.git we are missing
> include/asm-powerpc which configure is looking for:
> 
> checking for kernel linux/devfs_fs_kernel.h... no
> Creating a dummy <linux/devfs_fs_kernel.h>...
> --
> checking for kernel asm/hw_irq.h... no
> Creating a dummy <asm/hw_irq.h>...
> --
> checking for kernel asm/irq_regs.h... no
> Creating a dummy <asm/irq_regs.h>...
> 
> configure links include/asm-arch to asm, though.
> hw_irq.h and irq_regs.h, where local_irq_save and local_irq_restore
> is defined, I found in /arch/powerpc/include/asm.

My temporaire solution:

1. put #include <linux/mm.h> in alsa-driver/include/adriver.h
2. copy arch/powerpc/include/asm/* into include asm-powerpc
3. build suceeded

At this moment I need an idea how to patch configure script to do
that.

> But devfs_fs_kernel.h I found in none of 2.6.2[6-8]?
We don't use devfs anymore ;)

Thanks
Elimar

-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
                                -unknown-


More information about the Alsa-devel mailing list