Hi,
I have a 2.4.2 kernel running in my comp. I tried to install the ALSA drivers 
(version 0.4.0) in my comp which failed (please refer the 'makeinstall' file 
for details of the same). I have an ALS 4000 chipset soundcard for which I am 
desperately serching for linux drivers. Kindly help me out.

Sriram

[root@localhost alsa-driver-0.4.0]# ./configure --with-isapnp=yes
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... 2.4.2
checking for kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/2.4.2/misc
checking for debug level... none
checking for processor type... i686
checking for SMP... yes
checking for ISA PnP driver in kernel... yes
checking for ISA PnP support... yes
checking for driver version... 0.4.0
checking for sequencer support... no
checking for OSS/Lite 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
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged

[root@localhost alsa-driver-0.4.0]# ./configure --with-isapnp=yes --with-debug=full
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... 2.4.2
checking for kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for SGI/MIPS (HAL2) architecture... no
checking for directory to store kernel modules... /lib/modules/2.4.2/misc
checking for debug level... full
checking for processor type... i686
checking for SMP... yes
checking for ISA PnP driver in kernel... yes
checking for ISA PnP support... yes
checking for driver version... 0.4.0
checking for sequencer support... no
checking for OSS/Lite 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
creating include/config1.h
include/config1.h is unchanged
creating include/version.h
include/version.h is unchanged
[root@localhost alsa-driver-0.4.0]# make install
make[1]: Entering directory `/usr/src/alsa-driver-0.4.0/support'

Support code were sucessfully compiled.

make[1]: Leaving directory `/usr/src/alsa-driver-0.4.0/support'
make[1]: Entering directory `/usr/src/alsa-driver-0.4.0/kernel'
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ persist.c | 
/sbin/genksyms -k 2.4.2 -p smp_ > ../include/modules/persist.ver
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ sound.c | 
/sbin/genksyms -k 2.4.2 -p smp_ > ../include/modules/sound.ver
sound.c:272:17: warning: pasting "(" and ""snd_ioctl_in: bad address 0x%lx\n"" does 
not give a valid preprocessing token
sound.c:272:17: warning: pasting ""snd: "" and ""snd_ioctl_in: bad address 0x%lx\n"" 
does not give a valid preprocessing token
sound.c:526:17: warning: pasting ""snd: "" and ""unable to register native major 
device number %d\n"" does not give a valid preprocessing token
sound.c:596:17: warning: pasting ""snd: "" and ""unable to unregister major device 
number %d\n"" does not give a valid preprocessing token
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ mixer.c | 
/sbin/genksyms -k 2.4.2 -p smp_ > ../include/modules/mixer.ver
mixer.c:468:17: warning: pasting "(" and ""mixer - element list remove failed (1), dst 
= '%s', index = %i, type = %i\n"" does not give a valid preprocessing token
mixer.c:468:17: warning: pasting ""snd: "" and ""mixer - element list remove failed 
(1), dst = '%s', index = %i, type = %i\n"" does not give a valid preprocessing token
mixer.c:470:17: warning: pasting "(" and ""mixer - element list remove failed (2), src 
= '%s', index = %i, type = %i\n"" does not give a valid preprocessing token
mixer.c:470:17: warning: pasting ""snd: "" and ""mixer - element list remove failed 
(2), src = '%s', index = %i, type = %i\n"" does not give a valid preprocessing token
mixer.c:672:9: warning: pasting "(" and ""element_remove: element '%s',%i,%i is not in 
group '%s',%i\n"" does not give a valid preprocessing token
mixer.c:672:9: warning: pasting ""snd: "" and ""element_remove: element '%s',%i,%i is 
not in group '%s',%i\n"" does not give a valid preprocessing token
mixer.c:688:9: warning: pasting "(" and ""element_remove: element '%s',%i,%i is not in 
group '%s',%i (2)\n"" does not give a valid preprocessing token
mixer.c:688:9: warning: pasting ""snd: "" and ""element_remove: element '%s',%i,%i is 
not in group '%s',%i (2)\n"" does not give a valid preprocessing token
mixer.c:1328:17: warning: pasting ""snd: "" and ""cannot store mixer settings - no 
enough memory\n"" does not give a valid preprocessing token
mixer.c:1340:17: warning: pasting "(" and ""cannot store mixer switch settings\n"" 
does not give a valid preprocessing token
mixer.c:1340:17: warning: pasting ""snd: "" and ""cannot store mixer switch 
settings\n"" does not give a valid preprocessing token
mixer.c:1365:17: warning: pasting ""snd: "" and ""cannot restore mixer settings: no 
enough memory\n"" does not give a valid preprocessing token
mixer.c:1371:17: warning: pasting "(" and ""cannot restore mixer settings\n"" does not 
give a valid preprocessing token
mixer.c:1371:17: warning: pasting ""snd: "" and ""cannot restore mixer settings\n"" 
does not give a valid preprocessing token
mixer.c:1377:17: warning: pasting "(" and ""cannot restore mixer settings: discording 
id\n"" does not give a valid preprocessing token
mixer.c:1377:17: warning: pasting ""snd: "" and ""cannot restore mixer settings: 
discording id\n"" does not give a valid preprocessing token
mixer.c:1383:17: warning: pasting "(" and ""cannot restore mixer settings: discording 
name\n"" does not give a valid preprocessing token
mixer.c:1383:17: warning: pasting ""snd: "" and ""cannot restore mixer settings: 
discording name\n"" does not give a valid preprocessing token
mixer.c:1390:17: warning: pasting "(" and ""cannot restore mixer switch settings\n"" 
does not give a valid preprocessing token
mixer.c:1390:17: warning: pasting ""snd: "" and ""cannot restore mixer switch 
settings\n"" does not give a valid preprocessing token
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ pcm.c | 
/sbin/genksyms -k 2.4.2 -p smp_ > ../include/modules/pcm.ver
pcm.c:327:17: warning: pasting ""snd: "" and ""cannot store pcm settings - no enough 
memory\n"" does not give a valid preprocessing token
pcm.c:340:17: warning: pasting ""snd: "" and ""cannot store pcm playback switch 
settings\n"" does not give a valid preprocessing token
pcm.c:348:17: warning: pasting ""snd: "" and ""cannot store pcm record switch 
settings\n"" does not give a valid preprocessing token
pcm.c:371:17: warning: pasting ""snd: "" and ""snd: cannot restore pcm settings - no 
enough memory\n"" does not give a valid preprocessing token
pcm.c:393:17: warning: pasting "(" and ""cannot restore pcm playback switch 
settings\n"" does not give a valid preprocessing token
pcm.c:393:17: warning: pasting ""snd: "" and ""cannot restore pcm playback switch 
settings\n"" does not give a valid preprocessing token
pcm.c:400:17: warning: pasting "(" and ""cannot restore pcm record switch settings\n"" 
does not give a valid preprocessing token
pcm.c:400:17: warning: pasting ""snd: "" and ""cannot restore pcm record switch 
settings\n"" does not give a valid preprocessing token
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ midi.c | 
/sbin/genksyms -k 2.4.2 -p smp_ > ../include/modules/midi.ver
midi.c:130:17: warning: pasting ""snd: "" and ""snd_midi_receive: rx ignore data 0x%x 
(and command)\n"" does not give a valid preprocessing token
midi.c:223:17: warning: pasting "(" and ""snd_midi_receive: input isn't active!!\n"" 
does not give a valid preprocessing token
midi.c:223:17: warning: pasting ""snd: "" and ""snd_midi_receive: input isn't 
active!!\n"" does not give a valid preprocessing token
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ timer.c | 
/sbin/genksyms -k 2.4.2 -p smp_ > ../include/modules/timer.ver
timer.c:628:17: warning: pasting "(" and ""timer 0x%lx is busy?\n"" does not give a 
valid preprocessing token
timer.c:628:17: warning: pasting ""snd: "" and ""timer 0x%lx is busy?\n"" does not 
give a valid preprocessing token
timer.c:1183:17: warning: pasting ""snd: "" and ""unable to register system timer 
(%i)\n"" does not give a valid preprocessing token
timer.c:1186:17: warning: pasting ""snd: "" and ""unable to register timer device 
(%i)\n"" does not give a valid preprocessing token
gcc -DALSA_BUILD -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ hwdep.c | 
/sbin/genksyms -k 2.4.2 -p smp_ > ../include/modules/hwdep.ver
updating ../include/sndversions.h
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c persist.c
ld -r -o ../modules/persist.o persist.o
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c sound.c
sound.c:272:17: warning: pasting "(" and ""snd_ioctl_in: bad address 0x%lx\n"" does 
not give a valid preprocessing token
sound.c:272:17: warning: pasting ""snd: "" and ""snd_ioctl_in: bad address 0x%lx\n"" 
does not give a valid preprocessing token
sound.c:526:17: warning: pasting ""snd: "" and ""unable to register native major 
device number %d\n"" does not give a valid preprocessing token
sound.c:596:17: warning: pasting ""snd: "" and ""unable to unregister major device 
number %d\n"" does not give a valid preprocessing token
sound.c:250: warning: initialization from incompatible pointer type
sound.c:251: warning: initialization from incompatible pointer type
sound.c:252: warning: initialization from incompatible pointer type
sound.c:254: warning: initialization from incompatible pointer type
sound.c:255: warning: initialization from incompatible pointer type
sound.c:256: warning: initialization from incompatible pointer type
sound.c:257: warning: initialization from incompatible pointer type
sound.c:259: warning: initialization from incompatible pointer type
sound.c: In function `snd_persist_init':
sound.c:444: warning: implicit declaration of function `get_module_symbol'
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -c -o init.o init.c
init.c:93:17: warning: pasting "(" and ""unable to register control minors\n"" does 
not give a valid preprocessing token
init.c:93:17: warning: pasting ""snd: "" and ""unable to register control minors\n"" 
does not give a valid preprocessing token
init.c:97:17: warning: pasting "(" and ""unable to register card info\n"" does not 
give a valid preprocessing token
init.c:97:17: warning: pasting ""snd: "" and ""unable to register card info\n"" does 
not give a valid preprocessing token
init.c:113:17: warning: pasting "(" and ""unable to unregister card info\n"" does not 
give a valid preprocessing token
init.c:113:17: warning: pasting ""snd: "" and ""unable to unregister card info\n"" 
does not give a valid preprocessing token
init.c:117:17: warning: pasting "(" and ""unable to unregister control minors\n"" does 
not give a valid preprocessing token
init.c:117:17: warning: pasting ""snd: "" and ""unable to unregister control 
minors\n"" does not give a valid preprocessing token
init.c:443:25: warning: pasting ""snd: "" and ""unable to grab DMA %i for %s\n"" does 
not give a valid preprocessing token
init.c:552:17: warning: pasting ""snd: "" and ""unable to grab IRQ %i for %s\n"" does 
not give a valid preprocessing token
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -c -o isadma.o isadma.c
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -c -o memory.o memory.c
memory.c:80:17: warning: pasting ""snd: "" and ""snd_memory_done - snd_alloc_pages = 
%li\n"" does not give a valid preprocessing token
memory.c:82:17: warning: pasting ""snd: "" and ""snd_memory_done - snd_alloc_kmalloc = 
%li\n"" does not give a valid preprocessing token
memory.c:84:17: warning: pasting ""snd: "" and ""snd_memory_done - snd_alloc_vmalloc = 
%li\n"" does not give a valid preprocessing token
memory.c:288:33: warning: pasting ""snd: "" and ""snd_dma_free1: INTERNAL ERROR\n"" 
does not give a valid preprocessing token
memory.c: In function `snd_malloc_pages_Rsmp_838db77d':
memory.c:45: warning: implicit declaration of function `MAP_NR'
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 
-DCPU=686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -c -o info.o info.c
info.c:431:41: warning: pasting ""snd: "" and ""data write error to 
/proc/asound/%s%s%s (%i)\n"" does not give a valid preprocessing token
info.c:710:17: warning: pasting "(" and ""Oops.. Info device entries still 
allocated!!!\n"" does not give a valid preprocessing token
info.c:710:17: warning: pasting ""snd: "" and ""Oops.. Info device entries still 
allocated!!!\n"" does not give a valid preprocessing token
info.c:713:17: warning: pasting "(" and ""Oops.. Info entries still allocated!!!\n"" 
does not give a valid preprocessing token
info.c:713:17: warning: pasting ""snd: "" and ""Oops.. Info entries still 
allocated!!!\n"" does not give a valid preprocessing token
info.c:525: warning: initialization from incompatible pointer type
info.c:526: warning: initialization from incompatible pointer type
info.c:527: warning: initialization from incompatible pointer type
info.c:529: warning: initialization from incompatible pointer type
info.c:530: warning: initialization from incompatible pointer type
info.c:531: warning: initialization from incompatible pointer type
info.c:532: warning: initialization from incompatible pointer type
info.c:534: warning: initialization from incompatible pointer type
info.c:544: warning: initialization from incompatible pointer type
info.c:561: warning: excess elements in struct initializer
info.c:561: warning: (near initialization for 
`snd_info_entry_inode_operations')info.c:566: warning: initialization from 
incompatible pointer type
info.c:583: warning: excess elements in struct initializer
info.c:583: warning: (near initialization for `snd_info_device_inode_operations')
info.c: In function `snd_info_card_followlink':
info.c:622: warning: implicit declaration of function `lookup_dentry'
info.c:622: warning: return makes pointer from integer without a cast
info.c: At top level:
info.c:641: warning: initialization from incompatible pointer type
info.c:651: warning: initialization from incompatible pointer type
info.c:652: warning: initialization from incompatible pointer type
info.c:658: warning: excess elements in struct initializer
info.c:658: warning: (near initialization for `snd_info_card_link_inode_operations')
info.c: In function `snd_info_init':
info.c:671: structure has no member named `fill_inode'
info.c:677: structure has no member named `fill_inode'
info.c:683: structure has no member named `fill_inode'
info.c: In function `snd_info_done':
info.c:718: warning: implicit declaration of function `proc_unregister'
info.c: In function `snd_info_card_register':
info.c:743: structure has no member named `fill_inode'
info.c:752: structure has no member named `fill_inode'
info.c:753: structure has no member named `ops'
info.c: In function `snd_info_create_device_Rsmp_1519da42':
info.c:910: structure has no member named `fill_inode'
info.c:912: structure has no member named `ops'
info.c: In function `snd_info_register_Rsmp_c154f945':
info.c:1014: structure has no member named `fill_inode'
info.c:1015: structure has no member named `ops'
make[1]: *** [info.o] Error 1
make[1]: Leaving directory `/usr/src/alsa-driver-0.4.0/kernel'
make: *** [compile] Error 1

Reply via email to