LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2010, 07:18 PM   #1
Newb4Life
LQ Newbie
 
Registered: Dec 2009
Location: Clearwater FL
Distribution: K-Ubuntu
Posts: 27

Rep: Reputation: 15
Reltek HD Audio Drivers (make provides errors)


Hi.

I downloaded realtek's HD Audio codec, extracted it, and ran ./configure with no problems.

When I use the 'make' command I get this:

Code:
newb4life@newb4life-linux:~/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23$ sudo make
make dep
make[1]: Entering directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23'
make[2]: Entering directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/include'
make -C sound prepare
make[3]: Entering directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/include/sound'
make prepare2
make[4]: Entering directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/include/sound'
ln -s ../../alsa-kernel/include/cs4231-regs.h
ln -s ../../alsa-kernel/include/cs46xx.h
ln -s ../../alsa-kernel/include/cs46xx_dsp_scb_types.h
ln -s ../../alsa-kernel/include/cs46xx_dsp_spos.h
ln -s ../../alsa-kernel/include/cs46xx_dsp_task_types.h
ln -s ../../alsa-kernel/include/cs8403.h
ln -s ../../alsa-kernel/include/cs8427.h
ln -s ../../alsa-kernel/include/emu10k1.h
ln -s ../../alsa-kernel/include/emu10k1_synth.h
ln -s ../../alsa-kernel/include/emu8000.h
ln -s ../../alsa-kernel/include/emu8000_reg.h
ln -s ../../alsa-kernel/include/emux_legacy.h
ln -s ../../alsa-kernel/include/emux_synth.h
ln -s ../../alsa-kernel/include/es1688.h
ln -s ../../alsa-kernel/include/gus.h
ln -s ../../alsa-kernel/include/hda_hwdep.h
ln -s ../../alsa-kernel/include/hdsp.h
ln -s ../../alsa-kernel/include/hdspm.h
ln -s ../../alsa-kernel/include/hwdep.h
ln -s ../../alsa-kernel/include/i2c.h
ln -s ../../alsa-kernel/include/info.h
ln -s ../../alsa-kernel/include/initval.h
ln -s ../../alsa-kernel/include/jack.h
ln -s ../../alsa-kernel/include/l3.h
ln -s ../../alsa-kernel/include/memalloc.h
ln -s ../../alsa-kernel/include/minors.h
ln -s ../../alsa-kernel/include/mixer_oss.h
ln -s ../../alsa-kernel/include/mpu401.h
ln -s ../../alsa-kernel/include/opl3.h
ln -s ../../alsa-kernel/include/opl4.h
ln -s ../../alsa-kernel/include/pcm-indirect.h
cp ../../alsa-kernel/include/pcm.h .
patch -p0 -i pcm.patch pcm.h
make[4]: patch: Command not found
make[4]: *** [pcm.h] Error 127
make[4]: Leaving directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/include/sound'
make[3]: *** [prepare] Error 2
make[3]: Leaving directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/include/sound'
make[2]: *** [prepare] Error 2
make[2]: Leaving directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23/include'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/newb4life/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23'
make: *** [include/sndversions.h] Error 2
newb4life@newb4life-linux:~/Downloads/realtek-linux-audiopack-5.15/alsa-driver-1.0.23$
 
Old 06-11-2010, 07:24 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Are you sure you need this driver? Many cards work with intel-hda driver too, even if they are not intel.
 
Old 06-11-2010, 07:44 PM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Code:
patch -p0 -i pcm.patch pcm.h
make[4]: patch: Command not found
for k/ubuntu it should be /usr/bin/patch

In general:
Code:
$ sudo make
... should you be running make as root here? Usually you are only expected to be root for the install step.

Make sure that the functionality you seek is not already available by another means before compiling your own packages. Realtech HD audio is usually the same as intel HD audio - the drivers come with the kernel. Very new chipsets may need the latest drivers and some implimentations need vendor-specific settings.

Where did you get the source from? here?
 
Old 06-11-2010, 07:51 PM   #4
Newb4Life
LQ Newbie
 
Registered: Dec 2009
Location: Clearwater FL
Distribution: K-Ubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
Yes I am sure it is the right Driver/Codec

and yes that is where I got it from.


ah, ok. I used sudo there to see if that was what the error was about.


EDIT:

"for k/ubuntu it should be /usr/bin/patch"

so how do I change it?

Last edited by Newb4Life; 06-11-2010 at 08:20 PM.
 
