[Asterisk-Dev] __use_ast_pthread_create_instead__

Ben Kramer ben at voicetronix.com.au
Wed Aug 11 18:37:47 MST 2004


On Thu, 2004-08-12 at 11:02, Jolan Luff wrote:
> On Thu, Aug 12, 2004 at 10:56:38AM +0930, Ben Kramer wrote:
> > I have just fixed a bunch of bugs in the Voicetronix channel driver, so
> > I though I would grab the latest from CVS and confirm that all is
> > working fine (my source was about 1 week old). I copied my new
> > chan_vpb.c over the one in the latest CVS release.
> > I am getting the error:
> > chan_vpb.c:970: `__use_ast_pthread_create_instead__' undeclared (first
> > use this function)
> > where I am using pthread_create, so I changed it to use
> > ast_pthread_create and I get this error:
> > chan_vpb.c:970: `ast_pthread_create' undeclared (first use this
> > function)
> > 
> > So I reverted back to the chan_vpb.c in CVS, and still the same issues.
> > I have tried using the <asterisk/*> includes from both chan_local.c and
> > chan_zap.c, but am still having the same issues!
> > Can someone point me in the right direction!
> 
> Change "pthread_create" to "ast_pthread_create".  pthread_create is
> wrapped aronud ast_pthread_create now in order to allow setting the
> stack size, as the *BSDs have a much smaller default stack size than
> Linux does.

I have changed it to ast_pthread_create, and that is not defined ! From
my email above:

> chan_vpb.c:970: `ast_pthread_create' undeclared (first use this
> > function)

:(

Ben.

> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
Ben Kramer <ben at voicetronix.com.au>




More information about the asterisk-dev mailing list