Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Alsa-driver issue
PostPosted: Sun Nov 21, 2010 6:10 pm 
Offline

Joined: Fri Nov 19, 2010 3:21 pm
Posts: 1
Location: Ukraine
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

The configuration went fine:
Code:
./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


Could anyone help?

Thanks in advance.

Best regards,
Oleksii


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group