Tux:/usr/share/doc/HOWTO/en-txt#vi Alsa-sound
document, and read the <www.alsa-project.org> stuff and when I follow their advice
the modules compile but the process keeps breaking down at a certain point.
The good news is that I think I understand more about what is going on and the
breakdown is further along the track - I realised [depmod -ae] the "unresolved symbols" all had to do with pcmcia so I apt-installed that .deb and that problem ceased.
'dmesg' tells me I have the es1371 card and 'alsa-project.org' tells me I need the
snd-ens13711 module.
I apt-installed kernel-image-2.4.25-1-686 and alsa-modules-2.4.25-1-686 (& kernel-headers).
Tux:~# modinfo soundcore filename: /lib/modules/2.4.25-1-686/kernel/drivers/sound/soundcore.o description: "Core sound module" author: "Alan Cox" license: "GPL"
... so I don't need to recompile the kernel.
I bunzipped2 & untarred alsa-modules and then
Tux:/usr/src/modules/alsa-driver# ./configure --with-cards=ens1371 --with-sequencer=yes;make;make install
which went through a long checking routine without error but then ...
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
make[1]: Entering directory `/usr/src/modules/alsa-driver/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include -I/lib/modul es/2.4.25-1-686/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLIN UX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict -aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DEXPO RT_SYMTAB -c memalloc.c
memalloc.c: In function `compare_device':
memalloc.c:163: error: `SNDRV_DMA_TYPE_ISA' undeclared (first use in this functi on)
memalloc.c:163: error: (Each undeclared identifier is reported only once
memalloc.c:163: error: for each function it appears in.)
memalloc.c:165: error: request for member `flags' in something not a structure o r union
and more of the same.
When I try
Tux:/usr/src/modules/alsa-driver# fakeroot debian/rules binary_modules KSRC=/usr/src/kernel-headers-2.4.25-1-686/ KVERS=2.4.25-1-686
/usr/bin/make compile
make[1]: Entering directory `/usr/src/modules/alsa-driver'
make[2]: Entering directory `/usr/src/modules/alsa-driver/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include -I/lib/modules/2.4.25-1-686/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DEXPORT_SYMTAB -c memalloc.c
memalloc.c: In function `compare_device':
memalloc.c:163: error: `SNDRV_DMA_TYPE_ISA' undeclared (first use in this function)
memalloc.c:163: error: (Each undeclared identifier is reported only once
memalloc.c:163: error: for each function it appears in.)
memalloc.c:165: error: request for member `flags' in something not a structure or union
memalloc.c:165: error: request for member `flags' in something not a structure or union
memalloc.c:167: error: `SNDRV_DMA_TYPE_PCI' undeclared (first use in this function)
memalloc.c:168: error: `SNDRV_DMA_TYPE_PCI_SG' undeclared (first use in this function)
Trying to do this the easy way, I tried alsaconf, but it did not recognise my soundcard.
What is 'SNDRV_DMA_TYPE_***' and how do I fix this ?
It's after midnight ... zzzzzz
Adam Bogacki, [EMAIL PROTECTED]
P.S.
Tux:~# insmod snd-ens1371 insmod: snd-ens1371: no module by that name found
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi ya,
Unresolved symbols mean the modules were not built for the kernel you
are running (even if its the same 2.4.25 kernel maybe it was compiled
differently)
So you need to build a kernel then build the alsa drivers (be sure to
run ./configure with the new kernel running)
Having said that there are only a couple of modules this applies to.
The clue is at the bottom of your message.
You havn't configured any sound card! Read the install guide or just
try insmod snd-xxxxx where xxxx is your card.
Chris
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
