LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-12-2001, 03:13 AM   #1
matthead
LQ Newbie
 
Registered: Oct 2001
Location: London, England
Distribution: RH
Posts: 4

Rep: Reputation: 0
Question Alsa sound installation problem


Hi I am new to Linux,

I have installed RH7.1 on my laptop, however I have no sound, I have downloaded the alsa driver, while trying to configure I get the following error msg:

[root@localhost alsa-driver-0.5.2]# ./configure
creating cache ./config.cache
checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking for ranlib... ranlib

checking for a BSD compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for linux/fs.h... yes

checking for working const... yes

checking for inline... inline

checking whether time.h and sys/time.h may both be included... yes

checking whether gcc needs -traditional... no

checking for directory with kernel source... /usr/src/linux

checking for kernel version... expr: syntax error

expr: syntax error
expr: syntax error

failed (probably missing /usr/src/linux/include/linux/version.h)



The sound card is the ess solo1

Thanks in advance to those who help







 
Old 11-13-2001, 09:37 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Did you install the kernel source?

When it compiles (alsa) it looks under /usr/src/linux/include/linux for a file called version.h. On the installation CD(s) there is probably an RPM file called something like kernel-source-2.x.x. You should install this, with any luck it will install the above file and you should be away. Be warned though, you must use the same kernel as the one you're currently running. You cannot get away with downloading the latest kernel, extracting it (note: I didn't say compiling it) and trying to fool gcc (the compiler) into thinking you're running a newer kernel.

As I said, the file should be on the CD (probably CD#1).

Mount the CD, move into the RPMs directory and type:
ls *.rpm | grep kernel.
This should list all the RPM files which contain the word kernel.

Keep us posted (see the pun there?).
 
Old 11-13-2001, 07:43 PM   #3
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
to be precise, s/he doesnt need the kernel source, s/he needs the kernel headers. as well as this, make sure that /usr/src/linux points to /usr/src/linux-2.x.x in a symbolic link.

You can check this by doing the following:

cd /usr/src
ls -al linux

On my system it returns the following:
lrwxrwxrwx 1 root root 17 Nov 14 12:04 /usr/src/linux -> linux-2.4.10
 
  


Reply



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 installation problem waelaltaqi Linux - Software 3 10-03-2005 12:51 PM
another alsa installation problem tnielsen Linux - Software 1 08-17-2004 07:37 PM
Problem with ALSA installation White R4bbit Debian 9 12-19-2003 03:07 AM
ALSA installation problem penguinsrcool Linux - Software 38 09-28-2003 09:32 PM
Alsa Sound server installation! VIP3R Linux - Software 3 03-18-2003 04:45 PM

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

All times are GMT -5. The time now is 10:00 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
Open Source Consulting | Domain Registration