Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: LordWiccara on 11 May 2003, 22:01

Title: Sound Card Problem
Post by: LordWiccara on 11 May 2003, 22:01
Hello everybody, I know that this is an extremely ignorant question, but I'm sick of trying to figure it out:

I have a Aureal Vortex: Aztech with the 8820 chipset.  I found some drivers online, and they gave me instructions.  I tried it, and it did not work.  Heres what it would say:

[mike@pcp03617860pcs mike]$ cd aureal
[mike@pcp03617860pcs aureal]$ su
Password:
[root@pcp03617860pcs aureal]# make install20
make install AUCHIP=AU8820
make[1]: Entering directory `/home/mike/aureal'
cc -D__KERNEL__  -DMODULE -DAU8820 -mpentium  -O6 -fomit-frame-pointer -Wall -pipe -I/usr/src/linux/include   -c -o au_audio.o au_audio.c
make[1]: cc: Command not found
make[1]: *** [au_audio.o] Error 127
make[1]: Leaving directory `/home/mike/aureal'
make: *** [install20] Error 2
[root@pcp03617860pcs aureal]#

It will not install, and i cannot figure out what to do.  Thanks for your help/
Title: Sound Card Problem
Post by: flap on 11 May 2003, 22:09
Do you have gcc installed?
Type 'gcc'. if you get an error, you'll need to install it.
Title: Sound Card Problem
Post by: LordWiccara on 11 May 2003, 22:24
[mike@pcp03617860pcs mike]$ gcc
bash: gcc: command not found
[mike@pcp03617860pcs mike]$

i dont think so. ill install it and try again, thanks
Title: Sound Card Problem
Post by: LordWiccara on 11 May 2003, 22:28
Ok, I tried to instal the development tools to put GCC on my computer, and it gave me another error:

Packages Not Found

The following packages could not be found on your system.  Installation cannot continue until they are installed.
Unlocatable package     Required by
krb5-libs = 1.2.7-8     krb5-devel
openssl = 0.9.7a-2      openssl-devel
Title: Sound Card Problem
Post by: Fett101 on 11 May 2003, 23:14
Dependency hell. WHOOOOO.

