This is the old SliTaz forum - Please use the main forum.slitaz.org

How to export symbols?
  • slicelslicel May 2010
    (A). I have instructions to add these to /usr/src/linux/sound/pci/hda/hda_codec.c-
    EXPORT_SYMBOL(snd_hda_codec_read); 
    EXPORT_SYMBOL(snd_hda_codec_write);

    (B). However, the file already contains something similar like this-
    EXPORT_SYMBOL_HDA(snd_hda_codec_read); 

    EXPORT_SYMBOL_HDA(snd_hda_codec_write);


    The make command ends in errors that could be a conflict between the two sets of read/write commands-
     CC [M]  sound/pci/hda/hda_codec.o
    sound/pci/hda/hda_codec.c:191: error: redefinition of ‘__kstrtab_snd_hda_codec_read’
    sound/pci/hda/hda_codec.c:34: note: previous definition of ‘__kstrtab_snd_hda_codec_read’ was here
    sound/pci/hda/hda_codec.c:191: error: redefinition of ‘__ksymtab_snd_hda_codec_read’
    sound/pci/hda/hda_codec.c:34: note: previous definition of ‘__ksymtab_snd_hda_codec_read’ was here
    sound/pci/hda/hda_codec.c:220: error: redefinition of ‘__kstrtab_snd_hda_codec_write’
    sound/pci/hda/hda_codec.c:35: note: previous definition of ‘__kstrtab_snd_hda_codec_write’ was here
    sound/pci/hda/hda_codec.c:220: error: redefinition of ‘__ksymtab_snd_hda_codec_write’
    sound/pci/hda/hda_codec.c:35: note: previous definition of ‘__ksymtab_snd_hda_codec_write’ was here
    make[3]: *** [sound/pci/hda/hda_codec.o] Error 1
    make[2]: *** [sound/pci/hda] Error 2
    make[1]: *** [sound/pci] Error 2
    make: *** [sound] Error 2


    Are (A) and (B) mutually exclusive?

    Does (B) already do what (A) is supposed to do?

    Thank you.
  • slicelslicel May 2010
    I do not see the answer in this manual page-

    http://doc.slitaz.org/en:handbook:multimedia

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social