[asterisk-users] Re-compiling q931.c

bruce bruce bruceb444 at gmail.com
Sun May 16 08:18:13 CDT 2010


Thanks for the input.

I need a bit more clarification.

I just changed the condition for an "if" in the q931.c from Equal to Not
Equal. In order to get that reflected do I have to do "gcc q931.c" to
recompile it so Asterisk can read it? or does asterisk read the .c file?

Thanks again,
Bruce

On Sat, May 15, 2010 at 4:56 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

> On Sat, May 15, 2010 at 04:32:19PM -0400, bruce bruce wrote:
> > Hi Guys,
> >
> > Can q931.c be re-compiled using gcc or something else without the need to
> > re-do the whole libpri? Some changes were made to q931.c and I want those
> to
> > be reflected in .a .o .so .lo files as I think those are the files read
> by
> > Asterisk vs the .c file.
>
> Given that libpri is such a small library, I wouldn't bother. If the
> change did not break the binary ABI (e.g.: changed the size of a struct
> that is exposed through some interface, added/removed variables to some
> function) there should be no issue here.
>
> If you want to test things, try just building libpri (and not installing
> it) and start asterisk with:
>
>  LD_LIBRARY_PATH=/path/to/libpri/source asterisk
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100516/416e5534/attachment.htm 


More information about the asterisk-users mailing list