[Freeswitch-users] Error compling jsxml.c

D Foulkes dfoulkes at ihug.co.nz
Mon Aug 29 04:43:37 MSD 2011


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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list