Build problem with inline definitions in MPLAB (c compiler, MCC foundation function)

43 views Asked by At

Using MPLAB with MCC to build basic c application (xc16 compiler), I'm getting messages like:

build/default/debug/mcc_generated_files/drivers/timeout.o(.text+0x4e): In function _timeout_getTimeRemaining': : undefined reference to _makeAbsolute'

However, the function _makeAbsolute is defined in the same code module as the calling function - in fact a few lines above it.

Any idea what I am missing please?

I was expecting MCC foundation service to just work but there must be something missing - it may be more generic build issue with 'inline' function.

0

There are 0 answers