Go download and install those files. www.rpmfind.net (http://www.rpmfind.net) is a good place to get pre-compiled software.
Title: Sound Card Problem
Post by: flap on 11 May 2003, 23:22
Anything that's required by GCC will be on your distribution's cds. Am I right in thinking you're using Red Hat? I imagine it should have some kind of package management tool that should resolve all this for you.
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 00:38
The drivers won't compile because you don't have gcc installed as the others wrote. Everything is there in your install CDs, propably under a category like "Development" or something. While you're at it, make sure that you install the kernel source as well.
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 00:43
Ok, I installed everything, and it STILL wont work.  It gives me a long list of errors (which are too long to post), and then quits.  Ill try the kernal thing.
Title: Sound Card Problem
Post by: Fett101 on 12 May 2003, 00:46
You could always post more then one post if you hit the forums limit.
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 00:46
Hmm, perhaps you need the kernel source as well. Sometimes, drivers need the kernel source and not just the headers to compile. Try that bit, and if you still get problems don't hesitate to ask again.    (http://smile.gif)

[ May 11, 2003: Message edited by: Panos ]

Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 01:07
ok, i installed the kernal source and even updated it.  still not working   :mad:
Title: Sound Card Problem
Post by: slave on 12 May 2003, 01:15
What distribution do you use?
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 01:16
Ret Hat Linux 9 Personal
Title: Sound Card Problem
Post by: flap on 12 May 2003, 01:43
post at least some of the error messages.
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 01:48
au_audio.c: At top level:
au_audio.c:1105: parse error before '*' token
au_audio.c: In function `au_handle_timer':
au_audio.c:1107: `wdev' undeclared (first use in this function)
au_audio.c:1107: `dev' undeclared (first use in this function)
au_audio.c:1108: `stream' undeclared (first use in this function)
au_audio.c:1121: warning: implicit declaration of function `wake_up_interruptible'
au_audio.c: At top level:
au_audio.c:64: storage size of `audio_fops' isn't known
make[1]: *** [au_audio.o] Error 1
make[1]: Leaving directory `/home/mike/aureal'
make: *** [install20] Error 2


it does a lot of that. but the last 3 lines are the quitting error.  i can post the whole string of errors in multiple posts if u want
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 02:01
Did you read thouroughly the ReadMe file that should have come with this package?
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 02:04
yes and here it is:

I have the 8820 card.


Installing the Driver
---------------------

1. Unpack the distribution:
tar xvzf aureal*.tar.gz

2. Change to the driver directory and become root:
cd aureal*
su

3. Edit the Makefile to suit your system (SMP, CPU type, etc)

4. Type the following install commands:

If you have an 8830-based (Vortex 2) card:
make install

If you have an 8820-based (Vortex 1) card:
make install20

If you have an 8810-based (Vortex Advantage) card:
make install10

There is no need to reboot.

Note: if you get "unresolved symbol" errors during the install,
rebuild your kernel with sound support (soundcore) built in
(not a module).
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 02:08
Looks ok. On a second read, the source of these errors seems to be the makefile itself. Strange.   :rolleyes:   Can you point me to the site you downloaded this driver from?
Title: Sound Card Problem
Post by: flap on 12 May 2003, 02:08
Do you have a file called under /usr/src called 'linux'?

If not do
ln -s /usr/src/linux2.4.x /usr/src/linux

where 'linux2.4.x' is the name of the directory under /usr/src where your kernel sources are.
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 02:11
He should have it if he installed the kernel source.
Title: Sound Card Problem
Post by: flap on 12 May 2003, 02:13
He won't necessarily have a link to it called 'linux'
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 02:16
Hmm, did you do what the 3rd instruction reads?

 
quote:
3. Edit the Makefile to suit your system (SMP, CPU type, etc)



The reason I'm bringing this up is because the last errors you quoted, look like a fault in the makefile. Hence, the parse errors.
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 02:16
I have 2 linux folders:
linux-2.4
linux-2.4.20-9

is that what u mean?
Title: Sound Card Problem
Post by: flap on 12 May 2003, 02:18
Yes, you should also have a link called 'linux'. Do what I suggested in the earlier post.
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 02:18
quote:
Originally posted by Panos:
Hmm, did you do what the 3rd instruction reads?

 

The reason I'm bringing this up is because the last errors you quoted, look like a fault in the makefile. Hence, the parse errors.



i did look at it, and it did not seem to need change...unless i have an SMP...which i dont know what it is.
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 02:27
I believe it stands for shared memory multiprocessor  something and no you don't need it. What else does the makefile read?

Before you reply do what flap suggested, that is create a symbolic link to your kernel source.
Title: Sound Card Problem
Post by: KernelPanic on 12 May 2003, 02:53
SMP = Symmetric Multiproccessing
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 02:55
quote:
Originally posted by Tux:
SMP = Symmetric Multiproccessing


My bad. Mind you though, english is not my first language.   :D
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 04:34
ok, im about to loose it here...i went to look refresh the browser, and linux went bezerk!  everything crashed, and when i reset, it all crashed again.  i got mad and reformatted and reinstalled linux as a workstation.  then i tried to reinstall the sound drivers AGAIN, and it still doesnt work.  the official drivers can be found: http://www.vortexofsound.com/drivers/drv_lnx.htm (http://www.vortexofsound.com/drivers/drv_lnx.htm)
the unofficial drivers can be found:
http://sourceforge.net/project/showfiles.php?group_id=8109&release_id=8434 (http://sourceforge.net/project/showfiles.php?group_id=8109&release_id=8434)

ive tried both.  also, how the hell do u install Wine, god damn thing is pissing me off...alot  :mad:
Title: Sound Card Problem
Post by: flap on 12 May 2003, 04:40
what happens now when you try and install the drivers?
what are you trying to install wine from? source?
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 04:47
quote:
Originally posted by flap:
what happens now when you try and install the drivers?

the same thing as before!
quote:
what are you trying to install wine from? source?


not the source, the binarys i think...i should try source again
Title: Sound Card Problem
Post by: flap on 12 May 2003, 04:51
Did you create the link to your kernel source directory in /usr/src?

How are you currently trying to install wine, and what's happening?
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 04:53
Ok, the link code thing didnt work, but i went into the /usr/src and there was a folder called Linux-2.4 and it had a green arrow on it...i looked at the properties and it said Link to Folder (or something along those lines)  is that what ur talking about.

i think i might be able to handle the Wine now, i think i figured it all out and thanks
Title: Sound Card Problem
Post by: flap on 12 May 2003, 04:57
Yes, but is there a link just called 'linux' in the /usr/src folder?

If not, type
ln -s /usr/src/linux-2.4.20-9 /usr/src/linux

then try and compile the driver again.
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 04:59
error!!!
[root@pcp03617860pcs root]# In -s /usr/src/linux-2.4.20-9 /usr/src/linux
bash: In: command not found
[root@pcp03617860pcs root]#
Title: Sound Card Problem
Post by: flap on 12 May 2003, 05:04
That's l as in lower-case L, not I.
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 05:09
As for Wine, I urge you to read Tux's excellent WineX FAQ (http://voidmain.is-a-geek.net/redhat/WineX2.html).

As for the soundcard drivers, I still believe that those errors were related somehow to the makefile included in the package.

If you're in a desperate need for a solution, perhaps Void Main could help more. (http://voidmain.is-a-geek.net/forums)   :rolleyes:
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 05:10
...stupid font...sorry

ok i did it, there is now a link, tried to recompile, but it still didnt work....now what
Title: Sound Card Problem
Post by: flap on 12 May 2003, 05:10
"Didn't work"? What happened?
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 05:12
it gave me the long list of errors that it always does  :(
Title: Sound Card Problem
Post by: flap on 12 May 2003, 05:13
Exactly the same list as before?
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 05:14
...im pretty sure, its a long list.  when it tried to compile, it had the same pattern
Title: Sound Card Problem
Post by: flap on 12 May 2003, 05:16
post the first few lines to be sure.
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 05:16
From the page you linked:

 
quote:

This driver has been tested on the following distributions:

    *Red Hat 6.0, kernel version 2.2.5-15.

    *Red Hat 6.1, kernel version 2.2.12-20.

    *Red Hat 6.1, kernel version 2.2.13.



Sorry to break this to you but this is OLD! We're talking about the 2.2.* kernel here and you're using 2.4.20. In a few words don't expect the drivers to compile.

Also, the SourceForge project looks dead. The latest files they released were in January 2001.    :eek:

[ May 11, 2003: Message edited by: Panos ]

Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 05:18
damn, i thought it was backwards compatible....ill begin looking for another driver (new)  thanks
Title: Sound Card Problem
Post by: Pantso on 12 May 2003, 05:22
quote:
Originally posted by MichaelSoft:
damn, i thought it was backwards compatible....ill begin looking for another driver (new)  thanks


That would certainly be convenient.   :(  I had an issue as well with a softmodem's drivers that wouldn't compile with gcc version 3.x compiler.   :rolleyes:
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 05:29
thanks for everybodys help.  im going to start looking for a new sound card, probable soundbalster, because this one has always given me a lot of trouble...even in windows (then again, everything game me trouble).  jsut 1 more question:  where does  Wine install to (using the binary distribution)  thanks
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 06:09
ok, i bought a new sound card already, and i made sure its compatible with ret hat linux 9 so i think im all set with the sound...now to work on Wine...blah
Title: Sound Card Problem
Post by: Fett101 on 12 May 2003, 06:22
quote:
Originally posted by MichaelSoft:
i think im all set with the sound...now to work on Wine...blah


Welcome to Linux.
Title: Sound Card Problem
Post by: slave on 12 May 2003, 06:35
Hey, I'd like to see you easily compile device drivers under Windows!
Title: Sound Card Problem
Post by: LordWiccara on 12 May 2003, 07:31
haha, u couldnt, but i never had to compile them, it was just a bitch getting the right ones and configuring them correctly
Title: Sound Card Problem
Post by: Fett101 on 12 May 2003, 08:14
I don't have to compile anything for Windows Bill made sure of that.
Title: Sound Card Problem
Post by: KernelPanic on 12 May 2003, 13:15
What soundcard did you get?
Title: Sound Card Problem
Post by: Calum on 12 May 2003, 13:51
quote:
Originally posted by fett101:
I don't have to compile anything for Windows Bill made sure of that.


yeah, by denying you the source code so you couldn't recompile if you wanted to. of course this only becomes an issue when something fails to work, which according to you is a rare occurence in mswindows, something i am very loath to believe is true.
Title: Sound Card Problem
Post by: Fett101 on 13 May 2003, 04:27
Actually, I can't install XP with my Visiontek Geforce2. I have to kidnap a video card from somewhere elso, and then install the geforce after XP is installed.
Title: Sound Card Problem
Post by: LordWiccara on 13 May 2003, 05:28
quote:
Originally posted by Tux:
What soundcard did you get?


Creative Labs Soundblaster 128 PCI

it should be here soon  (http://smile.gif)
Title: Sound Card Problem
Post by: LordWiccara on 13 May 2003, 05:55
quote:
Originally posted by Calum: hopelessly outnumbered:


yeah, by denying you the source code so you couldn't recompile if you wanted to. of course this only becomes an issue when something fails to work, which according to you is a rare occurence in mswindows, something i am very loath to believe is true.



haha, trust me, i had a great deal of driver/device errors that couldnt be corrected.  i dont think that its a rare occurance in Win, it happens all the damn time.
Title: Sound Card Problem
Post by: Pantso on 13 May 2003, 14:59
quote:
Originally posted by MichaelSoft:


Creative Labs Soundblaster 128 PCI

it should be here soon   (http://smile.gif)  



Don't worry. That one is definitely compatible. You don't even have to do anything, I believe, to set it up.   (http://smile.gif)
Title: Sound Card Problem
Post by: LordWiccara on 13 May 2003, 19:01
yea, the linux box said that it was compatible so i got one cheap...$10.99.  im glad that i dont have to worry about setting it up  :cool:   thanks.
Title: Sound Card Problem
Post by: KernelPanic on 13 May 2003, 19:09
That soundcard should be picked up andsetup automatically
for oyu, depending on which distro you are using.
Worst case scenario is that it isn't, in this
you would need to manually load the driver with
'modprobe emu10k1' as root and set your mixer levls with
kmix of something of that ilk.

But I think you are using RH9? so it should be
a smooth automatic process.
Title: Sound Card Problem
Post by: LordWiccara on 14 May 2003, 05:20
...sweet
Title: Sound Card Problem
Post by: emh on 15 May 2003, 03:13
Actually, the Soundblaster 128 PCI uses the es1371 or the ens1371 driver, not the emu10k1 driver.  That one is for the Soundblaster Live.

Not that you need to know this, MichaelSoft.  Your card should be picked up and activated automatically.
Title: Sound Card Problem
Post by: KernelPanic on 15 May 2003, 13:48
quote:
Originally posted by emh:
Actually, the Soundblaster 128 PCI uses the es1371 or the ens1371 driver, not the emu10k1 driver.  That one is for the Soundblaster Live.

Not that you need to know this, MichaelSoft.  Your card should be picked up and activated automatically.



My bad