If I understand, I cd to asterisk source folder and run make - it take card of rest?

Also, when/why should you use astxs?

Bart

Russell Bryant wrote:
----- Bart Fisher <[EMAIL PROTECTED]> wrote:
I need to make a small change (addition) to chan_zap.c. I read
somewhere you can recompile individual module source without the need to recompile the entire asterisk sources each time at change is made. Can someone tell this 'C' noob how to do this?

If you're working in the same Asterisk source tree that you compiled and installed on the 
machine, then when you run "make" again, only the files you have modified will 
be recompiled.  That is just a feature of the build system.

There is also a utility called "astxs" in the contrib/scripts/ directory of the 
source tree that allows you to directly compile a single module.

$ cd /usr/src/asterisk
$ contrib/scripts/astxs channels/chan_zap.c




_______________________________________________
--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

Reply via email to