Hi Nikolay, Thanks for your time. If I don't add the EXPORT_SYMBOL, "agrserial.ko" complains with "symbol not found" message referring to snd_hda_codec_read and snd_hda_codec_write I am using alsa stuff for a specific board support since I can't upgrade the kernel version now. There is no relation in this compilation between alsa kernel sources and the alsa-1.0.19 independent tree. BTW, is there any way to import a new alsa kernel driver into the vanilla kernel source tree ? Anyway, checking hda_codec.c of alsa 1.0.19, it's possible to see that, both symbols, snd_hda_codec_read and snd_hda_codec_write are already "exported" using EXPORT_SYMBOL_HDA() Isamar 2009/6/10 Nikolay Zhuravlev <xxor@xxxxxxx>: > Isamar, > > What happens if you skip that part of the instructions > and do not add the EXPORT_SYMBOL? > The error log shows you have two versions of the hda_codec.c file, > each having its own definition of the symbols. > Why do you have the alsa stuff installed separately from the kernel sources, > in the /usr/src/alsa directory? The kernel has its own alsa sources, > and that seems to cause a problem you describe. > > -- > WBR, Nikolay Zhuravlev > > Thus spake Isamar Maia (isamar@xxxxxxxxx): > >> Hi Folks, >> >> Long time since my last post here. Thank you very much for all >> collaboration and great results >> supporting several modems on Linux. >> >> I am trying to compile agrsm support for kernel 2.6.26.5-45.fc9.i686. >> Using Fedora 9. Alsa-driver-1.0.19 >> >> I cannot use different kernel and distro versions since it's a >> customized OEM distro(respin) with several >> dependencies and customizations. >> >> I am not getting to add the "EXPORT_SYMBOL" lines as per described in >> the item 2.2 of >> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html >> >> When I add those lines and try to recompile the alsa kernel driver, I get: >> >> >> In file included from /usr/src/alsa/alsa-driver-1.0.19/pci/hda/hda_codec.c:2: >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:193: >> error: redefinition of '__kstrtab_snd_hda_codec_read' >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:34: >> error: previous definition of '__kstrtab_snd_hda_codec_read' was here >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:193: >> error: redefinition of '__ksymtab_snd_hda_codec_read' >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:34: >> error: previous definition of '__ksymtab_snd_hda_codec_read' was here >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:222: >> error: redefinition of '__kstrtab_snd_hda_codec_write' >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:35: >> error: previous definition of '__kstrtab_snd_hda_codec_write' was here >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:222: >> error: redefinition of '__ksymtab_snd_hda_codec_write' >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_codec.c:35: >> error: previous definition of '__ksymtab_snd_hda_codec_write' was here >> make[4]: *** [/usr/src/alsa/alsa-driver-1.0.19/pci/hda/hda_codec.o] Error 1 >> make[3]: *** [/usr/src/alsa/alsa-driver-1.0.19/pci/hda] Error 2 >> make[2]: *** [/usr/src/alsa/alsa-driver-1.0.19/pci] Error 2 >> make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.19] Error 2 >> make[1]: Leaving directory `/usr/src/kernels/2.6.26.5-45.fc9.i686' >> make: *** [compile] Error 2 >> >> >> Any tip? >> >>