Old 06-12-2010, 02:54 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by Newb4Life View Post
Yes I am sure it is the right Driver/Codec
You are supposed to tell me how you know
Quote:
and yes that is where I got it from.
What about your mobo site like they say?
Quote:
ah, ok. I used sudo there to see if that was what the error was about.
Nah - you'd have got "permission denied" instead. Instead you are told it isn't there.
Quote:
"for k/ubuntu it should be /usr/bin/patch"

so how do I change it?
... first check that "patch" is where it is supposed to be. You may have missed a package.

sudo apt-get install patch

Then check that /usr/bin is in your path

echo $PATH

Then check the tarball for documentation - there is often something to edit in the toplevel makefile though the configure script is supposed to do that.
 
1 members found this post helpful.
Old 06-12-2010, 08:37 AM   #6
Newb4Life
LQ Newbie
 
Registered: Dec 2009
Location: Clearwater FL
Distribution: K-Ubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
You are supposed to tell me how you know
Because when I was on my M$ system I everest told me all I needed to know.
Quote:
Originally Posted by Simon Bridge View Post
What about your mobo site like they say?
They don't have instructions

Quote:
Originally Posted by Simon Bridge View Post
Nah - you'd have got "permission denied" instead. Instead you are told it isn't there.
Yeah, I do remember getting that error


Quote:
Originally Posted by Simon Bridge View Post
... first check that "patch" is where it is supposed to be. You may have missed a package.

sudo apt-get install patch
Done


Quote:
Originally Posted by Simon Bridge View Post
Then check that /usr/bin is in your path

echo $PATH

Then check the tarball for documentation - there is often something to edit in the toplevel makefile though the configure script is supposed to do that.
I skipped all of that after make and make install ran correctly.




Lib was success as well, but Utils gave me this error when I ran ./configure:

"configure: error: required curses helper header not found"

Last edited by Newb4Life; 06-12-2010 at 08:49 AM.
 
Old 06-12-2010, 10:19 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Because when I was on my M$ system I everest told me all I needed to know.
Didn't tell you about creating the right build environment - what else got left out?

GNU/Linux is different. You almost never need to compile a sound driver for this manufacturers cards unless you have an old or minimal distro. Realtech HD audio cards very often work with the supplied intel HD driver. Have you tried configuring it? What does lspci tell you about your soundcard? What about lsmod | grep snd ?

Quote:
configure: error: required curses helper header not found
sudo apt-get install ncurses-dev

whenever you get an error about something "not found" it means you have to install it, or add it to your path. Pasting the error message into a search engine will usually tell you what to do.
 
Old 06-12-2010, 10:31 AM   #8
Newb4Life
LQ Newbie
 
Registered: Dec 2009
Location: Clearwater FL
Distribution: K-Ubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks. Ill need to start doing that.


Yeah, Sound was working. I wanted to try upgrading the driver for the possibility of better sound quality.

I skipped a few of the errors by googleing this time.

Last edited by Newb4Life; 06-12-2010 at 10:58 AM.
 
Old 06-12-2010, 11:51 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Yeah, Sound was working. I wanted to try upgrading the driver for the possibility of better sound quality.
I take it then that you have tried the audio under another OS and enjoyed the quality more? Can you describe what is wrong with the quality under the linux driver?

Have you tried upgrading the installed driver? - with the *buntus this is very easy.

I decided to go look - according to the readme that comes in the tarball, the source code is already in the kernel - it comes from the alsa project. In fact, your configure line is:

./configure --with-cards=hda-intel

We used to see sound quality issues with these chipsets, but they have pretty much cleared up in recent kernels.

So - it looks like you are doing far more work than you need to.

The main difference from the readme is that ubuntu relies more heavily on pulseaudio ... so alsamixer works but alsaconf does not. From all this, I feel I must strongly urge you to install the latest mainline kernel and see if there is any improvement that way.
 
  


Reply

Tags
audio, hd, ubuntu


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
installation errors with git during 'make' and 'make install' etheria Linux - Newbie 5 11-27-2009 11:38 AM
libogg not installing, make and make install don't give errors, but fail lilmike Linux - Newbie 6 11-14-2009 07:33 PM
LXer: Kernel Log: What's coming in 2.6.30 – Drivers: New drivers for audio, video, US LXer Syndicated Linux News 0 06-01-2009 04:30 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
ac97 audio drivers and rtl8139 drivers Julian2005 Linux - Hardware 5 02-16-2005 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 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