All of lore.kernel.org
 help / color / mirror / Atom feed
* libasound and libpthread
@ 2002-07-29  8:06 Thomas Roeder
  2002-07-29 12:05 ` Paul Davis
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Roeder @ 2002-07-29  8:06 UTC (permalink / raw)
  To: alsa-devel

Hi all,

I am working with Alsa 0.9.0beta12 version and I am also using posix 
threads (libpthread) in my project. In the release version of the 
program I link both libraries (libpthread, libasound) dynamically and 
everything works well. In the debug version however, I have to do static 
linking of the libpthread for proper debugging.

Here is the problem:

If I try to link libasound dynamically and libpthread statically, the 
program crashes with a segmentation fault before even reaching the first 
line of my code (maybe, because libasound uses multithreading and 
libpthread itself ?).
If I try to link both statically, the program runs at least some line of 
code, until it reaches the sound initialization. Then it crashes again 
with the following messages:

ALSA lib conf.c:2540:(snd_config_hook_load) Unable to find field files 
in the preload section
ALSA lib conf.c:1785:(snd_config_hooks_call) function 
snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:2127:(snd_config_update) hooks failed, removing 
configuration



Any help is appreciated.

Thanks in advance

Thomas



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-07-29 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-29  8:06 libasound and libpthread Thomas Roeder
2002-07-29 12:05 ` Paul Davis
2002-07-29 13:40   ` Abramo Bagnara
2002-07-29 15:15     ` Thomas Roeder
2002-07-29 16:04       ` Paul Davis
2002-07-29 16:00     ` Paul Davis
2002-07-29 17:34       ` Patrick Shirkey

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.