Re: Sound Blaster Audigy 2 in Debian Sarge
Scott C. Linnenbringer wrote:
> The process is rather simple: just read the README in the emu10k1-cvs
> archive, and make sure you have the kernel headers/source for your
> kernel. Otherwise it's a straight compile, install and then module load.
>
> http://sourceforge.net/cvs/?group_id=44773
>
>
Scott,
I have loaded the emu10k1-cvs , installed the kernel sources and headers for
my kernel version from the install-DVD, and tried to follow the process in
the README inside the emu10k1-dir, but following things happened:
debian-sarge:~# cd /home/axel/emu10k1
debian-sarge:/home/axel/emu10k1# make
make -Cscripts
make[1]: Entering directory `/home/axel/emu10k1/scripts'
/lib/modules/2.4.22-bf2.4/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.4.22-bf2.4, the source code
should
be for this version.
make[1]: *** [get_version] Error 1
make[1]: Leaving directory `/home/axel/emu10k1/scripts'
make: *** [opts] Error 2
debian-sarge:/home/axel/emu10k1#
OK, I have set /usr/src/ for I have it there as: "kernel-source-2.4.22":
# Driver build options
KERNEL_SOURCE :=/usr/src/`uname -r`/build
DEBUG := n
SEQUENCER_SUPPORT := n
# say no unless you need to use the dbgemu tool,
# note that this allows users raw access to any register
# it should not be used in a normal driver.
DBGEMU := n
export KERNEL_SOURCE
Result was :
debian-sarge:/home/axel/emu10k1# make
make -Cscripts
make[1]: Entering directory `/home/axel/emu10k1/scripts'
/usr/src/2.4.22-bf2.4/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.4.22-bf2.4, the source code
should
be for this version.
make[1]: *** [get_version] Error 1
make[1]: Leaving directory `/home/axel/emu10k1/scripts'
make: *** [opts] Error 2
OK, I renamed the dir "kernel-source-2.4.22" to "2.4.22-bf2.4" as the Config
seems to expect precisely that...
Result still:
debian-sarge:/home/axel/emu10k1# make
make -Cscripts
make[1]: Entering directory `/home/axel/emu10k1/scripts'
/usr/src/2.4.22-bf2.4/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.4.22-bf2.4, the source code
should
be for this version.
make[1]: *** [get_version] Error 1
make[1]: Leaving directory `/home/axel/emu10k1/scripts'
make: *** [opts] Error 2
Now, there IS no build directory ! It didn't came with apt-get for my
source...
What is going wrong ?
rgds
Axel
Reply to: