Thanks. That did seem to be the problem. I fixed it (before your post) by deleting the GIT repository and doing another git clone... Should have tried that earlier but thought GIT did thorough error checking and so couldn't see how a file would be corrupted. Anthony Minessale wrote:
looks like a bad merge?
git checkout HEAD ./libs/js/src/jsxml.c
?
On Sun, Aug 28, 2011 at 7:43 PM, D Foulkes <dfoulkes@ihug.co.nz> wrote:
Hi, I am still fairly new to freeswitch...
Having problems with a setup on a Ubuntu 10.10, so I decided to do a rebuild from scratch. Following recommended instructions on the wiki installation guide (using git clone) I get the following error when running the compile:
make && make install ...
libtool: compile: gcc -DOSSP -DXP_UNIX -DEXPORT_JS_API -DJS_HAS_FILE_OBJECT=1 -DJS_HAS_XML_SUPPORT=1 -DJS_THREADSAFE=1 -Insprpub/dist/include/nspr -Insprpub/pr/include -DHAVE_CONFIG_H -Isrc -O2 -DNDEBUG -pipe -c src/jsxml.c -fPIC -DPIC -o src/.libs/jsxml.o src/jsxml.c: In function ‘PutProperty’: src/jsxml.c:4571: error: expected expression before ‘>’ token src/jsxml.c:4571: error: stray ‘\37’ in program src/jsxml.c:4571: error: stray ‘`’ in program src/jsxml.c:4572: error: stray ‘\37’ in program src/jsxml.c:4572: error: stray ‘\37’ in program src/jsxml.c:4572: error: stray ‘\37’ in program src/jsxml.c:4572: error: stray ‘\37’ in program src/jsxml.c:4572: error: stray ‘\37’ in program src/jsxml.c:4573: error: stray ‘\37’ in program src/jsxml.c:4573: error: stray ‘\37’ in program src/jsxml.c:4587: error: ‘JSXML’ has no member named ‘xml’ src/jsxml.c:4587: error: stray ‘`’ in program src/jsxml.c:4587: error: expected ‘;’ before ‘value’ src/jsxml.c:4588: error: expected expression before ‘goto’ src/jsxml.c:4591: error: expected expression before ‘/’ token src/jsxml.c:4592: error: expected statement before ‘)’ token src/jsxml.c:4592: warning: missing terminating ' character src/jsxml.c:4592: error: missing terminating ' character src/jsxml.c:4593: error: ‘JSXMLQName’ has no member named ‘localOame’ src/jsxml.c:4593: error: expected expression before ‘)’ token make[5]: *** [src/jsxml.lo] Error 1 make[4]: *** [/usr/local/src/freeswitch/libs/js/libjs.la] Error 2 make[3]: *** [mod_spidermonkey-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Any help would be appreciated. Thanks,
Daniel
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Error-compling-jsxml-c-tp67360... Sent from the freeswitch-users mailing list archive at Nabble.com.