<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">those errors are not caused by that change, either you updated only parts of the code (that module maybe) and didn't update the rest of FreeSWITCH or you have a merge conflict or other change in that file.<div><br></div><div>Mike</div><div><br><div><div>On Nov 21, 2008, at 9:59 AM, Baskar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi cesar,<br><br> If i have added these line in mod_commands.c<br><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">"stream->write_function(stream,"+OK\n");" just after inserting the DTMF before the "goto done;"</span><br><br>When i compile by command <b>make</b> it get these error<br><br><b>Compiling mod_commands.c...<br>mod_commands.c: In function âunload_functionâ:<br>mod_commands.c:869: error: incompatible type for argument 3 of âswitch_loadable_module_unload_moduleâ<br> mod_commands.c:869: error: too few arguments to function âswitch_loadable_module_unload_moduleâ<br>mod_commands.c: In function âreload_functionâ:<br>mod_commands.c:891: error: incompatible type for argument 3 of âswitch_loadable_module_unload_moduleâ<br> mod_commands.c:891: error: too few arguments to function âswitch_loadable_module_unload_moduleâ<br>cc1: warnings being treated as errors<br>mod_commands.c: In function âtone_detect_session_functionâ:<br>mod_commands.c:1089: warning: passing argument 6 of âswitch_ivr_tone_detect_sessionâ makes integer from pointer without a cast<br> mod_commands.c:1089: error: too few arguments to function âswitch_ivr_tone_detect_sessionâ<br>mod_commands.c: In function âuuid_send_dtmf_functionâ:<br>mod_commands.c:2649: error: âstrâ undeclared (first use in this function)<br> mod_commands.c:2649: error: (Each undeclared identifier is reported only once<br>mod_commands.c:2649: error: for each function it appears in.)<br>mod_commands.c:2649: error: expected â)â before string constant<br>mod_commands.c:2649: error: too few arguments to function âstream->write_functionâ<br> make[5]: *** [mod_commands.o] Error 1<br>make[4]: *** [all] Error 1<br>make[3]: *** [mod_commands-all] Error 1<br>make[2]: *** [all-recursive] Error 1<br>Making all in build<br> +-------- FreeSWITCH Build Complete -----------+<br> + FreeSWITCH has been successfully built. +<br> + Install by running: +<br> + +<br> + make install +<br> +----------------------------------------------+<br> make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br></b><br></blockquote></div><br></div></body></html>