LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-12-2003, 02:38 PM   #1
Neo X1
LQ Newbie
 
Registered: Jul 2003
Location: Ova Here
Distribution: Red Hat
Posts: 8

Rep: Reputation: 0
CMaudio Driver Install


I'm running Red Hat on my computer and I have the MSI Neo2 motherboard with integrated sound. I downloaded the sound drivers and I'm having trouble installing them.

Here's what the readme says word for word (even that little mispelling, which makes me very nervous )
Quote:
Step 1. Unzip source code
tar xzf cmaudio-034.tar.gz

Step 2. Turn on sound support (soundcore module)

Step 3. Complied source code
make
make install

Step 4. Edit your /etc/modules.conf or conf.modules depending on the Distribution
alias sound-slot-0 cmaudio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

Step 5. reboot your machine
I have NO idea where the soundcore module is other than the directory with sound drivers.

If I try to go ahead and do a make I get this message
Quote:
$ make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -c -o main.o main.c
make: cc: Command not found
make: *** [main.o] Error 127
 
Old 08-12-2003, 04:21 PM   #2
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
if you run "gcc --version", what output do you get?
 
Old 08-12-2003, 04:38 PM   #3
Neo X1
LQ Newbie
 
Registered: Jul 2003
Location: Ova Here
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
command not found
 
Old 08-12-2003, 04:42 PM   #4
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Well, this means that gcc is not installed, so you have to do this. Just do it with your Mandrake utility. Then, try it again.
Good luck
 
Old 08-12-2003, 04:46 PM   #5
Neo X1
LQ Newbie
 
Registered: Jul 2003
Location: Ova Here
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
I'm running Red Hat. I need to change that in my profile...

Edit: BTW, what is GCC because I'm trying to install it but I have no idea which section of the package installer its under. There was a search feature in Mandrake...

Last edited by Neo X1; 08-12-2003 at 04:49 PM.
 
Old 08-12-2003, 04:52 PM   #6
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
I just found this:
http://www.linuxquestions.org/questi...002/11/3/35470
You know how to install an rpm from console do you?
 
Old 08-12-2003, 04:57 PM   #7
Neo X1
LQ Newbie
 
Registered: Jul 2003
Location: Ova Here
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
Well, I went to that link and went browsing the CD as that person did. I found 3 files with GCC in their names and all 3 gave me the message that they were already installed.
 
Old 08-12-2003, 05:07 PM   #8
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
I don't know whether this is the right thing to do next, but here we go:
Try locating the gcc file, what I'm actually looking for is the binary. If I type which gcc, it gives me /usr/bin/gcc. You gonna have command not found or something.
Once you have located the binary, it must be somewhere it can be executed. If you run "echo $PATH", you'll get a list of directories in which the system looks for binaries. If the path to your gcc isn't listed there, you have to add to this variable the path to your gcc binary (I'm just thinking of it, this can't be right - but give it a try)
Good luck
 
Old 08-12-2003, 05:19 PM   #9
Neo X1
LQ Newbie
 
Registered: Jul 2003
Location: Ova Here
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
I have gcc296 in my /user/bin and that's one of the places that came up when i ran that command
 
Old 08-13-2003, 05:18 AM   #10
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
All right - what I would do then:
1. Log in as root
2. cd /usr/bin
3. ln -sf gcc296 gcc
4. ln -sf gcc296 cc
5. Try to recompile your driver
 
Old 08-13-2003, 09:21 PM   #11
Neo X1
LQ Newbie
 
Registered: Jul 2003
Location: Ova Here
Distribution: Red Hat
Posts: 8

Original Poster
Rep: Reputation: 0
Ok did that. It seems to have fixed one problem, but now there's a different error message.

$ make
cc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -c -o main.o main.c
In file included from cmaudio.h:7,
from main.c:1:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from main.c:1:
cmaudio.h:18:30: linux/ac97_codec.h: No such file or directory
In file included from main.c:1:
cmaudio.h:20:25: asm/uaccess.h: No such file or directory
cmaudio.h:21:25: asm/hardirq.h: No such file or directory
make: *** [main.o] Error 1
 
Old 08-14-2003, 02:40 AM   #12
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
It looks like it is looking forthe linux kernel headers, which you obvously have not installed. Check your Redhat CD for them and install them as well. The rpm could be called kernel-headers....rpm or linux-headers.....rpm, redhat-headers or anything like that. They do not have any dependencies
These are files required to install drivers - they get stored under /usr/include/linux or /usr/include/asm etc. Without them, you can't comile anything that requires a call to a kernel function.
 
  


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
Error when trying to install iBurst driver (ib-driver 2.6) on SUSE 9.3 daysleeper Linux - Hardware 2 09-06-2005 09:55 AM
ATI Driver prob: Black screen after driver install linuxboynz Linux - Laptop and Netbook 2 10-19-2004 03:52 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-11-2004 12:58 AM
Compiling Cmaudio drivers b3nji Linux - Hardware 2 04-23-2004 11:11 AM
nvidia driver wont install (suse 8.2_ftp install) splintah Linux - Newbie 1 10-06-2003 04:03 PM

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

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