[alsa-devel] Alsa-driver compile fail on Ubuntu powerpc

Takashi Iwai tiwai at suse.de
Thu Aug 14 15:49:19 CEST 2008


At Thu, 14 Aug 2008 16:25:24 +0700,
nguyen tritai wrote:
> 
> Hi all,
> 
> I'm trying to bring up audio on powerpc AMCC 440EPX board with the soundcard
> Sound Blaster Audigy CA0106.
> The board is runing Ubuntu 7.04.
> I configured: ./configure --with-cards=ca0106 --with-sequencer=yes
> --with-kernel=/usr/src/linux
> Then I make and get issue:
> 
> make[2]: Leaving directory `/root/alsa-driver-1.0.17/usb'
> make[2]: Entering directory `/root/alsa-driver-1.0.17/misc'
> make[2]: Leaving directory `/root/alsa-driver-1.0.17/misc'
> make[1]: Leaving directory `/root/alsa-driver-1.0.17'
> make -C /usr/src/linux SUBDIRS=/root/alsa-driver-1.0.17  CPP="gcc -E"
> CC="gcc" modules
> make[1]: Entering directory `/usr/src/linux'
>   CC [M]  /root/alsa-driver-1.0.17/acore/memory_wrapper.o
> make[1]: Leaving directory `/usr/src/linux'
> root at sequoia:~/alsa-driver-1.0.17# vim log
> In file included from /root/alsa-driver-1.0.17/acore/memory_wrapper.c:25:
> /root/alsa-driver-1.0.17/include/adriver.h:278:1: warning: "GFP_DMA32"
> redefined
> In file included from include/linux/slab.h:14,
>                  from include/linux/percpu.h:5,
>                  from include/linux/rcupdate.h:41,
>                  from include/linux/pid.h:4,
>                  from include/linux/sched.h:76,
>                  from /root/alsa-driver-1.0.17/include/asm/elf.h:5,
>                  from include/linux/elf.h:7,
>                  from include/linux/module.h:14,
>                  from /root/alsa-driver-1.0.17/include/adriver.h:26,
>                  from /root/alsa-driver-1.0.17/acore/memory_wrapper.c:25:
> include/linux/gfp.h:105:1: warning: this is the location of the previous
> definition

This means that configure script didn't detect the things correctly.
Doesn't the snapshot version work, too?
If no, check config.log about the relevant part checking DMA32.


Takashi


More information about the Alsa-devel mailing list