[Asterisk-Dev] Re: ast_pthread_create use with external lib

Tony Mountifield tony at softins.clara.co.uk
Fri Oct 1 12:09:23 MST 2004


In article <003501c4a7bb$793a3fc0$cc01000a at texnet.org>,
Leandro <leandro at texnet.it> wrote:
> 
> ----- Original Message ----- 
> From: "Richard Lyman" <pchammer at dynx.net>
> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
> Sent: Thursday, September 30, 2004 6:46 PM
> Subject: Re: [Asterisk-Dev] ast_pthread_create use with external lib
> 
> 
> > Leandro wrote:
> >
> > > Hello,
> > > I am trying to use OpenLine cards with Asterisk (I found laying around
> > > two OpenLine4 dated back 2002), but the vpb driver uses the
> > > pthread_create library call instead of ast_pthread_create and so
> > > asterisk, while loading modules, starting with chan_sip.so, exits with
> > > the common "hint" undefined symbol: __use_ast_pthread_create_instead__
> > >
> > > Is there a way to use the vpb driver?
> > >
> > > Leandro
> > >
> > >
> > __use_ ***>>> ast_pthread_create <<<*** _instead__
> >
> > so rename all pthread_create to ast_pthread_create ...
> >
> 
> I tried, but it fails because ast_pthread_create isn't available to
> vpb_driver.
> 
> Any new hint?

It sounds like you might have sticky tags keeping you on an old version.

Try: cvs update -A

ast_pthread_create is defined in <asterisk/utils.h>

The current versions of chan_vpb and chan_sip do correctly use utils.h

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list