Runtime symbol resolution error

Launching a program produces an error message from the Taligent Runtime System similar to:

    FindFunctionAddress: cache unused for "ViewSample",
        symbol "TGI__16TSampleScrapItemFRCP11TMemoryHeap9EHeapTypePCv".
    FindFunctionAddress: could not find TGI__16TSampleScrapItemFRCP11TMemoryHeap9EHeapTypePCv
    TSampleScrapItemThread (8, 16082)
        "ViewSample" didn't catch an exception, terminate called.
Under certain conditions, it is possible to resolve all symbols at link time, but fail to resolve a symbol at run time. For example, an object must be exported from a shared library in order for the runtime to locate it. If an object is defined in a main routine, the runtime cannot find it even though the program compiled and linked.

This problem could have been difficult to track down, but the runtime error message is definitive; by recognizing the error message, you can diagnose such problems quickly.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker