LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-14-2003, 11:21 PM   #1
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Rep: Reputation: 15
Problems "making" emu10k1 driver


I can't seem to get the emu10k1 drivers installed.

My info:

Mandrake 9.0
Soundblaster Audigy
No option to turn PnP in OSs in the bios

Heres the proccess I went through when I tried to install the drivers:

1)Untarred/gzipped contents of emu10k1-v0.20a.tar.gz
2)cd to emu10k1-v20a and I typed "make"
3)I get the following error:

make: *** No rule to make target `/usr/src/linux-2.4.18-14/include/linux/modversions.h', needed by `audio.o'. Stop.

4)When this occured, I changed the 'KERNEL_SOURCE :=' line in the 'config' file in the emu10k1-v020a directory to read:

KERNEL_SOURCE :=/usr/src/linux (points to my actual kernel source directory)

5)I try to run make again in the drivers directory and it still gives me the same error. It keeps looking in the wrong place (which doesn't even exist I might add) for my kernel source. I checked for the above file, "modversions.h", and it does exist. My kernel version is linux-2.4.19-16mdk, NOT linux-2.4.18-14.

Thanks for any help. I appoligize for the huge post, but I want to provide as much information about my problem as possible.
 
Old 01-14-2003, 11:36 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
I've never built that package, but the norm is to run a ./configure script that tells the makefile how to build for your system/setup.

Anything like that in the README or INSTALL files where you unpacked the source?
 
Old 01-14-2003, 11:46 PM   #3
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mcleodnine
I've never built that package, but the norm is to run a ./configure script that tells the makefile how to build for your system/setup.

Anything like that in the README or INSTALL files where you unpacked the source?
Nope, no ./configure command mentioned. The instructions are:

make (I think to configure the drivers)
make (to actually compile the drivers)
make install (install the drivers)
Add 'alias sound emu10k1' to the end of /etc/modules.conf

strange but these are the install instructions in the readme file. I've gotten all the way to the make install part in rh8.0 so i know this is the way it's suppost to be.

NOTE- I had problems getting the driver to work in rh8.0, this is why i switched to mandrake 9.0.

Last edited by Comreak; 01-14-2003 at 11:49 PM.
 
Old 01-15-2003, 12:51 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I think you may need the kernel headers installed to compile the emu10k1 driver. Check if you have a bunch of files in the /usr/include/linux directory that end with ".h"
 
Old 01-15-2003, 02:26 AM   #5
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Original Poster
Rep: Reputation: 15
Yep, a whole bunch are there.
 
Old 01-15-2003, 03:36 AM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I just had a thought, the emu10k1 driver is pretty common (everyone and their dog has a soundblaster) and it seems to me that Mandy should have it out of the box. Perhaps you should check if it isn't installed already...

try 'find emu10k1.o' or 'locate emu10k1.o' and if you find you have it add something like "alias /dev/dsp emu10k1" to modules.conf

just a thought...
 
Old 01-15-2003, 05:29 AM   #7
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the help.

The emu10kx driver appears to have been built into the kernel. I downloaded the tools from opensource.creative.com and they work. I also downloaded audigy-script and emu10k1.conf from here:

http://www.basic-rip.co.uk/tenpin/linux_audigy_faq.html

I replaced the current versions of these files in /usr/local/etc/ with the ones from the above site. The sound quality (my original reason for wanting to compile the drivers from the opensource.creative.com site) increased a little and it's a bit more tolerable. The sound by default sounds a tad bit crappy (cracking, delays, etc.). This seems to be working, for now.

I have another question: I did a search for that file you listed using the 'locate' command and these were my only results:

/lib/modules/2.4.19-16mdk/kernel/drivers/sound/emu10k1/emu10k1.o.gz
/lib/modules/2.4.19-16mdk/kernel/sound/pci/emu10k1/snd-emu10k1.o.gz

Doesn't the '.gz' portion mean they're gzipped? What do you think I should do with these?





Sorry, just had to throw that in.
 
Old 01-15-2003, 06:50 AM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Yeh, it means they are compressed. Perhaps Mandrake uncompresses them on-the-fly when needed. Who knows? I run RedHat, and my emu10k1.o is in the same directory, but isn't compresed.

Maybe someone else knows...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
k3b: "error decoding audio tracks" and "could not unlock cd driver" lefty.crupps Linux - Software 7 10-13-2005 12:29 PM
problems with the "make" part, wlan driver hyssing_ Linux - Newbie 7 08-20-2005 05:55 PM
how can i change my vga driver from "vesa" to "savage" mojarron Slackware - Installation 1 03-25-2005 12:03 AM
how can i change my vga driver from "vesa" to "savage" mojarron Slackware 1 03-24-2005 08:16 AM
suse ati driver "Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing" madcow007 Linux - Hardware 0 03-06-2004 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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