Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 11 months ago.
[Solved] Problems compiling mbed from source: errors in callchain.cpp?
I cannot get a build using the online compiler targetting a K64F board using the latest officlal mbed sources. I get the same results trying to build for an LPC1768 too What is going on?
Error: "_size" is not a nonstatic data member or base class of class "mbed::CallChain" in "mbed-src/common/CallChain.cpp", Line: 6, Col: 45 Error: "_elements" is not a nonstatic data member or base class of class "mbed::CallChain" in "mbed-src/common/CallChain.cpp", Line: 6, Col: 58 Error: A value of type "mbed::pFunctionPointer_t *" cannot be assigned to an entity of type "mbed::CallChainLink *" in "mbed-src/common/CallChain.cpp", Line: 7, Col: 13 Warning: Delete of pointer to incomplete class in "mbed-src/common/CallChain.cpp", Line: 12, Col: 13 Error: No instance of overloaded function "mbed::CallChain::add" matches the specified type in "mbed-src/common/CallChain.cpp", Line: 15, Col: 32 Error: Expected a type specifier in "mbed-src/common/CallChain.cpp", Line: 16, Col: 28 Error: Identifier "common_add" is undefined in "mbed-src/common/CallChain.cpp", Line: 16, Col: 13 Error: No instance of overloaded function "mbed::CallChain::add_front" matches the specified type in "mbed-src/common/CallChain.cpp", Line: 19, Col: 32 ... <elided> ... Info: Unable to download. Fix the reported errors...
Try mbed-dev for mbed 2. It supersedes mbed-src and works OK both online and offline. Or mbed-os for mbed 5.
posted by Zoltan Hudak 10 Jun 2017Thank you Zoltan! That is indeed the fix
posted by G 40 10 Jun 2017