Re: Compiling support for AGRSM 0x11c11040 - Fedora 9 - kernel 2.6.26.5-45

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
> 
> 
> -- 
> Isamar Maia
> Brazil: 55-71-9146-8575
>             55-71-4062-8688
> 日本: +81-(0)3-4550-1212
> "In a world without walls. Who needs windows and gates?"

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux