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.

C2k Linker not finding C++ symbol

Compiler/Linker Gurus,

I'm working with a customer trying to help him integrate some C++ code with some C code and we are running into problems.  I've been able to solve most of the issues thus far by playing around with the project, but I've hit a problem that I'm having some real trouble with.

The main file is cpp and somewhere in main it is creating an object of type "Access_Type" and then trying to access a member function.  See below code snipet:

    Access_Type A ( (void*) Dummy_Msg_Buf ); //MessageGen
    result = A.Unit_Test_Pass();             //MessageGen

When we link, the linker complains that it can't find the symbol Access_Type::UnitTest_Pass();, but Unit_Test_Pass() is clearly defined in a header file which is in fact being included by this source file.

Could you give me some pointers on what could be going wrong here?

Thanks,

Trey German

C2000 Apps