Skip to contentSkip to conversation

How to compile alsa-lib without libdl?

DISCUSSION Roy Huang 2 participants 3 messages Nov 17, 2005

lore
Share & tools
lore

Roy Huang

author
#0 lore raw

Hi,

I am trying to compile alsa-lib to run on uClinux. The library is uClibc and is complied as static too. So uClibc doesn't provide dl functions like dlopen, dlclose. But alsa-lib need this function, does anyone has the same experience about this? thanks ahead.

- Roy

#1 lore raw

At Thu, 17 Nov 2005 17:00:43 +0800,

Quoted 7 lines · Roy Huang

Hi,

I am trying to compile alsa-lib to run on uClinux. The library is uClibc and is complied as static too. So uClibc doesn't provide dl functions like dlopen, dlclose. But alsa-lib need this function, does anyone has the same experience about this? thanks ahead.

Basically, you can build alsa-lib as a static library, too. But it's not a wise choise, so far, because the whole plugins are linked statically to an exec. Certainly there are many rooms to improve.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click

author
#2 lore raw

Thanks for your response.

I compile alsa-lib as static, but this seems cannot remove the dependency on dl library. It still needs dlopen and dlclose.

-Roy

Quoted 10 lines · Takashi Iwai

At Thu, 17 Nov 2005 17:00:43 +0800,

Quoted 7 lines · Roy Huang

Hi,

I am trying to compile alsa-lib to run on uClinux. The library is uClibc and is complied as static too. So uClibc doesn't provide dl functions like dlopen, dlclose. But alsa-lib need this function, does anyone has the same experience about this? thanks ahead.

Quoted 8 lines

Basically, you can build alsa-lib as a static library, too. But it's not a wise choise, so far, because the whole plugins are linked statically to an exec. Certainly there are many rooms to improve.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click