[Asterisk-Users] How to compile and install just one module?

Moises Silva moises.silva at gmail.com
Tue Jan 17 16:18:49 MST 2006


"make" in the root directory of the sources. It will compile
everything if its the first time you type make. Then you can change
anything in chan_zap.c and type make again, only the new chan_zap will
be compiled

regards

On 1/17/06, Pisac <pisacc at gmail.com> wrote:
> 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
>


--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"



More information about the asterisk-users mailing list