Richard Andrews
Richard Andrews

Reputation: 11

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

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.

Upvotes: 1

Views: 104

Answers (0)

Related Questions