On Thu, Jan 04, 2007 at 11:55:44AM -0500, Noah Miller wrote: > Hi Thiru - > > > Hi i need to done some modify/changes in one of the asterisk c source > > code > >,,eg: app_meetme.c > > How can i compile and debug it without compile the whole module of > >asterisk... > > I would not recommend trying to compile only small pieces of asterisk. > It is broken up into many sections, and many of these sections depend > on other sections, and won't compile correctly when compiled alone. > > Nonetheless, if you do want to try to compile just app_meetme.c, it is > in the "apps" directory of the source code. For example, that may be > here: > > /usr/local/src/asterisk-1.2.14/apps > > You'll probably have to compile asterisk as a whole first,
./configure make mind you, you need to have a recent (1.4) version of Zaptel availble. Otherwise the configure script will consider zaptel not availble and not build meetme. > and then > figure out a gcc statement that links with all the other asterisk > components to compile just app_meetme.c. make Asterisk's build system does not support running make from a subdirectory or for specific targets of subdirectories. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir _______________________________________________ --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