[Asterisk-bsd] chan_capi.so not loading on Asterisk 1.4.8
Hans Petter Selasky
hselasky at c2i.net
Wed Jul 25 03:49:47 CDT 2007
Hi,
I've just updated chan_capi for Asterisk 1.4.8 . All version numbers were
converted to hex.
Do a "svn update" and possibly followed by an "svn revert -R .".
--HPS
On Tuesday 24 July 2007, Michael Iedema wrote:
> Frank,
>
> > can't load the module and gives the following error:
> >
> > [Jul 24 20:46:49] WARNING[2518]: loader.c:413 load_dynamic_module: Error
> > loading module 'chan_capi.so':
> > /usr/local/lib/asterisk/modules/chan_capi.so: Undefined
> > symbol "__dont_use_localtime_r_use_ast_localtime_instead__"
> > [Jul 24 20:46:49] WARNING[2518]: loader.c:637 load_resource: Module
> > 'chan_capi.so' could not be loaded.
>
> You need to find this line:
>
> if (localtime_r(&t, &tm)) {
>
> ...and replace it with this one
>
> if (ast_localtime(&t, &tm, NULL)) {
>
>
> That did it for me, hope that helps,
> -Michael I.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
More information about the Asterisk-BSD
mailing list