[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 18:27:11 CET 2008


* Takashi Iwai [081104 17:40 +0100]
> At Tue, 4 Nov 2008 14:44:34 +0100,
> Elimar Riesebieter wrote:
> > 
> > 
> > Hi all,
> > 
> > please note the following error:
> > 
> > /usr/bin/make -C /usr/src/linux-2.6.27.2 SUBDIRS=/usr/src/modules/alsa-driver  CPP="gcc-4.3 -E" CC="gcc-4.3" modules
> > make[4]: Entering directory `/usr/src/linux-2.6.27.2'
> >   CC [M]  /usr/src/modules/alsa-driver/acore/hwdep.o
> > In file included from /usr/src/linux-2.6.27.2/arch/powerpc/include/asm/system.h:528,
> >                  from include/linux/list.h:7,
> >                  from include/linux/module.h:9,
> >                  from /usr/src/modules/alsa-driver/include/adriver.h:26,
> >                  from /usr/src/modules/alsa-driver/acore/hwdep.c:1:
> > include/asm-generic/cmpxchg-local.h: In function '__cmpxchg_local_generic':
> > include/asm-generic/cmpxchg-local.h:23: error: implicit declaration of function 'local_irq_save'
> > include/asm-generic/cmpxchg-local.h:44: error: implicit declaration of function 'local_irq_restore'
> > make[6]: *** [/usr/src/modules/alsa-driver/acore/hwdep.o] Fehler 1
> > make[5]: *** [/usr/src/modules/alsa-driver/acore] Fehler 2
> > make[4]: *** [_module_/usr/src/modules/alsa-driver] Fehler 2
> > make[4]: Leaving directory `/usr/src/linux-2.6.27.2'
> > make[3]: *** [compile] Fehler 2
> > make[3]: Leaving directory `/usr/src/modules/alsa-driver'
> > make[2]: *** [build-stamp] Fehler 2
> > make[2]: Leaving directory `/usr/src/modules/alsa-driver'
> > make[1]: *** [kdist_image] Fehler 2
> > make[1]: Leaving directory `/usr/src/modules/alsa-driver'
> > Module /usr/src/modules/alsa-driver failed.
> > 
> > Same on 2.6.28-rc3
> > 
> > BTW, alsa-driver 1.0.18 builds fine on PPC 2.6.26. The PPC divers
> > build fine out of vanilla trees (1.6.26/1.0.17 and 2.6.28/1.0.18-rc3)
> 
> Could you check the snapshot tarball below?
>     ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

# ./gitcompile

.....
make[1]: Entering directory `/usr/src/linux-2.6.28-rc3'
  CC [M]  /source/alsa/svn-pkg-alsa/tmp/alsa-driver/acore/hwdep.o
In file included from /usr/src/linux-2.6.28-rc3/arch/powerpc/include/asm/system.h:528,
                 from include/linux/list.h:7,
                 from include/linux/module.h:9,
                 from /source/alsa/svn-pkg-alsa/tmp/alsa-driver/include/adriver.h:57,
                 from /source/alsa/svn-pkg-alsa/tmp/alsa-driver/acore/hwdep.c:1:
include/asm-generic/cmpxchg-local.h: In function '__cmpxchg_local_generic':
include/asm-generic/cmpxchg-local.h:23: error: implicit declaration of function 'local_irq_save'
include/asm-generic/cmpxchg-local.h:44: error: implicit declaration of function 'local_irq_restore'
make[3]: *** [/source/alsa/svn-pkg-alsa/tmp/alsa-driver/acore/hwdep.o] Fehler 1
make[2]: *** [/source/alsa/svn-pkg-alsa/tmp/alsa-driver/acore] Fehler 2
make[1]: *** [_module_/source/alsa/svn-pkg-alsa/tmp/alsa-driver] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-rc3'
make: *** [compile] Fehler 2

Elimar

-- 
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20081104/f963c436/attachment.sig 


More information about the Alsa-devel mailing list