All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Bomers <Florian.Bomers@sun.com>
To: alsa-devel@lists.sourceforge.net
Subject: alsalib symbol problem
Date: Mon, 16 Sep 2002 15:22:51 -0700	[thread overview]
Message-ID: <3D8659BB.AD439110@sun.com> (raw)

Hi,

my code lists all available cards/devices/subdevices. As a stand-alone program,
it works fine and it links dynamically to libasound.so . However, when I use the
same code in my library, I get the following at run time (the "Opening..." and
"ERROR..." lines are generated by my code):

Opening alsa device "hw:0"...
ALSA lib dlmisc.c:100:(snd_dlsym_verify) unable to verify version for symbol
snd_config_hook_load
ALSA lib conf.c:2655:(snd_config_hooks_call) symbol snd_config_hook_load is not
defined inside (null)
ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing configuration
ERROR: snd_ctl_open, card=0: No such device or address
Opening alsa device "hw:1"...
ALSA lib dlmisc.c:100:(snd_dlsym_verify) unable to verify version for symbol
snd_config_hook_load
ALSA lib conf.c:2655:(snd_config_hooks_call) symbol snd_config_hook_load is not
defined inside (null)
ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing configuration
ERROR: snd_ctl_open, card=1: No such device or address

Why does this happen ? I searched the mailing list archive and only found an
explanation that symbols don't match and I need to recompile the ALSA lib. In my
case it's a clean install of ALSA on a newly installed red hat system. There was
never any other version of ALSA. 

Thanks for any help,
Florian

Configuration:
 Pentium II
 Red Hat 7.3
 ALSA 0.9rc3 drivers and libs
 kernel 2.4.18-10 (updated sources and kernel from red hat's web site)

/proc/asound/cards:
0 [SB128PCI (etc) ]: ES1371 - Ensoniq AudioPCI
                     Ensoniq AudioPCI ES1371 at 0x1440, irq 10
1 [ESS ISA        ]: ES1868 - ESS AudioDrive ES1868
                     ESS AudioDrive ES1868 at 0x220, irq 5, dma1 1, dma2 3

/proc/asound/version:
Advanced Linux Sound Architecture Driver Version 0.9.0rc3.
Compiled on Sep 16 2002 for kernel 2.4.18-10 with versioned symbols.

--
Florian Bomers
Java Sound
Java Software/Sun Microsystems, Inc.
http://java.sun.com/products/java-media/sound/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

             reply	other threads:[~2002-09-16 22:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 22:22 Florian Bomers [this message]
2002-09-17  8:52 ` alsalib symbol problem Tim Goetze
2002-09-17 13:35   ` Juergen Kreileder
2002-09-17 13:57     ` Paul Davis
2002-09-17 15:32     ` Jaroslav Kysela
     [not found] <E17rIos-00055r-00@zaphod.blackdown.de>
2002-09-17 14:11 ` Juergen Kreileder
2002-09-17 14:22   ` Paul Davis
     [not found] <E17rJDb-0005DN-00@zaphod.blackdown.de>
2002-09-17 14:46 ` Juergen Kreileder
2002-09-17 14:59   ` Paul Davis
     [not found] <E17rJn3-0005Ec-00@zaphod.blackdown.de>
2002-09-17 15:10 ` Juergen Kreileder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D8659BB.AD439110@sun.com \
    --to=florian.bomers@sun.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.