Re: [asterisk-dev] module embedding help ?

2007-11-06 Thread Russell Bryant
Luigi Rizzo wrote: > ok it works on linux but not on FreeBSD. Need to check why - any > documentation or suggestion on what mechanism is used to make dlopen() > work on the embedded modules too ? Well, one thing worth noting is that embedded modules have a dependency on the GNU linker. On my mac,

Re: [asterisk-dev] module embedding help ?

2007-11-06 Thread Kevin P. Fleming
Luigi Rizzo wrote: > ok it works on linux but not on FreeBSD. Need to check why - any > documentation or suggestion on what mechanism is used to make dlopen() > work on the embedded modules too ? dlopen() is never called for the embedded modules; when the modules are embedded, their file-level co

Re: [asterisk-dev] module embedding help ?

2007-11-06 Thread Luigi Rizzo
On Tue, Nov 06, 2007 at 04:08:33PM +0100, Michael Iedema wrote: > On 11/6/07, Luigi Rizzo <[EMAIL PROTECTED]> wrote: > > > > ok it works on linux but not on FreeBSD. Need to check why - any > > documentation or suggestion on what mechanism is used to make dlopen() > > work on the embedded modules t

Re: [asterisk-dev] module embedding help ?

2007-11-06 Thread Michael Iedema
On 11/6/07, Luigi Rizzo <[EMAIL PROTECTED]> wrote: > > ok it works on linux but not on FreeBSD. Need to check why - any > documentation or suggestion on what mechanism is used to make dlopen() > work on the embedded modules too ? FYI, this is also broken in 1.4 on FreeBSD. Let me know if I can hel

Re: [asterisk-dev] module embedding help ?

2007-11-06 Thread Luigi Rizzo
On Tue, Nov 06, 2007 at 05:42:33AM -0800, Luigi Rizzo wrote: > On Tue, Nov 06, 2007 at 06:37:18AM -0600, Kevin P. Fleming wrote: > > Luigi Rizzo wrote: > > > > > Is there any trick i should use here ? > > > > Unless the loader or other bits have been broken recently, there is > > nothing special