LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-26-2007, 10:19 AM   #1
richcm
LQ Newbie
 
Registered: Jul 2003
Location: Tampa
Distribution: Gentoo
Posts: 21

Rep: Reputation: 15
ALSA VMALLOC error on driver compilation


Hello,

I've been trying to install my new C-Media (http://www.htomega.com/claro.html) sound card and getting this error message with every alsa driver flavor I'm trying to compile. The sound card is set to cmipci and I've even tried using the driver provided here:

http://www.alsa-project.org/main/ind..._driver_status

Anyone got any ideas?

make -C /lib/modules/2.6.23-gentoo-r3/source SUBDIRS=/root/drivers/alsa-driver-1.0.15 O=/lib/modules/2.6.23-gentoo-r3/build CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r3'
CC [M] /root/drivers/alsa-driver-1.0.15/acore/hwdep.o
CC [M] /root/drivers/alsa-driver-1.0.15/acore/memory_wrapper.o
/root/drivers/alsa-driver-1.0.15/acore/memory_wrapper.c: In function 'snd_compat_vmalloc_to_page':
/root/drivers/alsa-driver-1.0.15/acore/memory_wrapper.c:40: error: implicit declaration of function 'VMALLOC_VMADDR'
/root/drivers/alsa-driver-1.0.15/acore/memory_wrapper.c:45: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type
/root/drivers/alsa-driver-1.0.15/acore/memory_wrapper.c:46: error: implicit declaration of function 'pte_offset'
/root/drivers/alsa-driver-1.0.15/acore/memory_wrapper.c:46: warning: assignment makes pointer from integer without a cast
make[4]: *** [/root/drivers/alsa-driver-1.0.15/acore/memory_wrapper.o] Error 1
make[3]: *** [/root/drivers/alsa-driver-1.0.15/acore] Error 2
make[2]: *** [_module_/root/drivers/alsa-driver-1.0.15] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r3'
make: *** [compile] Error 2


Also, I see "checking for vmalloc_to_page... no" before compilation. How do I enable this?

Thanks,
Rich
 
Old 12-29-2007, 08:59 PM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
ALSA is a part of the kernel now. If your card is supported by ALSA, you probably should compile the kernel with support for your sound card. Use google for answers. Or better yet, install a binary version of the kernel with modules for your soundcard.
 
Old 01-19-2008, 07:45 PM   #3
richcm
LQ Newbie
 
Registered: Jul 2003
Location: Tampa
Distribution: Gentoo
Posts: 21

Original Poster
Rep: Reputation: 15
Resolution

In Kernel configuration, enabled the following:

Processor type and features
[*] Symmetric multi-processing support
[*] SMT (Hyperthreading) scheduler support

Last edited by richcm; 01-19-2008 at 07:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
alsa-driver compilation problem Fisknils Linux - Software 10 06-12-2006 07:19 AM
alsa driver compilation error darkleaf Linux - Software 4 07-08-2004 12:45 PM
emerge alsa error during compilation, emu1Ok1 kalimdor Linux - Software 4 07-30-2003 07:22 AM
Sound: Alsa driver compilation Blek Linux - Hardware 3 05-18-2003 04:07 PM
ALSA driver compilation Blek Linux - Hardware 0 05-12-2003 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration