Friday, September 27, 2013

 

Optima launch error: "Unable to read workbench state"

Q: I tried launching Optima 2.7 and for some reason it thought my C/C++ source view was stale so it requested a refresh of the C/C++ view. Afterward, I am not able to bring up System Browser or System Profiler, or any other Optima tools due to this error:






A: The metadata needs cleaning up. Find optima_win32/eclipse (or wherever the executable is for your case) and run it from the command line once as "./eclipse -clean" to remove any spoiled caches for eclipse. They may have been disordered after refreshing the source view (sometimes happens if you switch between different versions of eclipse). After Optima comes up, shut it down in orderly fashion and relaunch it (without clean) once more. This should resolve whatever cache or plugin inconsistencies cause Optima to forget where the perspective is. If that doesn't help, find your workspace directory and delete .metadata/.plugins/org.eclipse.ui.workbench/workbench.xml to force Optima to revert to the default perspective on startup.





Labels: , ,


 

Updating LINX within an Element release

Q: I am on element_3.2.3 and want to upgrade the linx version to linx-2.5.1. I copied the linx tarball to the correct place and updated the LINX build version, but am getting this build error now:

make[5]: Entering directory `/element/3party/linx/linux-ppc_85xx/linx-2.5.1'
make[5]: *** No rule to make target `modules'. Stop.
make[5]: Leaving directory `/element/3party/linx/linux-ppc_85xx/linx-2.5.1'
make[4]: *** [/element/ref_platforms/generic_chassis/kernel/2.6.10_mvlcge401_ppc/linx.ko] Error 2

A: You're missing an important change that goes with this LINX upgrade - the top-level Makefile for 3party/linx needs to be updated also, due to some changes in the LINX distribution. 

Another change (which should be transparent to you if you only build linx via ref_platform) is that there is no Makefile delivered with the linx tarball itself.  If you need access to this Makefile for some reason, in 3party/linx/linx-2.5.1 run the "configure" script to generate it. 

The full steps to build with support for the newer-style LINX is:
 
1) update build/versions.mk VERSION_LINX
2) cp linx-2.5.1.tar.gz, updated Makefile and linx-2.5.1-001.patch into 3party/linx
3) rm –rf 3party/linx/linux_x86-64 (or whatever arch) objects
4) ref_platform, make clean here also
 

Labels: ,


This page is powered by Blogger. Isn't yours?

free web hit counter
free invisible web counter