Page 1 of 1

Writing jim_tcl extension to run on openOCD - broken

Posted: Thu Sep 04, 2014 1:50 pm
by pmeyeratdatest
All:

I've written some C code based tcl extensions that I've managed to get running on a stand-alone version of jim_tcl (jimsh). I'd like to run these on openOCD. The error I get is:
Runtime Error:test.tcl:78: error loading extension "libJIMIJTAGDB.so": libJIMIJTAGDB.so: undefined symbol: Jim_NewIntObj

The Jim_NewIntObj call is a part of the standalone jim.h API.

What has been stripped out of of openOCD, and what would be required to build this capability back in?

Thanks!!

Peter