Alsa-driver issue

Hi all!

I was trying to install alsa-driver (version 1.0.23) on my linode machine (centos 5.5, kernel 2.6.32.16-linode28). As I need alsa-driver with snd-dummy support I followed this instructions: ~~[http://www.alsa-project.org/main/index.php/Matrix:Module-dummy" target="_blank">](http://www.alsa-project.org/main/index. … dule-dummy">http://www.alsa-project.org/main/index.php/Matrix:Module-dummy](

The configuration went fine:

./configure --with-cards=dummy --with-sequencer=yes

The problems began during make. Here is the error output:

* make -C /usr/src/kernels/2.6.32.16-linode28 SUBDIRS=/home/alsa/alsa-driver-1.0.23 CPP="gcc -E" CC="gcc" modules

make[1]: Entering directory `/usr/src/kernels/2.6.32.16-linode28'

CC [M] /home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.o

In file included from /home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:19:

/home/alsa/alsa-driver-1.0.23/include/adriver.h:298:1: warning: "GFP_DMA32" redefined

In file included from include/linux/kmod.h:22,

from include/linux/module.h:13,

from /home/alsa/alsa-driver-1.0.23/include/adriver.h:68,

from /home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:19:

include/linux/gfp.h:116:1: warning: this is the location of the previous definition

In file included from /home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:19:

/home/alsa/alsa-driver-1.0.23/include/adriver.h:1638:1: warning: "page_to_pfn" redefined

In file included from /usr/src/kernels/2.6.32.16-linode28/arch/x86/include/asm/page.h:58,

from /usr/src/kernels/2.6.32.16-linode28/arch/x86/include/asm/processor.h:18,

from include/linux/prefetch.h:14,

from include/linux/list.h:6,

from include/linux/module.h:9,

from /home/alsa/alsa-driver-1.0.23/include/adriver.h:68,

from /home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:19:

include/asm-generic/memory_model.h:72:1: warning: this is the location of the previous definition

In file included from /home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:20:

include/linux/mm.h:269: error: conflicting types for 'snd_compat_vmalloc_to_page'

/home/alsa/alsa-driver-1.0.23/include/adriver.h:785: error: previous declaration of 'snd_compat_vmalloc_to_page' was here

In file included from /home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:20:

include/linux/mm.h: In function 'lowmem_page_address':

include/linux/mm.h:592: error: implicit declaration of function 'page_to_phys'

/home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c: In function 'snd_compat_vmalloc_to_page':

/home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:38: error: implicit declaration of function 'VMALLOC_VMADDR'

/home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:43: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type

/home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:44: error: implicit declaration of function 'pte_offset'

/home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.c:44: warning: assignment makes pointer from integer without a cast

make[3]: *** [/home/alsa/alsa-driver-1.0.23/acore/memory_wrapper.o] Error 1

make[2]: *** [/home/alsa/alsa-driver-1.0.23/acore] Error 2

make[1]: *** [_module_/home/alsa/alsa-driver-1.0.23] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.32.16-linode28'

make: *** [compile] Error 2</list> 

Could anyone help?

Thanks in advance.

Best regards,

Oleksii

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct