This file is shared

MainSite

Wiki

Bugs

Download

Translations

CompileSBLive

03 June 2008, 05:15

Hello. I am using a Sound Blaster Live 5.1 Sound Card. According to the list, http://www.fsf.org/resources/hw/soundcards, the emu10k1 driver should enable sound for me. The removal of the non-free module nocked out mine sound to spite the fact that my card is shown on this list to be compatible with Free Software Drivers. When posting the question concerning this, I was informed that some sound drivers need to be compiled from source. I am still rather new to Free Software, and have only been using it about a year. As such, compiling from source is still a rather new concept for me. With help I was able to compile Wormux 0.8 Stable from source. I was waundering if someone could lay out a guide on where to find and how to compile the source code needed to get a Sound Blaster Live 5.1 running using only Free Software. Thank you very much for your time, and I hope you have a nice night.

03 June 2008, 05:24

I have downloaded the driver emu10k1-v020a.

I have tried ./configure and it did nothing.

I tried reading the INSTALL file and it told me to read the README file in the docs folder.

The best I can yet get it to type make twice. This is what it outputs.

saz@Insane_O_Flex:~/Desktop/emu10k1-v0.20a$ make make -Cscripts make[1]: Entering directory `/home/saz/Desktop/emu10k1-v0.20a/scripts'

/lib/modules/2.6.24-16-386/build directory does not exist. Please edit the file 'config' in this directory and set KERNEL_SOURCE to the correct location of your kernel source.

You are currently running kernel version 2.6.24-16-386, the source code should be for this version.

make[1]: *** [get_version] Error 1 make[1]: Leaving directory `/home/saz/Desktop/emu10k1-v0.20a/scripts' make: *** [opts] Error 2 saz@Insane_O_Flex:~/Desktop/emu10k1-v0.20a$ make make -Cscripts make[1]: Entering directory `/home/saz/Desktop/emu10k1-v0.20a/scripts'

/lib/modules/2.6.24-16-386/build directory does not exist. Please edit the file 'config' in this directory and set KERNEL_SOURCE to the correct location of your kernel source.

You are currently running kernel version 2.6.24-16-386, the source code should be for this version.

make[1]: *** [get_version] Error 1 make[1]: Leaving directory `/home/saz/Desktop/emu10k1-v0.20a/scripts' make: *** [opts] Error 2 saz@Insane_O_Flex:~/Desktop/emu10k1-v0.20a$

Thank you for your time and help.

kusut03 June 2008, 09:44

i might be wrong.

i think make cant found a directory in your kernel source. this could be 1)you dont have the kernel source, 2)you have but in a different version(check it with uname -a)

while we waiting for more knowledgeable members, try this:

sudo apt-get install ld10k1

ld10k1 is ALSA emu10k1/2 patch loader

03 June 2008, 20:49

When I type "apt-get install ld10k1" I get the fallowing.

saz@Insane_O_Flex:~$ sudo apt-get install ld10k1 sudo: unable to resolve host Insane_O_Flex Reading package lists... Done Building dependency tree Reading state information... Done ld10k1 is already the newest version. The following packages were automatically installed and are no longer required:

  libboost-date-time1.34.1 libxml++2.6c2a libcegui-mk2-1 libcegui-mk2-dev
  libxerces27 libdevil1c2 libxerces27-dev

Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. saz@Insane_O_Flex:~$

When I type "uname -a" I get the fallowing.

saz@Insane_O_Flex:~$ uname -a Linux Insane_O_Flex 2.6.24-16-386 #1 Sun Apr 27 17:23:02 UTC 2008 i686 GNU/Linux saz@Insane_O_Flex:~$

I went into Synaptic Package Manager and installed linux-source installed version 2.6.24.16.18 and linux-source-2.6.24 installed version 2.6.24-16.30gnewsense6. That was before I tried "make."

Thank you for your time and help.

05 June 2008, 20:59

I'm guessing what I got before means that ld10k is already the newest version, as it says, and that is why nothing was installed.

The "uname-a" command gave me 2.6.24-16-386 #1. While I have installed "linux-source" "installed version 2.6.24.16.18" and "linux-source-2.6.24" "installed version 2.6.24-16.30gnewsense6." It seems as though the match to the 2.6.24.16 part, then differ beyound that.

What should I do from here? Thank you very much for your time and help.

10 June 2008, 02:35

saz@tree:~$ cd Desktop saz@tree:~/Desktop$ ls emu10k1-v0.20a emu10k1-v0.20a.tar.bz2 emu-tools-0.9.4.tar.gz saz@tree:~/Desktop$ <strong>sudo apt-get build-dep appname</strong> bash: syntax error near unexpected token `newline' saz@tree:~/Desktop$ <strong>sudo apt-get build-dep emu10k1</strong> bash: syntax error near unexpected token `newline' saz@tree:~/Desktop$ strong sudo apt-get build-dep emu10k1 /strong bash: strong: command not found saz@tree:~/Desktop$ sudo apt-get build-dep emu10k1 [sudo] password for saz: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for emu10k1 saz@tree:~/Desktop$ sudo apt-get build-dep emu10k1-v0.20a Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for emu10k1-v0.20a saz@tree:~/Desktop$ cd emu10k1-v0.20a saz@tree:~/Desktop/emu10k1-v0.20a$ ./configure bash: ./configure: No such file or directory saz@tree:~/Desktop/emu10k1-v0.20a$ make make -Cscripts make[1]: Entering directory `/home/saz/Desktop/emu10k1-v0.20a/scripts'

/lib/modules/2.6.24-18-386/build directory does not exist. Please edit the file 'config' in this directory and set KERNEL_SOURCE to the correct location of your kernel source.

You are currently running kernel version 2.6.24-18-386, the source code should be for this version.

make[1]: *** [get_version] Error 1 make[1]: Leaving directory `/home/saz/Desktop/emu10k1-v0.20a/scripts' make: *** [opts] Error 2 saz@tree:~/Desktop/emu10k1-v0.20a$ sudo make install cc -M audio.c cardmi.c cardmo.c cardwi.c cardwo.c efxmgr.c emuadxmg.c hwaccess.c irqmgr.c main.c midi.c mixer.c recmgr.c timer.c voicemgr.c ecard.c passthrough.c > .depend audio.c:34:26: error: linux/module.h: No such file or directory audio.c:36:24: error: linux/slab.h: No such file or directory audio.c:38:26: error: linux/bitops.h: No such file or directory audio.c:39:20: error: asm/io.h: No such file or directory audio.c:41:28: error: linux/smp_lock.h: No such file or directory audio.c:42:27: error: linux/wrapper.h: No such file or directory In file included from audio.c:45: hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardwo.h:38,

                 from audio.c:46:

timer.h:31:29: error: linux/interrupt.h: No such file or directory cardmi.c:33:24: error: linux/slab.h: No such file or directory In file included from cardmi.c:36: hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardmi.c:38: cardmi.h:37:29: error: linux/interrupt.h: No such file or directory cardmo.c:33:24: error: linux/slab.h: No such file or directory In file included from cardmo.c:35: hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardmo.c:37: cardmo.h:37:29: error: linux/interrupt.h: No such file or directory In file included from cardwi.c:33: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardwi.c:34: timer.h:31:29: error: linux/interrupt.h: No such file or directory In file included from cardwo.c:33: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardwo.h:38,

                 from cardwo.c:36:

timer.h:31:29: error: linux/interrupt.h: No such file or directory efxmgr.c:32:26: error: linux/bitops.h: No such file or directory In file included from efxmgr.c:33: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from emuadxmg.c:33: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory hwaccess.c:33:20: error: asm/io.h: No such file or directory In file included from hwaccess.c:35: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from irqmgr.c:32: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from irqmgr.c:34: cardmi.h:37:29: error: linux/interrupt.h: No such file or directory main.c:91:26: error: linux/module.h: No such file or directory main.c:92:24: error: linux/slab.h: No such file or directory main.c:93:24: error: linux/init.h: No such file or directory main.c:94:25: error: linux/delay.h: No such file or directory main.c:95:27: error: linux/proc_fs.h: No such file or directory In file included from main.c:97: hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardwo.h:38,

                 from main.c:100:

timer.h:31:29: error: linux/interrupt.h: No such file or directory midi.c:33:26: error: linux/module.h: No such file or directory midi.c:35:24: error: linux/slab.h: No such file or directory midi.c:38:28: error: linux/smp_lock.h: No such file or directory midi.c:39:25: error: asm/uaccess.h: No such file or directory In file included from midi.c:41: hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from midi.c:42: cardmo.h:37:29: error: linux/interrupt.h: No such file or directory mixer.c:34:26: error: linux/module.h: No such file or directory mixer.c:36:25: error: asm/uaccess.h: No such file or directory In file included from mixer.c:39: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardwi.h:36,

                 from recmgr.h:36,
                 from mixer.c:41:

timer.h:31:29: error: linux/interrupt.h: No such file or directory recmgr.c:32:23: error: asm/delay.h: No such file or directory In file included from recmgr.h:35,

                 from recmgr.c:34:

hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardwi.h:36,

                 from recmgr.h:36,
                 from recmgr.c:34:

timer.h:31:29: error: linux/interrupt.h: No such file or directory In file included from timer.c:31: hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from timer.c:34: timer.h:31:29: error: linux/interrupt.h: No such file or directory In file included from voicemgr.h:35,

                 from voicemgr.c:32:

hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from ecard.h:30,

                 from ecard.c:32:

hwaccess.h:40:24: error: linux/slab.h: No such file or directory hwaccess.h:42:20: error: asm/io.h: No such file or directory hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from ecard.c:32: ecard.h:31:24: error: linux/init.h: No such file or directory passthrough.c:33:26: error: linux/module.h: No such file or directory passthrough.c:35:24: error: linux/slab.h: No such file or directory passthrough.c:37:26: error: linux/bitops.h: No such file or directory passthrough.c:38:20: error: asm/io.h: No such file or directory passthrough.c:40:28: error: linux/smp_lock.h: No such file or directory passthrough.c:41:27: error: linux/wrapper.h: No such file or directory In file included from passthrough.c:43: hwaccess.h:43:25: error: emu_wrapper.h: No such file or directory In file included from cardwo.h:38,

                 from passthrough.c:44:

timer.h:31:29: error: linux/interrupt.h: No such file or directory make: *** [.depend] Error 1 saz@tree:~/Desktop/emu10k1-v0.20a$

Also, the Linux Source is Installed, but I do not know what to do with it.

10 June 2008, 18:37

bump

11 June 2008, 02:43

bump

You must be logged in to post.

Edit - History - Print - Recent Changes - Search
Page last modified on June 11, 2008, at 02:43 AM
Content is licensed under the GFDL (without invariant sections).
This project is run with the assistance of the FSF.