Why the executing of the following command stops with errors?
xs xdc.tools.cdoc.sg
root@am:/opt/ti/xdctools_3_32_00_06_core# echo $MOZILLA_FIVE_HOME
/opt/ti/ccsv6/eclipse/xulrunner/run-mozilla.sh
root@am:/opt/ti/xdctools_3_32_00_06_core# echo $LD_LIBRARY_PATH
/opt/ti/ccsv6/eclipse/xulrunner/run-mozilla.sh/plugins:/opt/ti/ccsv6/eclipse/xulrunner/run-mozilla.sh:
root@am:/opt/ti/xdctools_3_32_00_06_core# xs xdc.tools.cdoc.sg
**** warning: package xdc.tools.sg.linux_swt depends on the
Mozilla browser for some functionality. Your environment doesn't
currently point to Mozilla, so some XDC graphical tools may fail.
To prevent this, please set up the following in your environment:
- set the MOZILLA_FIVE_HOME environment variable. Its value
should be the directory that contains the file run-mozilla.sh,
which you can find using the command:
locate run-mozilla.sh
- include $MOZILLA_FIVE_HOME and $MOZILLA_FIVE_HOME/plugins on
the LD_LIBARARY_PATH, for example using bash syntax:
export LD_LIBRARY_PATH="$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$MOZILLA_FIVE_HOME/plugins:$LD_LIBRARY_PATH"
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/libswt-gtk-3346.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.mozilla.javascript.MemberBox.newInstance(MemberBox.java:159)
at org.mozilla.javascript.NativeJavaClass.constructInternal(NativeJavaClass.java:266)
at org.mozilla.javascript.NativeJavaClass.constructSpecific(NativeJavaClass.java:205)
at org.mozilla.javascript.NativeJavaClass.construct(NativeJavaClass.java:166)
at org.mozilla.javascript.NativeJavaClass.call(NativeJavaClass.java:147)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at xdc.services.intern.xsr.Invoke.call(Invoke.java:92)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
at config.Shell.evaluateReader(Shell.java:847)
at config.Shell.processReader(Shell.java:512)
at config.Shell.processFile(Shell.java:571)
at config.Shell.exec(Shell.java:781)
at config.Shell.main(Shell.java:1414)