LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2003, 12:33 AM   #1
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Rep: Reputation: 15
alsa not working


I'm trying to follow the random train of thoughts that the alsa website calls instructions. (Did James Joyce write them?)

Anyway, I get to the point where I type
Code:
./configure --with-cards=opl3sa2 --with-sequencer=yes
everything seems O.K. though, except towards the end:
Code:
checking cross compile... 
checking for directory with kernel source... /lib/modules/2.4.20-19.9/build
checking for kernel version... The file /lib/modules/2.4.20-19.9/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
I haven't a clue what this means, or what to do about it. The first time I installed Linux, it detected the sound card and I didn't have to do a thing.

-Dave
 
Old 08-22-2003, 12:49 AM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
you need to install the kernel sources package (there is an rpm on one of the cd's) or you need to d-load the kernel source from www.kernel.org
then extarct in /usr/src/
enter the directory it makes and type this:
make mrproper
make menuconfig
---hit left arrow and hit exit saving changes (even though you made none)
make dep
make clean

now try alsa.
 
Old 08-23-2003, 12:01 PM   #3
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Original Poster
Rep: Reputation: 15
By kernel source package, I take it you mean the raw source. The first time I booted into RH9, it informed me there was a newer kernel for me, which was automatically downloaded and installed. So, I doubt there will be anything on the cd.

I will probably need to do a bit of research before I'm able to follow your instructions. I havent' used Linux since the RH5 days, and I was never able to administer a computer before. I've been in OSX land since then.

-Dave
 
Old 08-23-2003, 01:00 PM   #4
Hampster
Member
 
Registered: May 2003
Location: Washington (the State)
Distribution: Ubuntu 8
Posts: 50

Original Poster
Rep: Reputation: 15
So, thanks to exodist, I was able to get a bit further. I'm almost done, I am supposed to type 'mod-probe snd-opl3sa2' but I get an error: modprobe: Can't locate module snd-opl3sa2

However:
Code:
[root@StFroggy modules]# find /usr/src -name 'snd-opl3*'
/usr/src/alsa/alsa-driver-0.9.6/drivers/opl3/snd-opl3-lib.o
/usr/src/alsa/alsa-driver-0.9.6/drivers/opl3/snd-opl3-synth.o
/usr/src/alsa/alsa-driver-0.9.6/isa/snd-opl3sa2.o
/usr/src/alsa/alsa-driver-0.9.6/modules/snd-opl3-lib.o
/usr/src/alsa/alsa-driver-0.9.6/modules/snd-opl3-synth.o
/usr/src/alsa/alsa-driver-0.9.6/modules/snd-opl3sa2.o
It appears to me that things are good. Does the .o extension mean a module? I've tried '/sbin/modprobe ./snd-opl3sa2.o' from the modules directory, but I get the same error. What is the next step?

Thanks, Dave
 
Old 08-24-2003, 03:35 AM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
sorry I didn't respond sooner, lots of issues, most resolved.
 
  


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 working under 2.6.10 sharpie Slackware 20 02-18-2005 06:24 PM
alsa in 2.6.x not working? this might help a2carat Slackware 1 03-15-2004 09:47 AM
getting ALSA working sharpie Linux - Newbie 2 02-26-2004 07:27 AM
alsa 0.9.6/7 not working? Toker Mandriva 1 10-13-2003 07:55 PM
ALSA and EMU10K1 working and yet not working Nevernamed90 Linux - Newbie 1 01-09-2003 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration