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

Pisac pisacc at gmail.com
Tue Jan 17 16:11:09 MST 2006


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'?




More information about the asterisk-users mailing list