At 23:52 1/10/2010, Doug wrote: >At 15:33 1/7/2010, Tzafrir Cohen wrote: > >On Thu, Jan 07, 2010 at 12:50:03AM -0600, Doug wrote: > >> At 00:22 1/7/2010, Tzafrir Cohen wrote: > >> >On Wed, Jan 06, 2010 at 11:41:54PM -0600, Doug wrote: > >> >> At 16:49 1/5/2010, Tzafrir Cohen wrote: > >> >> >On Tue, Jan 05, 2010 at 04:24:37PM -0600, Doug wrote: > >> >> >> Hi, > >> >> >> > >> >> >> Having problems with getting either RxFax or FaxReceive > >> >> >> to compile. Running Asterisk 1.4 on CentOS 5. > >> >> > > >> >> >What version of SpanDSP do you use? > >> >> > >> >> spandsp-0.0.6pre12.tgz > >> >> > >> >> and: > >> >> > >> >> libtiff-3.8.2-7.el5_3.4 > >> >> libtiff-devel-3.8.2-7.el5_3.4 > >> >> > >> >> Which do you recommend? > >> > > >> >What errors do you get? I'm using a backport of app_fax.c and it works > >> >well. > >> > >> Do you have the link for the "C" source? > > > >app_fax.c from: > > > >https://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons/trun > >k/app-spandsp/ > > > >Just remove the '#include "../addon_version.h" line, and the single > >include used from it (AGX_AST_ADDON_VERSION). > >Could you please elaborate on the above? If I comment out: > > /* Commented out > #include "../addon_version.h" > */ > >Are you saying that I need to comment out this? > > /* > ast_log(LOG_NOTICE, "app_fax %s using spandsp >%s\n", AGX_AST_ADDON_VERSION, SPANDSP_RELEASE_DATETIME_STRING ); > */ > > >When I compile, I get a bunch of errors: > > > ># make > >Scanning dependencies of target app_fax >[ 50%] Building C object CMakeFiles/app_fax.dir/app_fax.o >/usr/src/asterisk/app_fax/app_fax.c: In function âphase_e_handlerâ: >/usr/src/asterisk/app_fax/app_fax.c:202: error: missing terminating " character >/usr/src/asterisk/app_fax/app_fax.c:203: error: >expected expression before â%â token >/usr/src/asterisk/app_fax/app_fax.c:203: error: stray â\â in program >/usr/src/asterisk/app_fax/app_fax.c:203: error: stray â\â in program >/usr/src/asterisk/app_fax/app_fax.c:203: error: stray â\â in program >/usr/src/asterisk/app_fax/app_fax.c:203: error: stray â\â in program >/usr/src/asterisk/app_fax/app_fax.c:203: error: stray â\â in program >/usr/src/asterisk/app_fax/app_fax.c:203: error: missing terminating " character >/usr/src/asterisk/app_fax/app_fax.c:688:1: error: >unterminated argument list invoking macro "fax_log" >/usr/src/asterisk/app_fax/app_fax.c: In function âphase_d_handlerâ: >/usr/src/asterisk/app_fax/app_fax.c:240: error: >âfax_logâ undeclared (first use in this function) >/usr/src/asterisk/app_fax/app_fax.c:240: error: >(Each undeclared identifier is reported only once >/usr/src/asterisk/app_fax/app_fax.c:240: error: >for each function it appears in.) >/usr/src/asterisk/app_fax/app_fax.c:240: error: expected â;â at end of input >/usr/src/asterisk/app_fax/app_fax.c:240: error: >expected declaration or statement at end of input >/usr/src/asterisk/app_fax/app_fax.c:240: error: >expected declaration or statement at end of input >make[2]: *** [CMakeFiles/app_fax.dir/app_fax.o] Error 1 >make[1]: *** [CMakeFiles/app_fax.dir/all] Error 2 >make: *** [all] Error 2 > > >Any ideas?
Well, you might consider using nano with the -w option so when you copy and paste into nano, your source code won't wordwrap. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users