This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

_LogTracker_createHook

I'm trying to build a server generated from 'ti.sdo.ce.wizards.genserver'. The only codec i've included in this server is UNIVERSAL_COPY, which comes in the 'examples' repository in codec engine 2.24.

 

When i try to build the server with 'xdc release', i get the following error

lnk64P copy.x64P ...
>> package/cfg/copy_x64Pcfg.cmd, line 42:   error:
               undefined symbol in expression
>>   error: User-declared symbol, '_LogTracker_createHook', has not been defined
gmake: *** [copy.x64P] Error 1

 

I'm pretty new to codec engine and xdc, where do i go from here?

 

Thanks a lot to anyone that can provide some insight,

 

-Woody

  • This error indicates that a CE-provided library (from the ti.sdo.ce.bioslog package) isn't being found.  And as a result, the linker can't resolve a symbol (LogTracker_createHook()).

    Do you see a line in your wizard-generated server.cfg script that says "var LogServer = useModule('ti.sdo.ce.bioslog.LogServer');"?  That line _should_ cause the library with this missing symbol to be pulled in.

    Also, can you provide:

       * Which platform you're building this for
       * Attach a copy of your wizard-generated .cfg file
       * A full copy of the 'xdc release' run - should include a bunch of 'will link with...' lines

    Chris

  • Woody,

    I can help you with this. First, try "gmake clean" then "gmake", and let me know what happens.

    Joe

  • Hey guys, thanks for your quick response. looked at the list of "will link with" that is produced when i build my server, and noticed that ti.sdo.ce.bioslog wasn't there. So i found the package within codec engine, and ran 'xdc release' there. After this, my server builds fine! thanks for nudging me in the right direction. In the future, how would i know that the LogTracker_createHook symbol is in ti.sdo.ce.bioslog? is there any way of generating a list of what i'm missing so i don't have to bug you guys in the future?

  • What's interesting is that the build shouldn't have gotten past the ''will link with ti.sdo.ce.bioslog:" step. You really shouldn't have to know about LogTracker_createHook. Something else isn't quite right with the build env.

    Joe