21 Nov
2008
21 Nov
'08
3:21 p.m.
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. Mike On Nov 21, 2008, at 9:59 AM, Baskar wrote: > Hi cesar, > > If i have added these line in mod_commands.c > "stream->write_function(stream,"+OK\n");" just after inserting the > DTMF before the "goto done;" > > When i compile by command make it get these error > > Compiling mod_commands.c... > mod_commands.c: In function âunload_functionâ: > mod_commands.c:869: error: incompatible type for argument 3 of > âswitch_loadable_module_unload_moduleâ > mod_commands.c:869: error: too few arguments to function > âswitch_loadable_module_unload_moduleâ > mod_commands.c: In function âreload_functionâ: > mod_commands.c:891: error: incompatible type for argument 3 of > âswitch_loadable_module_unload_moduleâ > mod_commands.c:891: error: too few arguments to function > âswitch_loadable_module_unload_moduleâ > cc1: warnings being treated as errors > mod_commands.c: In function âtone_detect_session_functionâ: > mod_commands.c:1089: warning: passing argument 6 of > âswitch_ivr_tone_detect_sessionâ makes integer from pointer without > a cast > mod_commands.c:1089: error: too few arguments to function > âswitch_ivr_tone_detect_sessionâ > mod_commands.c: In function âuuid_send_dtmf_functionâ: > mod_commands.c:2649: error: âstrâ undeclared (first use in this > function) > mod_commands.c:2649: error: (Each undeclared identifier is reported > only once > mod_commands.c:2649: error: for each function it appears in.) > mod_commands.c:2649: error: expected â)â before string constant > mod_commands.c:2649: error: too few arguments to function âstream- > >write_functionâ > make[5]: *** [mod_commands.o] Error 1 > make[4]: *** [all] Error 1 > make[3]: *** [mod_commands-all] Error 1 > make[2]: *** [all-recursive] Error 1 > Making all in build > +-------- FreeSWITCH Build Complete -----------+ > + FreeSWITCH has been successfully built. + > + Install by running: + > + + > + make install + > +----------------------------------------------+ > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 >