Other Parts Discussed in Thread: C2000WARE, UNIFLASH, SYSCONFIG, SFRA
Hello all,
How is it that the IDE resolves the symbol of extern pointer name for a struct handle and editor mouse hover ctrl+click traverses to the define in another H file but the linker can't find the symbol by the referenced include in the calling C file?
I have tried moving function caller folder up and down file tree reference to the extern symbol below, rebuilding index every time. Odder yet adding include path to C file does link the defined symbol from the #include file name.
Adding the file path to the library tab produces an cannot open file error. So TI link to #10234-D suggestion to add path to library tab est.h is not *.lib file. These newer MCSDK projects do not link the symbol being named in another C file calling functions in est.h from extern top of est.h or added include. Moving the extern to other locations produces the same compile error messages. Setting the linker local project and setting index to search open files in CCS editor do not resolve the symbol linking failure. Past versions of <7.0 CCS if the symbol name resolved in the editor the linker had no problems finding the symbol.
How to fix below error message oddly does not occur in SDK v4.0 very same C file commands.c ?
Example: EST_setFlag_enableRsOnLine(estHandle, false);
//! \brief Defines the estimator (EST) handle
//!
typedef struct _EST_Obj_ *EST_Handle;
extern EST_Handle estHandle;
Type Description Resource Path Location
C/C++ Problem unresolved symbol estHandle, first referenced in ./src_control/fexton/commands.obj is15_uvmcsdk_f28004x
C/C++ Problem <a href="file:/C:/ti/ccs1220/ccs/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain is15_uvmcsdk_f28004x
C/C++ Problem #10010 errors encountered during linking; "is15_uvmcsdk_f28004x.out" not built is15_uvmcsdk_f28004x
C/C++ Problem gmake[1]: *** [is15_uvmcsdk_f28004x.out] Error 1 is15_uvmcsdk_f28004x
C/C++ Problem gmake: *** [all] Error 2 is15_uvmcsdk_f28004x