[Asterisk-Users] How to compile and install just one module?
Alexander Lopez
alex.lopez at opsys.com
Tue Jan 17 16:21:21 MST 2006
Try 'make' from the top directory of your Asterisk source tree.
Unless you have previously typed 'make clean'
typing 'make' should only rebuild the files that have changed.
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Pisac
> Sent: Tuesday, January 17, 2006 6:11 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] How to compile and install just
> one module?
>
> make what?
>
> If I type make in /asterisksource/channels, then all modules
> will be compiled, but I tried and I'm getting errors also.
> If I type make chan_zap.o, or chan_zap.c, I'm also getting errors.
>
> I even tried gcc -B ../ -o /usr/lib/asterisk/modules/chan_zap2.so
> chan_zap.c
>
>
> ----- Original Message -----
> From: "Kevin P. Fleming" <kpfleming at digium.com>
>
> > Pisac wrote:
> > > One question, if I change chan_zap.c, what should I type
> to compile
> and
> > > install only that module, and not whole asterisk again.
> > >
> > > I tried
> > > gcc chan_zap.c -o /usr/lib/asterisk/modules/chan_zap2.so
> > > but I'm getting error during compiling.
> >
> > What is wrong with typing 'make'?
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list