LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   alsa-driver-0.5.12a instal help (https://www.linuxquestions.org/questions/linux-newbie-8/alsa-driver-0-5-12a-instal-help-40321/)

withdraw 01-04-2003 07:21 PM

alsa-driver-0.5.12a instal help
 
im having trouble installing ALSA, i extract it into a dir then i run ./configure
then
make install
then i get an error

any type of help would be very much appreciated thanks


[withdraw@deadrat withdraw]$ cd alsa-driver-0.5.12a
[withdraw@deadrat alsa-driver-0.5.12a]$ ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 0.0.0
checking for kernel module symbol versions... no
checking for PCI support in kernel... no
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for debug level... none
checking for processor type... unknown
checking for SMP... no
checking for ISA PnP driver in kernel... no
checking for ISA PnP support... yes
checking for old kill_fasync... yes
checking for dma_addr_t... yes
checking for MUTEX macros... no
checking for driver version... 0.5.12a
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for which soundcards to compile driver for... all
creating ./config.status
creating Makefile.conf
creating snddevices
creating utils/alsa-driver.spec
creating cards.config
creating include/config.h
include/config.h is unchanged
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged
[withdraw@deadrat alsa-driver-0.5.12a]$ make install
make dep
make[1]: Entering directory `/home/withdraw/alsa-driver-0.5.12a'
make[2]: Entering directory `/home/withdraw/alsa-driver-0.5.12a/kernel'
rm -f ../include/modules/pcm_lib.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ pcm_lib.c | /sbin/genksyms -k 0.0.0 > ../include/modules/pcm_lib.ver
Usage:
genksyms [-dDwqhV] [-k kernel_version] [-p prefix] > .../linux/module/*.ver

-d, --debug Increment the debug level (repeatable)
-D, --dump Dump expanded symbol defs (for debugging only)
-w, --warnings Enable warnings
-q, --quiet Disable warnings (default)
-h, --help Print this message
-V, --version Print the release version
-k ver
--kernel ver Set the kernel version for which we are compiling
-p string
--prefix string Set a mangling prefix for all symbols
make[2]: *** [../include/modules/pcm_lib.ver] Error 1
make[2]: Leaving directory `/home/withdraw/alsa-driver-0.5.12a/kernel'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/withdraw/alsa-driver-0.5.12a'
make: *** [include/sndversions.h] Error 2
[withdraw@deadrat alsa-driver-0.5.12a]$

niknah 01-04-2003 07:41 PM

It seems to have gotten the wrong kerenl version, do you have the linux kernel source in /usr/src/linux?
andyou may need to configure the kernel and start to make it too for some of the headers to be created.

withdraw 01-04-2003 08:56 PM

i dont know what kernel ver i have, i think i have the kernel source /usr/src/linux-2.4, /usr/src/linux-2.4.18-14, /usr/src/redhat (i dont know which) i dont know how to config the kernel and i dont understand the rest. i would appreciated it if u could walk me through it because im a newbie.:newbie: :newbie:

niknah 01-05-2003 02:03 AM

type...
ln -s /usr/src/linux-2.4 /usr/src/linux

also check that there's a "/usr/src/linux-2.4/include" directory with files in it

withdraw 01-05-2003 03:52 AM

umm i have another problem the make install thing works but in the next step where you run 'modprobe snd-card-xxxx' where xxxx is the name of your card, when i do that i get

[withdraw@deadrat withdraw]$ modprobe snd-card-i810
bash: modprobe: command not found
[withdraw@deadrat withdraw]$


All times are GMT -5. The time now is 06:52 PM.